hi guys,
may i ask your advice about this code below? how can you say it has an
interval of 27ms? isn't it that the "32" /110010 means select NMI
function;select interval timer mode;SMCLK as clock source;watchdog clock source
512 hz. default dco=1.2Mhz. this is a sample code i got from TI.com.
WDTCTL = WDT_MDLY_32;
thanks so much guys
claro
---------------------------------
Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see
what's on, when.
msp clock
Started by ●August 1, 2007
Reply by ●August 1, 20072007-08-01
WDT_MDLY_32 is defined in the header files included in the cross
complier/assembler/linker package. Most likely:
#define WDT_MDLY_32 (WDTPW+WDTTMSEL+WDTCNTCL)
/* 32ms interval (default) */
--- In m..., Claro Louie wrote:
>
> hi guys,
>
> may i ask your advice about this code below? how can you say it
has an interval of 27ms? isn't it that the "32" /110010 means select
NMI function;select interval timer mode;SMCLK as clock source;watchdog
clock source 512 hz. default dco=1.2Mhz. this is a sample code i got
from TI.com.
>
> WDTCTL = WDT_MDLY_32;
>
> thanks so much guys
>
> claro
>
>
> ---------------------------------
> Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see
what's on, when.
>
>
>
complier/assembler/linker package. Most likely:
#define WDT_MDLY_32 (WDTPW+WDTTMSEL+WDTCNTCL)
/* 32ms interval (default) */
--- In m..., Claro Louie wrote:
>
> hi guys,
>
> may i ask your advice about this code below? how can you say it
has an interval of 27ms? isn't it that the "32" /110010 means select
NMI function;select interval timer mode;SMCLK as clock source;watchdog
clock source 512 hz. default dco=1.2Mhz. this is a sample code i got
from TI.com.
>
> WDTCTL = WDT_MDLY_32;
>
> thanks so much guys
>
> claro
>
>
> ---------------------------------
> Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see
what's on, when.
>
>
>