25 #ifndef FTM_OC_DRIVER_H
26 #define FTM_OC_DRIVER_H
94 #if defined(__cplusplus)
146 uint16_t nextComparematchValue,
148 bool softwareTrigger);
150 #if defined(__cplusplus)
FlexTimer driver PWM parameters.
ftm_output_cmp_ch_param_t * outputChannelConfig
ftm_output_compare_mode_t chMode
ftm_output_compare_mode_t
FlexTimer Mode configuration for output compare mode.
status_t FTM_DRV_InitOutputCompare(uint32_t instance, const ftm_output_cmp_param_t *param)
Configures the FTM to generate timed pulses(Output compare mode).
ftm_output_compare_update_t
FlexTimer input capture type of the next output compare value.
status_t
Status return codes. Common error codes will be a unified enumeration (C enum) that will contain all ...
FlexTimer driver PWM parameters.
bool enableExternalTrigger
uint8_t nNumOutputChannels
status_t FTM_DRV_UpdateOutputCompareChannel(uint32_t instance, uint8_t channel, uint16_t nextComparematchValue, ftm_output_compare_update_t update, bool softwareTrigger)
Sets the next compare match value based on the current counter value.
ftm_config_mode_t
FlexTimer operation mode.
status_t FTM_DRV_DeinitOutputCompare(uint32_t instance, const ftm_output_cmp_param_t *param)
Disables compare match output control and clears FTM timer configuration.