Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CCS/MSP430F5438A: Configuring watchdog timer

$
0
0

Part Number:MSP430F5438A

Tool/software: Code Composer Studio

In the defines of the msp4305438a.h, it says

#define WDT_ADLY_1000 (WDTPW+WDTTMSEL+WDTCNTCL+WDTIS2+WDTSSEL0)

I'm looking at this table

If I look at this: (WDTPW+WDTTMSEL+WDTCNTCL+WDTIS2+WDTSSEL0)

If I look at WDTTMSEL, it says in the table 0b is watchdog mode and 1b is interval timer. What mode is WDTTMSEL in without any numbers at the end? Is it just default in watchdog mode and to put it in interval mode it would be WDTTMSEL1?

Again, what is the action of WDTCNTCL? Is it just default 0b and there's "no action"?

WDTIS2 means it's set at "100b = Watchdog clock source /(215) (1 s at 32.768 kHz)"? because the 2 at the end means bit2 yes? but what if I wanted to set it as 111b = Watchdog clock source /(26 ) (1.95 ms at 32.768 kHz)? what number would i put at the end?

Also, if I look at WDTSSEL, if I want to set it as ACLK, do I put WDTSSEL5 since it's bit 5?


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>