S32 SDK
lpit_user_channel_config_t Struct Reference

Structure to configure the channel timer. More...

#include <lpit_driver.h>

Data Fields

lpit_timer_modes_t timerMode
 
lpit_period_units_t periodUnits
 
uint32_t period
 
lpit_trigger_source_t triggerSource
 
uint32_t triggerSelect
 
bool enableReloadOnTrigger
 
bool enableStopOnInterrupt
 
bool enableStartOnTrigger
 
bool chainChannel
 
bool isInterruptEnabled
 

Detailed Description

Structure to configure the channel timer.

This structure holds the configuration settings for the LPIT timer channel Implements : lpit_user_channel_config_t_Class

Definition at line 95 of file lpit_driver.h.

Field Documentation

bool chainChannel

Channel chaining enable

Definition at line 111 of file lpit_driver.h.

bool enableReloadOnTrigger

True: Timer channel will reload on selected trigger False: Timer channel will not reload on selected trigger

Definition at line 103 of file lpit_driver.h.

bool enableStartOnTrigger

True: Timer channel starts to decrement when rising edge on selected trigger is detected. False: Timer starts to decrement immediately based on restart condition

Definition at line 107 of file lpit_driver.h.

bool enableStopOnInterrupt

True: Timer will stop after timeout False: Timer channel does not stop after timeout

Definition at line 105 of file lpit_driver.h.

bool isInterruptEnabled

Timer channel interrupt generation enable

Definition at line 112 of file lpit_driver.h.

uint32_t period

Period of timer channel

Definition at line 99 of file lpit_driver.h.

lpit_period_units_t periodUnits

Timer period value units

Definition at line 98 of file lpit_driver.h.

lpit_timer_modes_t timerMode

Operation mode of timer channel

Definition at line 97 of file lpit_driver.h.

uint32_t triggerSelect

Selects one trigger from the internal trigger sources this field makes sense if trigger source is internal

Definition at line 101 of file lpit_driver.h.

lpit_trigger_source_t triggerSource

Selects between internal and external trigger sources

Definition at line 100 of file lpit_driver.h.


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