gPTP Documentation
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
avbts_clock.hpp File Reference
#include <stdint.h>
#include <ieee1588.hpp>
#include <avbts_port.hpp>
#include <avbts_ostimerq.hpp>
#include <avbts_osipc.hpp>
Include dependency graph for avbts_clock.hpp:

Go to the source code of this file.

Classes

struct  ClockQuality
 
class  IEEE1588Clock
 

Macros

#define EVENT_TIMER_GRANULARITY   5000000
 
#define INTEGRAL   0.0024
 
#define PROPORTIONAL   1.0
 
#define UPPER_FREQ_LIMIT   250.0
 
#define LOWER_FREQ_LIMIT   -250.0
 

Functions

void tick_handler (int sig)
 

Macro Definition Documentation

#define EVENT_TIMER_GRANULARITY   5000000

Event timer granularity

#define INTEGRAL   0.0024

PI controller integral factor

#define LOWER_FREQ_LIMIT   -250.0

Lower frequency limit

#define PROPORTIONAL   1.0

PI controller proportional factor

#define UPPER_FREQ_LIMIT   250.0

Upper frequency limit

Function Documentation

void tick_handler ( int  sig)
Parameters
sigSignal
Returns
void