lptmr_config_t Struct Reference

Defines the configuration structure for LPTMR. More...

#include <platform/drivers/inc/lptmr_driver.h>

Data Fields

bool dmaRequest
 
bool interruptEnable
 
bool freeRun
 
lptmr_workmode_t workMode
 
lptmr_clocksource_t clockSelect
 
lptmr_prescaler_t prescaler
 
bool bypassPrescaler
 
uint32_t compareValue
 
lptmr_counter_units_t counterUnits
 
lptmr_pinselect_t pinSelect
 
lptmr_pinpolarity_t pinPolarity
 

Detailed Description

Defines the configuration structure for LPTMR.

Implements : lptmr_config_t_Class

Definition at line 113 of file lptmr_driver.h.

Field Documentation

bool bypassPrescaler

Enable/Disable prescaler bypass

Definition at line 123 of file lptmr_driver.h.

lptmr_clocksource_t clockSelect

Clock selection for Timer/Glitch filter

Definition at line 121 of file lptmr_driver.h.

uint32_t compareValue

Compare value

Definition at line 124 of file lptmr_driver.h.

lptmr_counter_units_t counterUnits

Compare value units

Definition at line 125 of file lptmr_driver.h.

bool dmaRequest

Enable/Disable DMA requests

Definition at line 116 of file lptmr_driver.h.

bool freeRun

Enable/Disable Free Running Mode

Definition at line 118 of file lptmr_driver.h.

bool interruptEnable

Enable/Disable Interrupt

Definition at line 117 of file lptmr_driver.h.

lptmr_pinpolarity_t pinPolarity

Pin Polarity for Pulse-Counter

Definition at line 128 of file lptmr_driver.h.

lptmr_pinselect_t pinSelect

Pin selection for Pulse-Counter

Definition at line 127 of file lptmr_driver.h.

lptmr_prescaler_t prescaler

Prescaler Selection

Definition at line 122 of file lptmr_driver.h.

lptmr_workmode_t workMode

Time/Pulse Counter Mode

Definition at line 119 of file lptmr_driver.h.


The documentation for this struct was generated from the following file: