Microchip® Advanced Software Framework

tc_pwm_channel Struct Reference

Configuration struct for TC module in 32-bit size counter mode.

#include <tc.h>

Data Fields

bool enabled
 When true, PWM output for the given channel is enabled. More...
 
uint32_t pin_mux
 Specifies Multiplexer (MUX) setting for each output channel pin. More...
 
uint32_t pin_out
 Specifies pin output for each channel. More...
 

bool tc_pwm_channel::enabled

When true, PWM output for the given channel is enabled.

Referenced by tc_get_config_defaults(), and tc_init().

uint32_t tc_pwm_channel::pin_mux

Specifies Multiplexer (MUX) setting for each output channel pin.

Referenced by tc_get_config_defaults(), and tc_init().

uint32_t tc_pwm_channel::pin_out

Specifies pin output for each channel.

Referenced by tc_get_config_defaults(), and tc_init().