Microchip® Advanced Software Framework

pwm_channel_t Struct Reference

Input parameters when configuring a PWM channel mode.

#include <pwm.h>

Data Fields

pwm_align_t alignment
 Channel alignment. More...
 
uint32_t channel
 Channel number. More...
 
pwm_level_t polarity
 Channel initial polarity. More...
 
uint32_t ul_duty
 Duty Cycle Value. More...
 
uint32_t ul_period
 Period Cycle Value. More...
 
uint32_t ul_prescaler
 Channel prescaler. More...
 

pwm_align_t pwm_channel_t::alignment

Channel alignment.

Referenced by main(), and pwm_channel_init().

uint32_t pwm_channel_t::channel
pwm_level_t pwm_channel_t::polarity

Channel initial polarity.

Referenced by main(), and pwm_channel_init().

uint32_t pwm_channel_t::ul_duty
uint32_t pwm_channel_t::ul_period
uint32_t pwm_channel_t::ul_prescaler

Channel prescaler.

Referenced by main(), and pwm_channel_init().