S32 SDK
ftm_combined_ch_param_t Struct Reference

FlexTimer driver combined PWM parameter. More...

#include <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
 

Detailed Description

FlexTimer driver combined PWM parameter.

Implements : ftm_combined_ch_param_t_Class

Definition at line 104 of file ftm_pwm_driver.h.

Field Documentation

bool deadTime

Enable/disable dead time for channel

Definition at line 111 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 117 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 120 of file ftm_pwm_driver.h.

bool enableModifiedCombine

Enable/disable the modified combine mode for channels (n) and (n+1)

Definition at line 112 of file ftm_pwm_driver.h.

bool enableSecondChannelOutput

Select if channel (n+1) output is enabled/disabled

Definition at line 115 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 107 of file ftm_pwm_driver.h.

uint8_t hwChannelId

Physical hardware channel ID for channel (n)

Definition at line 106 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 113 of file ftm_pwm_driver.h.

ftm_second_channel_polarity_t secondChannelPolarity

Select channel (n+1) polarity relative to channel (n)

Definition at line 116 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 109 of file ftm_pwm_driver.h.


The documentation for this struct was generated from the following file: