Microchip® Advanced Software Framework

tc_8bit_config Struct Reference

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

#include <tc.h>

Data Fields

uint8_t compare_capture_channel [NUMBER_OF_COMPARE_CAPTURE_CHANNELS]
 Value to be used for compare match on each channel. More...
 
uint8_t period
 Where to count to or from depending on the direction on the counter. More...
 
uint8_t value
 Initial timer count value. More...
 

uint8_t tc_8bit_config::compare_capture_channel[NUMBER_OF_COMPARE_CAPTURE_CHANNELS]

Value to be used for compare match on each channel.

Referenced by configure_tc().

uint8_t tc_8bit_config::period

Where to count to or from depending on the direction on the counter.

Referenced by adp_example_tc_configure(), configure_tc(), and hw_timer_init().

uint8_t tc_8bit_config::value

Initial timer count value.

Referenced by adp_example_tc_configure().