eFlexPwm
Arduino eFlexPwm library for Teensy 4.x
_pwm_signal_param

Structure for the user to define the PWM signal characteristics. More...

#include <nxp-enums-struct.h>

Collaboration diagram for _pwm_signal_param:

Public Attributes

pwm_channels_t pwmChannel
 
uint8_t dutyCyclePercent
 
pwm_level_select_t level
 
uint16_t deadtimeValue
 
pwm_fault_state_t faultState
 
bool pwmchannelenable
 

Detailed Description

Structure for the user to define the PWM signal characteristics.

Definition at line 303 of file nxp-enums-struct.h.

Member Data Documentation

◆ deadtimeValue

uint16_t _pwm_signal_param::deadtimeValue

The deadtime value; only used if channel pair is operating in complementary mode

Definition at line 309 of file nxp-enums-struct.h.

Referenced by eFlex::SubModule::deadtimeSetting(), and eFlex::SubModule::setupDeadtime().

◆ dutyCyclePercent

uint8_t _pwm_signal_param::dutyCyclePercent

PWM pulse width, value should be between 0 to 100 0=inactive signal(0% duty cycle)... 100=always active signal (100% duty cycle)

Definition at line 305 of file nxp-enums-struct.h.

Referenced by eFlex::SubModule::dutyCyclePercentSetting(), and eFlex::SubModule::setupDutyCyclePercent().

◆ faultState

pwm_fault_state_t _pwm_signal_param::faultState

PWM output fault status

Definition at line 310 of file nxp-enums-struct.h.

Referenced by eFlex::SubModule::faultStateSetting(), and eFlex::SubModule::setupFaultState().

◆ level

pwm_level_select_t _pwm_signal_param::level

PWM output active level select

Definition at line 308 of file nxp-enums-struct.h.

Referenced by eFlex::SubModule::levelSetting(), and eFlex::SubModule::setupLevel().

◆ pwmChannel

pwm_channels_t _pwm_signal_param::pwmChannel

PWM channel being configured; PWM A or PWM B

Definition at line 304 of file nxp-enums-struct.h.

◆ pwmchannelenable

bool _pwm_signal_param::pwmchannelenable

Enable PWM output

Definition at line 311 of file nxp-enums-struct.h.

Referenced by eFlex::SubModule::outputEnableSetting(), and eFlex::SubModule::setupOutputEnable().