98 #if (defined(TIMING_OVER_LPTMR))
109 bool bypassPrescaler;
110 } extension_lptmr_for_timer_t;
113 #if (defined(TIMING_OVER_FTM))
125 } extension_ftm_for_timer_t;
128 #if (defined(TIMING_OVER_STM))
137 #if FEATURE_STM_HAS_CLOCK_SELECTION
138 stm_clock_source_t clockSelect;
141 } extension_stm_for_timer_t;
190 const uint8_t channel,
191 const uint32_t periodTicks);
203 const uint8_t channel);
217 const uint8_t channel);
231 const uint8_t channel);
242 const uint8_t channel);
253 const uint8_t channel);
270 uint64_t *
const resolution);
286 uint64_t *
const maxPeriod);
288 #if defined(__cplusplus)
292 #if defined(__cplusplus)
timer_chan_type_t
Type options available for timer channel notification.
timer_callback_t callback
timer_chan_type_t chanType
status_t TIMING_GetMaxPeriod(const timing_instance_t *const instance, const timer_resolution_type_t type, uint64_t *const maxPeriod)
Get max period in engineering units.
void TIMING_DisableNotification(const timing_instance_t *const instance, const uint8_t channel)
Disable channel notifications.
Structure to configure the channel timer notification.
lptmr_clocksource_t
Clock Source selection Implements : lptmr_clocksource_t_Class.
void TIMING_Deinit(const timing_instance_t *const instance)
De-initialize a timer instance.
Structure storing PAL instance information.
lptmr_prescaler_t
Prescaler Selection Implements : lptmr_prescaler_t_Class.
void TIMING_StartChannel(const timing_instance_t *const instance, const uint8_t channel, const uint32_t periodTicks)
Starts the timer channel counting.
uint32_t TIMING_GetElapsed(const timing_instance_t *const instance, const uint8_t channel)
Get elapsed ticks.
ftm_clock_ps_t
FlexTimer pre-scaler factor selection for the clock source. In quadrature decoder mode set FTM_CLOCK_...
Timer configuration structure.
status_t
Status return codes. Common error codes will be a unified enumeration (C enum) that will contain all ...
ftm_clock_source_t
FlexTimer clock source selection.
timer_resolution_type_t
Type options available for tick resolution.
uint32_t TIMING_GetRemaining(const timing_instance_t *const instance, const uint8_t channel)
Get remaining ticks.
void TIMING_EnableNotification(const timing_instance_t *const instance, const uint8_t channel)
Enable channel notifications.
const timer_chan_config_t * chanConfigArray
status_t TIMING_GetResolution(const timing_instance_t *const instance, const timer_resolution_type_t type, uint64_t *const resolution)
Get tick resolution.
void(* timer_callback_t)(void *userData)
status_t TIMING_Init(const timing_instance_t *const instance, const timer_config_t *const config)
Initialize the timer instance and timer channels with value from input configuration structure...
void TIMING_StopChannel(const timing_instance_t *const instance, const uint8_t channel)
Stop the timer channel counting.