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 tc_init().

uint8_t tc_8bit_config::period

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

Referenced by tc_init().

uint8_t tc_8bit_config::value

Initial timer count value.

Referenced by tc_init().