![]() |
S32 SDK
|
FlexTimer driver combined PWM parameter. More...
#include <ftm_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 |
FlexTimer driver combined PWM parameter.
Implements : ftm_combined_ch_param_t_Class
Definition at line 273 of file ftm_driver.h.
bool deadTime |
Enable/disable dead time for channel
Definition at line 280 of file ftm_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 286 of file ftm_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 289 of file ftm_driver.h.
bool enableModifiedCombine |
Enable/disable the modified combine mode for channels (n) and (n+1)
Definition at line 281 of file ftm_driver.h.
bool enableSecondChannelOutput |
Select if channel (n+1) output is enabled/disabled
Definition at line 284 of file ftm_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 276 of file ftm_driver.h.
uint8_t hwChannelId |
Physical hardware channel ID for channel (n)
Definition at line 275 of file ftm_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 282 of file ftm_driver.h.
ftm_second_channel_polarity_t secondChannelPolarity |
Select channel (n+1) polarity relative to channel (n)
Definition at line 285 of file ftm_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 278 of file ftm_driver.h.