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().
ISR | ( | TC_TIMEOUT_COMP_vect | ) |
Interrupt handler for TC compare.
References tc_timeout_struct::count, count, tc_timeout_struct::period, tc_timeout_active, tc_timeout_array, and tc_timeout_expired.
|
static |
Bitmask of active timeouts.
Referenced by ISR(), tc_timeout_start_offset(), and tc_timeout_stop().
|
static |
Array of configurable timeout timekeeping data.
Referenced by ISR(), and tc_timeout_start_offset().
|
static |
bitmask of expired timeouts
Referenced by ISR(), tc_timeout_start_offset(), and tc_timeout_test_and_clear_expired().