eFlexPwm
Arduino eFlexPwm library for Teensy 4.x
|
PWM config structure. More...
#include <nxp-enums-struct.h>
PWM config structure.
This structure holds the configuration settings for the PWM peripheral. To initialize this structure to reasonable defaults, call the PWM_GetDefaultConfig() function and pass a pointer to your config structure instance.
The config struct can be made const so it resides in flash
Definition at line 323 of file nxp-enums-struct.h.
pwm_clock_source_t _pwm_config::clockSource |
Clock source for the counter
Definition at line 331 of file nxp-enums-struct.h.
Referenced by eFlex::Config::clockSource(), and eFlex::Config::setClockSource().
bool _pwm_config::debugModeEnabled |
true: PWM continues to run in debug mode; false: PWM is paused in debug mode
Definition at line 324 of file nxp-enums-struct.h.
bool _pwm_config::enableWait |
true: PWM continues to run in WAIT mode; false: PWM is paused in WAIT mode
Definition at line 327 of file nxp-enums-struct.h.
Referenced by eFlex::Config::enableWaitMode(), and eFlex::Config::waitModeEnabled().
pwm_force_output_trigger_t _pwm_config::forceTrigger |
Specify which signal will trigger a FORCE_OUT
Definition at line 338 of file nxp-enums-struct.h.
Referenced by eFlex::Config::forceTrigger(), and eFlex::Config::setForceTrigger().
pwm_init_source_t _pwm_config::initializationControl |
Option to initialize the counter
Definition at line 330 of file nxp-enums-struct.h.
Referenced by eFlex::Config::initializationControl(), and eFlex::Config::setInitializationControl().
pwm_chnl_pair_operation_t _pwm_config::pairOperation |
Channel pair in indepedent or complementary mode
Definition at line 333 of file nxp-enums-struct.h.
Referenced by eFlex::Config::pairOperation(), and eFlex::Config::setPairOperation().
pwm_clock_prescale_t _pwm_config::prescale |
Pre-scaler to divide down the clock
Definition at line 332 of file nxp-enums-struct.h.
Referenced by eFlex::Config::prescale(), and eFlex::Config::setPrescale().
pwm_load_frequency_t _pwm_config::reloadFrequency |
Specifies when to reload, used when user's choice is not immediate reload
Definition at line 336 of file nxp-enums-struct.h.
Referenced by eFlex::Config::reloadFrequency(), and eFlex::Config::setReloadFrequency().
pwm_register_reload_t _pwm_config::reloadLogic |
PWM Reload logic setup
Definition at line 334 of file nxp-enums-struct.h.
Referenced by eFlex::Config::reloadLogic(), and eFlex::Config::setReloadLogic().
pwm_reload_source_select_t _pwm_config::reloadSelect |
Reload source select
Definition at line 335 of file nxp-enums-struct.h.
Referenced by eFlex::Config::reloadSelect(), and eFlex::Config::setReloadSelect().