Data Fields
LGPTimerLPF3_HWAttrs Struct Reference

LGPTimerLPF3 Hardware attributes. More...

#include <LGPTimerLPF3.h>

Collaboration diagram for LGPTimerLPF3_HWAttrs:
Collaboration graph
[legend]

Data Fields

uint32_t baseAddr
 
PowerLPF3_Resource powerID
 
LGPTimerLPF3_ChannelConf channelConfig [3]
 
uint8_t intNum
 
uint8_t intPriority
 

Detailed Description

LGPTimerLPF3 Hardware attributes.

These fields are used by the driver to set up underlying LGPTimer driver statically. A sample structure is shown below:

// LGPTimer hardware attributes, one per supported LGPT peripheral
const LGPTimerLPF3_HWAttrs LGPTimerLPF3HWAttrs[] = {
{
.baseAddr = LGPT0_BASE,
.intNum = INT_LGPT0_COMB,
.intPriority = INT_PRI_LEVEL1,
.powerMngrId = PowerLPF3_PERIPH_LGPT0,
.channelConfig[0] = {
.pin = CONFIG_GPIO_LGPT0C0,
.nPin = CONFIG_GPIO_LGPT0C0N,
},
.channelConfig[1] = {
.pin = CONFIG_GPIO_LGPT0C1,
.nPin = CONFIG_GPIO_LGPT0C1N,
},
.channelConfig[2] = {
.pin = CONFIG_GPIO_LGPT0C2,
.nPin = CONFIG_GPIO_LGPT0C2N,
},
},
};

Field Documentation

§ baseAddr

uint32_t LGPTimerLPF3_HWAttrs::baseAddr

LGPTimer peripheral base address

§ powerID

PowerLPF3_Resource LGPTimerLPF3_HWAttrs::powerID

LGPTimer peripheral's power resource ID

§ channelConfig

LGPTimerLPF3_ChannelConf LGPTimerLPF3_HWAttrs::channelConfig[3]

LGPTimer peripheral channel selection for for pin and pin mux

§ intNum

uint8_t LGPTimerLPF3_HWAttrs::intNum

LGPTimer peripheral interrupt vector

§ intPriority

uint8_t LGPTimerLPF3_HWAttrs::intPriority

LGPTimer peripheral's interrupt priority


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