Microchip® Advanced Software Framework

Configuration struct for the TCC module output pins.

Structure which is used when taking wave output from TCC.

#include <tcc.h>

Data Fields

bool enable_wave_out_pin [TCC_NUM_WAVE_OUTPUTS]
 When true, PWM output pin for the given channel is enabled. More...
 
uint32_t wave_out_pin [TCC_NUM_WAVE_OUTPUTS]
 Specifies pin output for each channel. More...
 
uint32_t wave_out_pin_mux [TCC_NUM_WAVE_OUTPUTS]
 Specifies MUX setting for each output channel pin. More...
 

bool tcc_pins_config::enable_wave_out_pin[TCC_NUM_WAVE_OUTPUTS]

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

Referenced by configure_tcc(), run_capture_and_compare_test(), and tcc_init().

uint32_t tcc_pins_config::wave_out_pin[TCC_NUM_WAVE_OUTPUTS]

Specifies pin output for each channel.

Referenced by configure_tcc(), run_capture_and_compare_test(), and tcc_init().

uint32_t tcc_pins_config::wave_out_pin_mux[TCC_NUM_WAVE_OUTPUTS]

Specifies MUX setting for each output channel pin.

Referenced by configure_tcc(), run_capture_and_compare_test(), and tcc_init().