FlexTimer driver combined PWM parameter. More...
#include <platform/drivers/inc/ftm_pwm_driver.h>
Data Fields | |
uint8_t | hwChannelId |
uint16_t | firstEdge |
uint16_t | secondEdge |
bool | deadTime |
bool | enableModifiedCombine |
ftm_polarity_t | mainChannelPolarity |
bool | enableSecondChannelOutput |
ftm_second_channel_polarity_t | secondChannelPolarity |
bool | enableExternalTrigger |
bool | enableExternalTriggerOnNextChn |
ftm_safe_state_polarity_t | levelSelect |
ftm_safe_state_polarity_t | levelSelectOnNextChn |
FlexTimer driver combined PWM parameter.
Implements : ftm_combined_ch_param_t_Class
Definition at line 162 of file ftm_pwm_driver.h.
bool deadTime |
Enable/disable dead time for channel
Definition at line 169 of file ftm_pwm_driver.h.
bool enableExternalTrigger |
The generation of the channel (n) trigger true: enable the generation of a trigger on the channel (n) false: disable the generation of a trigger on the channel (n)
Definition at line 175 of file ftm_pwm_driver.h.
bool enableExternalTriggerOnNextChn |
The generation of the channel (n+1) trigger true: enable the generation of a trigger on the channel (n+1) false: disable the generation of a trigger on the channel (n+1)
Definition at line 178 of file ftm_pwm_driver.h.
bool enableModifiedCombine |
Enable/disable the modified combine mode for channels (n) and (n+1)
Definition at line 170 of file ftm_pwm_driver.h.
bool enableSecondChannelOutput |
Select if channel (n+1) output is enabled/disabled for the complementary mode
Definition at line 173 of file ftm_pwm_driver.h.
uint16_t firstEdge |
First edge time. This time is relative to signal period. The value for this parameter is between 0 and FTM_MAX_DUTY_CYCLE(0 = 0% from period and FTM_MAX_DUTY_CYCLE = 100% from period)
Definition at line 165 of file ftm_pwm_driver.h.
uint8_t hwChannelId |
Physical hardware channel ID for channel (n)
Definition at line 164 of file ftm_pwm_driver.h.
ftm_safe_state_polarity_t levelSelect |
The selection of the channel (n) mode
Definition at line 181 of file ftm_pwm_driver.h.
ftm_safe_state_polarity_t levelSelectOnNextChn |
The selection of the channel (n+1) mode
Definition at line 182 of file ftm_pwm_driver.h.
ftm_polarity_t mainChannelPolarity |
Main channel polarity. For FTM_POLARITY_HIGH first output value is 0 and for FTM_POLAIRTY first output value is 1
Definition at line 171 of file ftm_pwm_driver.h.
ftm_second_channel_polarity_t secondChannelPolarity |
Select channel (n+1) polarity relative to channel (n)
Definition at line 174 of file ftm_pwm_driver.h.
uint16_t secondEdge |
Second edge time. This time is relative to signal period. The value for this parameter is between 0 and FTM_MAX_DUTY_CYCLE(0 = 0% from period and FTM_MAX_DUTY_CYCLE = 100% from period)
Definition at line 167 of file ftm_pwm_driver.h.