Macros | Functions
wdt_a.h File Reference
#include <msp432.h>
#include <stdint.h>
#include "register_remap.h"
#include "sysctl.h"

Go to the source code of this file.

Macros

#define WDT_A_HARD_RESET   SYSCTL_HARD_RESET
 
#define WDT_A_SOFT_RESET   SYSCTL_SOFT_RESET
 
#define WDT_A_CLOCKSOURCE_SMCLK   (WDTSSEL_0)
 
#define WDT_A_CLOCKSOURCE_ACLK   (WDTSSEL_1)
 
#define WDT_A_CLOCKSOURCE_VLOCLK   (WDTSSEL_2)
 
#define WDT_A_CLOCKSOURCE_XCLK   (WDTSSEL_3)
 
#define WDT_A_CLOCKDIVIDER_2G   (WDTIS_0)
 
#define WDT_A_CLOCKDIVIDER_128M   (WDTIS_1)
 
#define WDT_A_CLOCKDIVIDER_8192K   (WDTIS_2)
 
#define WDT_A_CLOCKDIVIDER_512K   (WDTIS_3)
 
#define WDT_A_CLOCKDIVIDER_32K   (WDTIS_4)
 
#define WDT_A_CLOCKDIVIDER_8192   (WDTIS_5)
 
#define WDT_A_CLOCKDIVIDER_512   (WDTIS_6)
 
#define WDT_A_CLOCKDIVIDER_64   (WDTIS_7)
 
#define WDT_A_CLOCKITERATIONS_2G   WDT_A_CLOCKDIVIDER_2G
 
#define WDT_A_CLOCKITERATIONS_128M   WDT_A_CLOCKDIVIDER_128M
 
#define WDT_A_CLOCKITERATIONS_8192K   WDT_A_CLOCKDIVIDER_8192K
 
#define WDT_A_CLOCKITERATIONS_512K   WDT_A_CLOCKDIVIDER_512K
 
#define WDT_A_CLOCKITERATIONS_32K   WDT_A_CLOCKDIVIDER_32K
 
#define WDT_A_CLOCKITERATIONS_8192   WDT_A_CLOCKDIVIDER_8192
 
#define WDT_A_CLOCKITERATIONS_512   WDT_A_CLOCKDIVIDER_512
 
#define WDT_A_CLOCKITERATIONS_64   WDT_A_CLOCKDIVIDER_64
 
#define WDT_A_holdTimerMultipleTimer(a)   WDT_A_holdTimer()
 
#define WDT_A_startTimerMultipleTimer(a)   WDT_A_startTimer()
 
#define WDT_A_resetTimerMultipleTimer(a)   WDT_A_resetTimer()
 
#define WDT_A_initWatchdogTimerMultipleTimer(a, b, c)   WDT_A_initWatchdogTimer(b,c)
 
#define WDT_A_initIntervalTimerMultipleTimer(a, b, c)   WDT_A_initIntervalTimer(b,c)
 
#define WDT_A_registerInterruptMultipleTimer(a, b)   WDT_A_registerInterrupt(b)
 
#define WDT_A_unregisterInterruptMultipleTimer(a)   WDT_A_unregisterInterrupt()
 
#define WDT_A_hold   WDT_A_holdTimerMultipleTimer
 
#define WDT_A_start   WDT_A_startTimerMultipleTimer
 
#define WDT_A_resetTimer   WDT_A_resetTimerMultipleTimer
 
#define WDT_A_watchdogTimerInit   WDT_A_initWatchdogTimerMultipleTimer
 
#define WDT_A_intervalTimerInit   WDT_A_initIntervalTimerMultipleTimer
 

Functions

void WDT_A_holdTimer (void)
 
void WDT_A_startTimer (void)
 
void WDT_A_clearTimer (void)
 
void WDT_A_initWatchdogTimer (uint_fast8_t clockSelect, uint_fast8_t clockDivider)
 
void WDT_A_initIntervalTimer (uint_fast8_t clockSelect, uint_fast8_t clockDivider)
 
void WDT_A_registerInterrupt (void(*intHandler)(void))
 
void WDT_A_unregisterInterrupt (void)
 
void WDT_A_setPasswordViolationReset (uint_fast8_t resetType)
 
void WDT_A_setTimeoutReset (uint_fast8_t resetType)
 

Copyright 2014, Texas Instruments Incorporated