Parameters for TimerP_setup.
Data Fields | |
uint32_t | inputPreScaler |
uint32_t | inputClkHz |
uint32_t | periodInUsec |
uint32_t | periodInNsec |
uint32_t | oneshotMode |
uint32_t | enableOverflowInt |
uint32_t | enableDmaTrigger |
uint32_t TimerP_Params::inputPreScaler |
input pre-scaler divisor ro apply
uint32_t TimerP_Params::inputClkHz |
Timer input clock in unit of Hz before pre-scaler, system initialization MUST make any system level muxes, PLLs, power required to input this clock are setup properly
uint32_t TimerP_Params::periodInUsec |
Timer period in units of usecs, internally TimerP_Params::inputClkHz and TimerP_Params.inputPreScaler is used to compute the value to be put inside the timer HW register
uint32_t TimerP_Params::periodInNsec |
Timer period in units of nsecs, internally TimerP_Params::inputClkHz and TimerP_Params.inputPreScaler is used to compute the value to be put inside the timer HW register
uint32_t TimerP_Params::oneshotMode |
0: continuous mode of operation, 1: oneshot mode of operation
uint32_t TimerP_Params::enableOverflowInt |
0: Do not enable timer overflow interrupt, 1: enable timer overflow interrupt
uint32_t TimerP_Params::enableDmaTrigger |
0: Do not enable DMA trigger from timer, 1: enable DMA trigger from timer