ATxmega Core
Loading...
Searching...
No Matches
hwbp_sync.c File Reference
#include <avr/io.h>
#include "cpu.h"
#include "hwbp_sync.h"
#include "hwbp_core_regs.h"
Include dependency graph for hwbp_sync.c:

Functions

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

Variables

static uint32_t sync_timestamp
 
static uint32_t * core_timestamp_pointer
 
static uint32_t previous_timestamp = 0
 
struct CommonBank commonbank
 
bool clock_was_just_updated_externaly = false
 
static uint8_t state = 0
 
static uint8_t converging
 
uint8_t device_lost_sync_counter = 254
 

Function Documentation

◆ initialize_timestamp_uart()

void initialize_timestamp_uart ( uint32_t * timestamp_pointer)

◆ reset_sync_counter()

void reset_sync_counter ( void )

◆ switch()

switch ( state )

◆ trigger_sync_timer()

void trigger_sync_timer ( void )

Variable Documentation

◆ clock_was_just_updated_externaly

bool clock_was_just_updated_externaly = false

◆ commonbank

struct CommonBank commonbank
extern

◆ converging

uint8_t converging
static

◆ core_timestamp_pointer

uint32_t* core_timestamp_pointer
static

◆ device_lost_sync_counter

uint8_t device_lost_sync_counter = 254

◆ previous_timestamp

uint32_t previous_timestamp = 0
static

◆ state

uint8_t state = 0
static

◆ sync_timestamp

uint32_t sync_timestamp
static