Microchip® Advanced Software Framework

pwm_fault_t Struct Reference

Configuration of PWM fault input behaviors.

#include <pwm.h>

Data Fields

bool b_clear
 Boolean of clearing fault flag. More...
 
bool b_filtered
 Boolean of fault filtering. More...
 
pwm_fault_id_t fault_id
 Fault ID. More...
 
pwm_level_t polarity
 Polarity of fault input. More...
 

bool pwm_fault_t::b_clear

Boolean of clearing fault flag.

Referenced by pwm_fault_init().

bool pwm_fault_t::b_filtered

Boolean of fault filtering.

Referenced by pwm_fault_init().

pwm_fault_id_t pwm_fault_t::fault_id

Fault ID.

Referenced by pwm_fault_init().

pwm_level_t pwm_fault_t::polarity

Polarity of fault input.

Referenced by pwm_fault_init().