PPS-Client  2.0.0
Client for synchronizing the system clock to a GPS PPS source
Classes | Macros | Typedefs
timepps.h File Reference
#include <errno.h>
#include <unistd.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#include <linux/types.h>
#include <linux/pps.h>
Include dependency graph for timepps.h:

Go to the source code of this file.

Classes

struct  ntp_fp
 
union  pps_timeu
 
struct  pps_info
 
struct  pps_params
 

Macros

#define LINUXPPS   1 /* signal we are using LinuxPPS */
 
#define assert_timestamp   assert_tu.tspec
 
#define clear_timestamp   clear_tu.tspec
 
#define assert_timestamp_ntpfp   assert_tu.ntpfp
 
#define clear_timestamp_ntpfp   clear_tu.ntpfp
 
#define assert_offset   assert_off_tu.tspec
 
#define clear_offset   clear_off_tu.tspec
 
#define assert_offset_ntpfp   assert_off_tu.ntpfp
 
#define clear_offset_ntpfp   clear_off_tu.ntpfp
 

Typedefs

typedef int pps_handle_t
 
typedef unsigned long pps_seq_t
 
typedef struct ntp_fp ntp_fp_t
 
typedef union pps_timeu pps_timeu_t
 
typedef struct pps_info pps_info_t
 
typedef struct pps_params pps_params_t
 

Macro Definition Documentation

◆ assert_offset

#define assert_offset   assert_off_tu.tspec

Definition at line 74 of file timepps.h.

◆ assert_offset_ntpfp

#define assert_offset_ntpfp   assert_off_tu.ntpfp

Definition at line 77 of file timepps.h.

◆ assert_timestamp

#define assert_timestamp   assert_tu.tspec

Definition at line 68 of file timepps.h.

◆ assert_timestamp_ntpfp

#define assert_timestamp_ntpfp   assert_tu.ntpfp

Definition at line 71 of file timepps.h.

◆ clear_offset

#define clear_offset   clear_off_tu.tspec

Definition at line 75 of file timepps.h.

◆ clear_offset_ntpfp

#define clear_offset_ntpfp   clear_off_tu.ntpfp

Definition at line 78 of file timepps.h.

◆ clear_timestamp

#define clear_timestamp   clear_tu.tspec

Definition at line 69 of file timepps.h.

◆ clear_timestamp_ntpfp

#define clear_timestamp_ntpfp   clear_tu.ntpfp

Definition at line 72 of file timepps.h.

◆ LINUXPPS

#define LINUXPPS   1 /* signal we are using LinuxPPS */

Definition at line 29 of file timepps.h.

Typedef Documentation

◆ ntp_fp_t

typedef struct ntp_fp ntp_fp_t

Definition at line 61 of file timepps.h.

◆ pps_handle_t

typedef int pps_handle_t

Definition at line 60 of file timepps.h.

◆ pps_info_t

typedef struct pps_info pps_info_t

Definition at line 61 of file timepps.h.

◆ pps_params_t

typedef struct pps_params pps_params_t

Definition at line 61 of file timepps.h.

◆ pps_seq_t

typedef unsigned long pps_seq_t

Definition at line 61 of file timepps.h.

◆ pps_timeu_t

typedef union pps_timeu pps_timeu_t

Definition at line 61 of file timepps.h.