ATxmega Core
Loading...
Searching...
No Matches
hwbp_sync.h File Reference
#include <avr/io.h>
Include dependency graph for hwbp_sync.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RESET_TIMESTAMP_COUNTER
 
#define SYNC_TRIGGER_TIMER
 
#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
 

Functions

void initialize_timestamp_uart (uint32_t *timestamp_pointer)
 
void reset_sync_counter (void)
 
void trigger_sync_timer (void)
 

Macro Definition Documentation

◆ INCREASE_LOST_SYNC_COUNTER

#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

◆ RESET_TIMESTAMP_COUNTER

#define RESET_TIMESTAMP_COUNTER

◆ SYNC_TRIGGER_TIMER

#define SYNC_TRIGGER_TIMER

Function Documentation

◆ initialize_timestamp_uart()

void initialize_timestamp_uart ( uint32_t * timestamp_pointer)

◆ reset_sync_counter()

void reset_sync_counter ( void )

◆ trigger_sync_timer()

void trigger_sync_timer ( void )