Data Fields
CaptureMSP432_HWAttrs Struct Reference

CaptureMSP432 Hardware Attributes. More...

#include <CaptureMSP432.h>

Data Fields

uint32_t timerBaseAddress
 
uint32_t clockSource
 
uint32_t clockDivider
 
uint32_t capturePort
 
uint32_t intPriority
 

Detailed Description

CaptureMSP432 Hardware Attributes.

Capture hardware attributes that tell the CaptureMSP432 driver specific hardware configurations and interrupt/priority settings.

A sample structure is shown below:

const CaptureMSP432_HWAttrs captureMSP432HWAttrs[] =
{
{
.timerBaseAddress = TIMER_A1_BASE,
.clockSource = TIMER_A_CLOCKSOURCE_SMCLK,
.clockDivider = TIMER_A_CLOCKSOURCE_DIVIDER_64,
.capturePort = CaptureMSP432_P2_3_TA1,
.intPriority = ~0
},
{
.timerBaseAddress = TIMER_A2_BASE,
.clockSource = TIMER_A_CLOCKSOURCE_ACLK,
.clockDivider = TIMER_A_CLOCKSOURCE_DIVIDER_1,
.capturePort = CaptureMSP432_P6_6_TA2,
.intPriority = ~0
},
};

Field Documentation

§ timerBaseAddress

uint32_t CaptureMSP432_HWAttrs::timerBaseAddress

Specifies the base address of the Timer_A peripheral.

§ clockSource

uint32_t CaptureMSP432_HWAttrs::clockSource

Specifies the clock source for the Timer_A peripheral.

§ clockDivider

uint32_t CaptureMSP432_HWAttrs::clockDivider

Specifies the divider applied to the clockSource.

§ capturePort

uint32_t CaptureMSP432_HWAttrs::capturePort

Predefined capture port and pin. The Timer_A peripheral used by this define should match that of timerBaseAddress.

§ intPriority

uint32_t CaptureMSP432_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