Watchdog hardware attributes for MSP432E4. More...
#include <WatchdogMSP432E4.h>
Data Fields | |
uint32_t | baseAddr |
uint32_t | intNum |
uint32_t | intPriority |
uint32_t | reloadValue |
Watchdog hardware attributes for MSP432E4.
Watchdog hardware attributes for the WatchdogMSP432E4 driver's specific hardware configurations and interrupt priority settings.
The intPriority is the Watchdog timer's interrupt priority, as defined by the underlying OS. It is passed unmodified to the underlying OS's interrupt handler creation code, so you need to refer to the OS documentation for usage. For example, for SYS/BIOS applications, refer to the ti.sysbios.family.arm.m3.Hwi documentation for SYS/BIOS usage of interrupt priorities. If the driver uses the ti.dpl interface instead of making OS calls directly, then the HwiP port handles the interrupt priority in an OS specific way. In the case of the SYS/BIOS port, intPriority is passed unmodified to Hwi_create().
The reloadValue is specified in Watchdog Timer ticks. The MSP432E4 contains two Watchdog Timer peripherals. The first one (Watchdog Timer 0) is clocked by the system clock and the second (Watchdog Timer 1) is clocked by the clock source programmed in the ALTCLK field of the Alternate Clock Configuration (ALTCLKCFG) register.
A sample structure is shown below:
uint32_t WatchdogMSP432E4_HWAttrs::baseAddr |
Base address for Watchdog
uint32_t WatchdogMSP432E4_HWAttrs::intNum |
WDT interrupt number
uint32_t WatchdogMSP432E4_HWAttrs::intPriority |
WDT interrupt priority
uint32_t WatchdogMSP432E4_HWAttrs::reloadValue |
Reload value in Watchdog timer ticks