Microchip® Advanced Software Framework

pwm_cmp_t Struct Reference

Configurations of PWM comparison.

#include <pwm.h>

Data Fields

bool b_enable
 Boolean of comparison enable. More...
 
bool b_is_decrementing
 Comparison mode. More...
 
bool b_pulse_on_line_0
 Boolean of generating a match pulse on PWM event line 0. More...
 
bool b_pulse_on_line_1
 Boolean of generating a match pulse on PWM event line 1. More...
 
uint32_t ul_period
 Comparison period value. More...
 
uint32_t ul_trigger
 Comparison trigger value. More...
 
uint32_t ul_update_period
 Comparison update period value. More...
 
uint32_t ul_value
 Comparison value. More...
 
uint32_t unit
 Comparison unit number. More...
 

bool pwm_cmp_t::b_enable

Boolean of comparison enable.

Referenced by pwm_cmp_change_setting(), and pwm_cmp_init().

bool pwm_cmp_t::b_is_decrementing

Comparison mode.

Referenced by pwm_cmp_change_setting(), and pwm_cmp_init().

bool pwm_cmp_t::b_pulse_on_line_0

Boolean of generating a match pulse on PWM event line 0.

Referenced by pwm_cmp_change_setting(), and pwm_cmp_init().

bool pwm_cmp_t::b_pulse_on_line_1

Boolean of generating a match pulse on PWM event line 1.

Referenced by pwm_cmp_change_setting(), and pwm_cmp_init().

uint32_t pwm_cmp_t::ul_period

Comparison period value.

Referenced by pwm_cmp_change_setting(), and pwm_cmp_init().

uint32_t pwm_cmp_t::ul_trigger

Comparison trigger value.

Referenced by pwm_cmp_change_setting(), and pwm_cmp_init().

uint32_t pwm_cmp_t::ul_update_period

Comparison update period value.

Referenced by pwm_cmp_change_setting(), and pwm_cmp_init().

uint32_t pwm_cmp_t::ul_value

Comparison value.

Referenced by pwm_cmp_change_setting(), and pwm_cmp_init().

uint32_t pwm_cmp_t::unit

Comparison unit number.

Referenced by pwm_cmp_change_setting(), and pwm_cmp_init().