257 #ifndef ti_drivers_timer_LGPTimerLPF3__include 258 #define ti_drivers_timer_LGPTimerLPF3__include 268 #include <ti/devices/DeviceFamily.h> 269 #include DeviceFamily_constructPath(inc/hw_lgpt.h) 276 #define NO_OF_LGPT_CHANNELS 3 1065 LGPTimerLPF3_ChannelLevel level);
PowerLPF3_Resource powerID
Definition: LGPTimerLPF3.h:715
uint32_t LGPTimerLPF3_getNextChCaptureVal(LGPTimerLPF3_Handle handle, LGPTimerLPF3_ChannelNo chNo)
Function to get the channel compare value for the next counter cycle or the channel-updated capture v...
LGPTimerLPF3_ChannelInputEdge
Definitions for supported LGPTimer channel input edge.
Definition: LGPTimerLPF3.h:318
LGPTimerLPF3_ChannelInputEdge inputEdge
Definition: LGPTimerLPF3.h:599
ADC_Params params
Definition: Driver_Init.h:11
LGPTimer Global configuration.
Definition: LGPTimerLPF3.h:767
HwiP_Struct hwi
Definition: LGPTimerLPF3.h:740
uint32_t LGPTimerLPF3_getCounterWidth(LGPTimerLPF3_Handle handle)
Function to get the width of the timer counter in number of bits.
Definition: LGPTimerLPF3.h:342
LGPTimerLPF3_DebugMode
Definitions for controlling timer debug stall mode.
Definition: LGPTimerLPF3.h:376
Definition: LGPTimerLPF3.h:298
Definition: LGPTimerLPF3.h:409
HwiP structure.
Definition: HwiP.h:78
struct LGPTimerLPF3_Object LGPTimerLPF3_Object
LGPTimerLPF3 Object.
LGPTimerLPF3_Object * object
Definition: LGPTimerLPF3.h:769
Definition: LGPTimerLPF3.h:365
Definition: LGPTimerLPF3.h:532
uint32_t LGPTimerLPF3_getCounter(LGPTimerLPF3_Handle handle)
Function that returns the current timer counter value.
Definition: LGPTimerLPF3.h:338
uint32_t LGPTimerLPF3_getChCaptureVal(LGPTimerLPF3_Handle handle, LGPTimerLPF3_ChannelNo chNo)
Function to get the channel compare value or channel-updated capture value. Dependent on the selected...
Definition: LGPTimerLPF3.h:344
LGPTimerLPF3_Mode
Definitions for supported LGPTimer counting modes.
Definition: LGPTimerLPF3.h:335
void LGPTimerLPF3_enableInterrupt(LGPTimerLPF3_Handle handle, LGPTimerLPF3_IntMask intMask)
Enable interrupt source for the LGPTimer handle.
Definition: LGPTimerLPF3.h:357
Definition: LGPTimerLPF3.h:457
struct LGPTimerLPF3_Params LGPTimerLPF3_Params
LGPTimerLPF3 Parameters.
LGPTimerLPF3_Config * LGPTimerLPF3_Handle
Definition: LGPTimerLPF3.h:573
void LGPTimerLPF3_setArg(LGPTimerLPF3_Handle handle, void *arg)
Function to set a custom argument.
uint32_t arg
Definition: LGPTimerLPF3.h:743
LGPTimerLPF3_ChannelCmpDir counterDirChCompare
Definition: LGPTimerLPF3.h:650
Definition: LGPTimerLPF3.h:422
LGPTimerLPF3_Interrupt
Definitions for supported LGPTimer interrupts. LGPTimerLPF3_IntMask arguments should be a bit vector ...
Definition: LGPTimerLPF3.h:354
Definition: LGPTimerLPF3.h:450
uint32_t LGPTimerLPF3_getArg(LGPTimerLPF3_Handle handle)
Function to get a custom argument.
void LGPTimerLPF3_setInitialChannelCompVal(LGPTimerLPF3_Handle handle, LGPTimerLPF3_ChannelNo chNo, uint32_t value, bool intFlagClr)
Function that sets the initial channel compare value on the specified LGPTimer and channel...
Definition: LGPTimerLPF3.h:465
uint32_t baseAddr
Definition: LGPTimerLPF3.h:713
bool intPhaseLate
Definition: LGPTimerLPF3.h:745
Definition: LGPTimerLPF3.h:287
LGPTimerLPF3_ChannelAction action
Definition: LGPTimerLPF3.h:597
uint8_t prescalerDiv
Definition: LGPTimerLPF3.h:646
LGPTimerLPF3_ChannelAction
Definitions for supported LGPTimer channel actions.
Definition: LGPTimerLPF3.h:406
Definition: LGPTimerLPF3.h:523
Definition: LGPTimerLPF3.h:396
uint32_t LGPTimerLPF3_getChCompareVal(LGPTimerLPF3_Handle handle, LGPTimerLPF3_ChannelNo chNo)
Function to get the channel compare value or channel-updated capture value. Dependent on the selected...
uint8_t pin
Definition: LGPTimerLPF3.h:664
LGPTimerLPF3 Parameters.
Definition: LGPTimerLPF3.h:638
Definition: LGPTimerLPF3.h:379
Definition: LGPTimerLPF3.h:297
void LGPTimerLPF3_start(LGPTimerLPF3_Handle handle, LGPTimerLPF3_Mode mode)
Function that starts the timer counter of the specified LGPTimer handle with current settings and spe...
#define NO_OF_LGPT_CHANNELS
Definition: LGPTimerLPF3.h:276
LGPTimerLPF3 Object.
Definition: LGPTimerLPF3.h:738
Definition: LGPTimerLPF3.h:436
uint8_t nPin
Definition: LGPTimerLPF3.h:668
uint8_t intPriority
Definition: LGPTimerLPF3.h:721
LGPTimerLPF3 Hardware attributes.
Definition: LGPTimerLPF3.h:710
void(* LGPTimerLPF3_HwiFxn)(LGPTimerLPF3_Handle handle, LGPTimerLPF3_IntMask interruptMask)
The definition of a callback function used by the LGPTimer driver.
Definition: LGPTimerLPF3.h:586
Definition: LGPTimerLPF3.h:346
Power_NotifyObj postNotify
Definition: LGPTimerLPF3.h:742
Definition: LGPTimerLPF3.h:286
LGPTimerLPF3 channel dependent pin configuration struct.
Definition: LGPTimerLPF3.h:661
uint8_t prescalerDiv
Definition: LGPTimerLPF3.h:746
Definition: LGPTimerLPF3.h:367
Definition: LGPTimerLPF3.h:359
struct LGPTimerLPF3_ChannelProp LGPTimerLPF3_ChannelProp
LGPTimerLPF3 channel dependent properties struct.
Definition: LGPTimerLPF3.h:481
void LGPTimerLPF3_Params_init(LGPTimerLPF3_Params *params)
Function that initializes the LGPTimerLPF3_Params struct to its default values.
LGPTimerLPF3 channel dependent properties struct.
Definition: LGPTimerLPF3.h:594
uint8_t intNum
Definition: LGPTimerLPF3.h:719
Definition: LGPTimerLPF3.h:398
Definition: LGPTimerLPF3.h:369
Definition: LGPTimerLPF3.h:566
const LGPTimerLPF3_HWAttrs * hwAttrs
Definition: LGPTimerLPF3.h:770
Definition: LGPTimerLPF3.h:489
Power notify object structure.
Definition: Power.h:441
struct LGPTimerLPF3_HWAttrs LGPTimerLPF3_HWAttrs
LGPTimerLPF3 Hardware attributes.
uint8_t nPinMux
Definition: LGPTimerLPF3.h:670
LGPTimerLPF3_ChannelDir
Definitions for supported LGPTimer channel direction.
Definition: LGPTimerLPF3.h:295
Definition: LGPTimerLPF3.h:505
Definition: LGPTimerLPF3.h:363
Definition: LGPTimerLPF3.h:381
LGPTimerLPF3_DebugMode debugStallMode
Definition: LGPTimerLPF3.h:747
LGPTimerLPF3_HwiFxn hwiCallbackFxn
Definition: LGPTimerLPF3.h:642
Definition: LGPTimerLPF3.h:473
Definition: LGPTimerLPF3.h:322
void LGPTimerLPF3_setNextCounterTarget(LGPTimerLPF3_Handle handle, uint32_t value, bool intFlagClr)
Function that sets the timer counter target for the next counter period on the specified LGPTimer...
Definition: LGPTimerLPF3.h:497
LGPTimerLPF3_Handle LGPTimerLPF3_open(uint_least8_t index, const LGPTimerLPF3_Params *params)
Function that opens a driver for the given LGPT peripheral. Will set power dependency on timer and co...
Definition: LGPTimerLPF3.h:394
LGPTimerLPF3_ChannelNo
Definitions for supported LGPTimer channel numbers.
Definition: LGPTimerLPF3.h:283
LGPTimerLPF3_ChannelCmpDir counterDirChCompare
Definition: LGPTimerLPF3.h:748
LGPTimerLPF3_DebugMode debugStallMode
Definition: LGPTimerLPF3.h:648
LGPTimerLPF3_ChannelLevel
Definitions for supported LGPTimer channel output levels.
Definition: LGPTimerLPF3.h:307
bool isOpen
Definition: LGPTimerLPF3.h:744
void LGPTimerLPF3_disableInterrupt(LGPTimerLPF3_Handle handle, LGPTimerLPF3_IntMask intMask)
Disable interrupt source for the LGPTimer handle.
General Purpose I/O driver interface.
Definition: LGPTimerLPF3.h:443
Definition: LGPTimerLPF3.h:309
Definition: LGPTimerLPF3.h:321
uint32_t LGPTimerLPF3_getNextChCompareVal(LGPTimerLPF3_Handle handle, LGPTimerLPF3_ChannelNo chNo)
Function to get the channel compare value for the next counter cycle or the channel-updated capture v...
void LGPTimerLPF3_setInitialCounterTarget(LGPTimerLPF3_Handle handle, uint32_t value, bool intFlagClr)
Function that sets the initial timer counter target on the specified LGPTimer. This function must be ...
LGPTimerLPF3_HwiFxn hwiCallbackFxn
Definition: LGPTimerLPF3.h:741
Definition: LGPTimerLPF3.h:323
void LGPTimerLPF3_setNextChannelCompVal(LGPTimerLPF3_Handle handle, LGPTimerLPF3_ChannelNo chNo, uint32_t value, bool intFlagClr)
Function that sets the channel compare value on the specified LGPTimer for the next cycle of the alre...
struct LGPTimerLPF3_ChannelConf LGPTimerLPF3_ChannelConf
LGPTimerLPF3 channel dependent pin configuration struct.
Definition: LGPTimerLPF3.h:361
uint8_t pinMux
Definition: LGPTimerLPF3.h:666
LGPTimerLPF3_ChannelCmpDir
Definitions for which direction the timer counter must have in order to set channel compare interrupt...
Definition: LGPTimerLPF3.h:391
Hardware Interrupt module for the RTOS Porting Interface.
Definition: LGPTimerLPF3.h:429
Definition: LGPTimerLPF3.h:310
void LGPTimerLPF3_stop(LGPTimerLPF3_Handle handle)
Function that stops the timer counter of the specified LGPTimer driver.
uint16_t LGPTimerLPF3_IntMask
Definition: LGPTimerLPF3.h:576
void LGPTimerLPF3_close(LGPTimerLPF3_Handle handle)
Function that closes a LGPTimer driver specified by the LGPTimer handle. Closing LGPTimer driver will...
bool intPhaseLate
Definition: LGPTimerLPF3.h:644
void LGPTimerLPF3_setChannelOutputLevel(LGPTimerLPF3_Handle handle, LGPTimerLPF3_ChannelNo chNo, LGPTimerLPF3_ChannelLevel level)
Function that manually sets the current channel output level high or low. Manual update of a channel ...
Definition: LGPTimerLPF3.h:320
Definition: LGPTimerLPF3.h:285
Definition: LGPTimerLPF3.h:383
Definition: LGPTimerLPF3.h:299