RTEMS 6.1-rc6
|
PWM config structure. More...
#include <fsl_pwm.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
pwm_clock_source_t _pwm_config::clockSource |
Clock source for the counter
bool _pwm_config::enableDebugMode |
true: PWM continues to run in debug mode; false: PWM is paused in debug mode
bool _pwm_config::enableWait |
true: PWM continues to run in WAIT mode; false: PWM is paused in WAIT mode
pwm_force_output_trigger_t _pwm_config::forceTrigger |
Specify which signal will trigger a FORCE_OUT
pwm_init_source_t _pwm_config::initializationControl |
Option to initialize the counter
pwm_chnl_pair_operation_t _pwm_config::pairOperation |
Channel pair in indepedent or complementary mode
pwm_clock_prescale_t _pwm_config::prescale |
Pre-scaler to divide down the clock
pwm_load_frequency_t _pwm_config::reloadFrequency |
Specifies when to reload, used when user's choice is not immediate reload
pwm_register_reload_t _pwm_config::reloadLogic |
PWM Reload logic setup
pwm_reload_source_select_t _pwm_config::reloadSelect |
Reload source select