17#if defined(__AVR_ATxmega16A4U__)
18 #define RESET_TIMESTAMP_COUNTER reset_sync_counter()
20 #define RESET_TIMESTAMP_COUNTER
27#if defined(__AVR_ATxmega16A4U__)
28 #define SYNC_TRIGGER_TIMER trigger_sync_timer()
30 #define SYNC_TRIGGER_TIMER
37#if defined(__AVR_ATxmega16A4U__)
38 #define INCREASE_LOST_SYNC_COUNTER
40 #define INCREASE_LOST_SYNC_COUNTER if(++device_lost_sync_counter == 255) device_lost_sync_counter = 254; if(device_lost_sync_counter >= 5 ) commonbank.R_HEARTBEAT &= ~B_IS_SYNCHRONIZED
void trigger_sync_timer(void)
Definition hwbp_sync.c:114
void reset_sync_counter(void)
Definition hwbp_sync.c:105
void initialize_timestamp_uart(uint32_t *timestamp_pointer)
Definition hwbp_sync.c:31