25 #ifndef FTM_IC_DRIVER_H
26 #define FTM_IC_DRIVER_H
115 #if defined(__cplusplus)
174 #if defined(__cplusplus)
status_t FTM_DRV_StartNewSignalMeasurement(uint32_t instance, uint8_t channel)
Starts new single-shot signal measurement of the given channel.
status_t FTM_DRV_InitInputCapture(uint32_t instance, const ftm_input_param_t *param)
Configures Channel Input Capture for either getting time-stamps on edge detection or on signal measur...
status_t
Status return codes. Common error codes will be a unified enumeration (C enum) that will contain all ...
status_t FTM_DRV_DeinitInputCapture(uint32_t instance, const ftm_input_param_t *param)
Disables input capture mode and clears FTM timer configuration.
void(* ftm_channel_event_callback_t)(void *userData)
Channel event callback function.
ftm_signal_measurement_mode_t
FlexTimer input capture measurement type for dual edge input capture.
ftm_input_op_mode_t
FTM status.
uint16_t FTM_DRV_GetInputCaptureMeasurement(uint32_t instance, uint8_t channel)
This function is used to calculate the measurement and/or time stamps values which are read from the ...
ftm_edge_alignment_mode_t
FlexTimer input capture edge mode, rising edge, or falling edge.