RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Data Fields
_pwm_config Struct Reference

PWM config structure. More...

#include <fsl_pwm.h>

Data Fields

bool enableDebugMode
 
bool enableWait
 
pwm_init_source_t initializationControl
 
pwm_clock_source_t clockSource
 
pwm_clock_prescale_t prescale
 
pwm_chnl_pair_operation_t pairOperation
 
pwm_register_reload_t reloadLogic
 
pwm_reload_source_select_t reloadSelect
 
pwm_load_frequency_t reloadFrequency
 
pwm_force_output_trigger_t forceTrigger
 

Detailed Description

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

Field Documentation

◆ clockSource

pwm_clock_source_t _pwm_config::clockSource

Clock source for the counter

◆ enableDebugMode

bool _pwm_config::enableDebugMode

true: PWM continues to run in debug mode; false: PWM is paused in debug mode

◆ enableWait

bool _pwm_config::enableWait

true: PWM continues to run in WAIT mode; false: PWM is paused in WAIT mode

◆ forceTrigger

pwm_force_output_trigger_t _pwm_config::forceTrigger

Specify which signal will trigger a FORCE_OUT

◆ initializationControl

pwm_init_source_t _pwm_config::initializationControl

Option to initialize the counter

◆ pairOperation

pwm_chnl_pair_operation_t _pwm_config::pairOperation

Channel pair in indepedent or complementary mode

◆ prescale

pwm_clock_prescale_t _pwm_config::prescale

Pre-scaler to divide down the clock

◆ reloadFrequency

pwm_load_frequency_t _pwm_config::reloadFrequency

Specifies when to reload, used when user's choice is not immediate reload

◆ reloadLogic

pwm_register_reload_t _pwm_config::reloadLogic

PWM Reload logic setup

◆ reloadSelect

pwm_reload_source_select_t _pwm_config::reloadSelect

Reload source select


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