Data Fields
TimerMSP432_HWAttrs Struct Reference

TimerMSP432 Hardware Attributes. More...

#include <TimerMSP432.h>

Data Fields

uint32_t timerBaseAddress
 
uint32_t clockSource
 
uint32_t intNum
 
uint32_t intPriority
 

Detailed Description

TimerMSP432 Hardware Attributes.

Timer hardware attributes that tell the TimerMSP432 driver specific hardware configurations and interrupt priority settings.

The Timer32 only supports MCLK as a clock source. As a result, the clockSource field has no event for Timer32 instances.

A sample structure is shown below:

const TimerMSP432_HWAttrs timerMSP432HWAttrs[] =
{
{
.timerBaseAddress = TIMER32_0_BASE,
.clockSource = TIMER_A_CLOCKSOURCE_SMCLK,
.intNum = INT_T32_INT1,
.intPriority = ~0,
},
{
.timerBaseAddress = TIMER_A1_BASE,
.clockSource = TIMER_A_CLOCKSOURCE_SMCLK,
.intNum = INT_TA1_0,
.intPriority = ~0
},
{
.timerBaseAddress = TIMER_A2_BASE,
.clockSource = TIMER_A_CLOCKSOURCE_ACLK,
.intNum = INT_TA2_0,
.intPriority = ~0
},
};

Field Documentation

§ timerBaseAddress

uint32_t TimerMSP432_HWAttrs::timerBaseAddress

The base address of the timer peripheral.

§ clockSource

uint32_t TimerMSP432_HWAttrs::clockSource

Specifies the clock source for the timer peripheral.

§ intNum

uint32_t TimerMSP432_HWAttrs::intNum

The hardware interrupt number for the timer peripheral.

§ intPriority

uint32_t TimerMSP432_HWAttrs::intPriority

The interrupt priority.


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