Data Fields
WatchdogMSP432E4_HWAttrs Struct Reference

Watchdog hardware attributes for MSP432E4. More...

#include <WatchdogMSP432E4.h>

Data Fields

uint32_t baseAddr
 
uint32_t intNum
 
uint32_t intPriority
 
uint32_t reloadValue
 

Detailed Description

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:

const WatchdogMSP432E4_HWAttrs watchdogMSP432E4HWAttrs[] =
{
{
.baseAddr = WATCHDOG0_BASE,
.intNum = INT_WATCHDOG,
.intPriority = ~0,
.reloadValue = 80000000
},
};

Field Documentation

§ baseAddr

uint32_t WatchdogMSP432E4_HWAttrs::baseAddr

Base address for Watchdog

§ intNum

uint32_t WatchdogMSP432E4_HWAttrs::intNum

WDT interrupt number

§ intPriority

uint32_t WatchdogMSP432E4_HWAttrs::intPriority

WDT interrupt priority

§ reloadValue

uint32_t WatchdogMSP432E4_HWAttrs::reloadValue

Reload value in Watchdog timer ticks


The documentation for this struct was generated from the following file:
© Copyright 1995-2018, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale