ftm_independent_ch_param_t Struct Reference

FlexTimer driver independent PWM parameter. More...

#include <platform/drivers/inc/ftm_pwm_driver.h>

Data Fields

uint8_t hwChannelId
 
ftm_polarity_t polarity
 
uint16_t uDutyCyclePercent
 
bool enableExternalTrigger
 
ftm_safe_state_polarity_t levelSelect
 
bool enableSecondChannelOutput
 
ftm_second_channel_polarity_t secondChannelPolarity
 
bool deadTime
 

Detailed Description

FlexTimer driver independent PWM parameter.

Implements : ftm_independent_ch_param_t_Class

Definition at line 143 of file ftm_pwm_driver.h.

Field Documentation

bool deadTime

Enable/disable dead time for channel

Definition at line 154 of file ftm_pwm_driver.h.

bool enableExternalTrigger

true: enable the generation of a trigger is used for on-chip modules false: disable the generation of a trigger

Definition at line 149 of file ftm_pwm_driver.h.

bool enableSecondChannelOutput

Enable complementary mode on next channel

Definition at line 152 of file ftm_pwm_driver.h.

uint8_t hwChannelId

Physical hardware channel ID

Definition at line 145 of file ftm_pwm_driver.h.

The selection of the channel (n) mode

Definition at line 151 of file ftm_pwm_driver.h.

ftm_polarity_t polarity

PWM output polarity

Definition at line 146 of file ftm_pwm_driver.h.

ftm_second_channel_polarity_t secondChannelPolarity

Polarity of the channel n+1 relative to channel n

Definition at line 153 of file ftm_pwm_driver.h.

uint16_t uDutyCyclePercent

PWM pulse width, value should be between 0 (0%) to FTM_MAX_DUTY_CYCLE (100%)

Definition at line 147 of file ftm_pwm_driver.h.


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