#include "tc.h"
Macros | |
#define | DELAY_COUNTER (&TCC1) |
Functions | |
void | sha204h_delay_ms (uint16_t delay) |
This function delays for a number of milliseconds. More... | |
void | sha204h_start_timeout_timer_ms (uint16_t timeout) |
This function starts a timeout timer. More... | |
void | sha204h_start_timer (uint16_t delay, uint8_t is_blocking) |
This function delays for a number of microseconds (not compiled). More... | |
void | sha204h_timer_init (void) |
This function initializes a delay timer. More... | |
static void | sha204h_timer_overflow_interrupt_callback (void) |
Timer Counter Overflow interrupt call back function. More... | |
Variables | |
volatile bool | sha204_timer_expired = false |
timer expired flag set by overflow interrupt call back function More... | |
#define DELAY_COUNTER (&TCC1) |
Referenced by sha204h_start_timer(), and sha204h_timer_init().
|
static |
Timer Counter Overflow interrupt call back function.
This function is called when an overflow interrupt has occurred on DELAY_COUNTER.
References sha204_timer_expired.
Referenced by sha204h_timer_init().
timer expired flag set by overflow interrupt call back function
< compiler dependent definitions
Referenced by sha204c_send_and_receive(), sha204h_start_timer(), and sha204h_timer_overflow_interrupt_callback().