Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Timer/Counter (TC) Timeout Driver internals

Data Structures

struct  tc_timeout_struct
 TC Timeout timekeeping data. More...
 

Macros

#define TC_TIMEOUT_ASSR_MASK   0
 
#define TC_TIMEOUT_COMP_vect   TIMER2_COMP_vect
 
#define TC_TIMEOUT_OCIE   OCIE2A
 
#define TC_TIMEOUT_OCR   OCR2A
 
#define TC_TIMEOUT_TCCRA   TCCR2A
 
#define TC_TIMEOUT_TIMSK   TIMSK2
 

Functions

 ISR (TC_TIMEOUT_COMP_vect)
 Interrupt handler for TC compare. More...
 

Variables

static uint8_t tc_timeout_active
 Bitmask of active timeouts. More...
 
static struct tc_timeout_struct tc_timeout_array [CONFIG_TC_TIMEOUT_COUNT]
 Array of configurable timeout timekeeping data. More...
 
static uint8_t tc_timeout_expired
 bitmask of expired timeouts More...
 

#define TC_TIMEOUT_ASSR_MASK   0

Referenced by tc_timeout_init().

#define TC_TIMEOUT_COMP_vect   TIMER2_COMP_vect
#define TC_TIMEOUT_OCIE   OCIE2A

Referenced by tc_timeout_init().

#define TC_TIMEOUT_OCR   OCR2A

Referenced by tc_timeout_init().

#define TC_TIMEOUT_TCCRA   TCCR2A

Referenced by tc_timeout_init().

#define TC_TIMEOUT_TIMSK   TIMSK2

Referenced by tc_timeout_init().

uint8_t tc_timeout_active
static

Bitmask of active timeouts.

Referenced by ISR(), tc_timeout_start_offset(), and tc_timeout_stop().

struct tc_timeout_struct tc_timeout_array[CONFIG_TC_TIMEOUT_COUNT]
static

Array of configurable timeout timekeeping data.

See Also
tc_timeout_configuration

Referenced by ISR(), and tc_timeout_start_offset().

uint8_t tc_timeout_expired
static

bitmask of expired timeouts

Referenced by ISR(), tc_timeout_start_offset(), and tc_timeout_test_and_clear_expired().