Microchip® Advanced Software Framework

pwm_opt_t Struct Reference

Input parameters when initializing a PWM channel.

#include <pwm4.h>

Data Fields

unsigned int cksel
 Clock Input Selection. More...
 
unsigned int diva
 CLKA divide factor. More...
 
unsigned int divb
 CLKB divide factor. More...
 
unsigned char fault_detection_activated
 Fault Detection Activation. More...
 
unsigned int prea
 Divider input clock A. More...
 
unsigned int preb
 Divider input clock B. More...
 
unsigned char sync_channel_activated
 Synchronous Channel Activation. More...
 
unsigned char sync_channel_select [PWM_OOV_LINES]
 Synchronous Channel Select. More...
 
unsigned char sync_update_channel_mode
 Synchronous channel Mode. More...
 

unsigned int pwm_opt_t::cksel

Clock Input Selection.

Referenced by main(), and pwm_init().

unsigned int pwm_opt_t::diva

CLKA divide factor.

Referenced by main(), and pwm_init().

unsigned int pwm_opt_t::divb

CLKB divide factor.

Referenced by main(), and pwm_init().

unsigned char pwm_opt_t::fault_detection_activated

Fault Detection Activation.

Referenced by main(), and pwm_init().

unsigned int pwm_opt_t::prea

Divider input clock A.

Referenced by main(), and pwm_init().

unsigned int pwm_opt_t::preb

Divider input clock B.

Referenced by main(), and pwm_init().

unsigned char pwm_opt_t::sync_channel_activated

Synchronous Channel Activation.

Referenced by main(), and pwm_init().

unsigned char pwm_opt_t::sync_channel_select[PWM_OOV_LINES]

Synchronous Channel Select.

Referenced by main(), and pwm_init().

unsigned char pwm_opt_t::sync_update_channel_mode

Synchronous channel Mode.

Referenced by main(), and pwm_init().