Data Fields
GPTimerWFF3_HWAttrs Struct Reference

GPTimerWFF3 Hardware attributes. More...

#include <GPTimerWFF3.h>

Collaboration diagram for GPTimerWFF3_HWAttrs:
Collaboration graph
[legend]

Data Fields

uint32_t baseAddr
 
PowerWFF3_Resource powerID
 
GPTimerWFF3_ChannelConf channelConfig [4]
 
uint8_t intNum
 
uint8_t intPriority
 

Detailed Description

GPTimerWFF3 Hardware attributes.

These fields are used by the driver to set up underlying GPTimer driver statically. A sample structure is shown below making use of channel 2 in GPTIMER1:

// GPTimer hardware attributes, one per supported GPT peripheral
const GPTimerWFF3_HWAttrs GPTimerWFF3HWAttrs[] = {
{
.baseAddr = GPTIMER1_BASE,
.intNum = INT_GPTIMER_1,
.intPriority = (~0),
.channelConfig[0] = {
},
.channelConfig[1] = {
},
.channelConfig[2] = {
.pin = CONFIG_GPIO_GPTIMER_1_CH2,
.pinMux = 9,
},
.channelConfig[3] = {
},
},
};

Field Documentation

§ baseAddr

uint32_t GPTimerWFF3_HWAttrs::baseAddr

GPTimer peripheral base address

§ powerID

PowerWFF3_Resource GPTimerWFF3_HWAttrs::powerID

GPTimer peripheral's power resource ID

§ channelConfig

GPTimerWFF3_ChannelConf GPTimerWFF3_HWAttrs::channelConfig[4]

GPTimer peripheral channel selection for for pin and pin mux

§ intNum

uint8_t GPTimerWFF3_HWAttrs::intNum

GPTimer peripheral interrupt vector

§ intPriority

uint8_t GPTimerWFF3_HWAttrs::intPriority

GPTimer peripheral's interrupt priority


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