NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
nvpps_ioctl.h File Reference

Go to the source code of this file.

Data Structures

struct  _version
 structure to hold Driver version info More...
 
struct  _api
 structure to hold API version info More...
 
struct  nvpps_version
 Driver & API Version information structure. More...
 
struct  nvpps_params
 Configuration parameters structure. More...
 
struct  nvpps_timeevent
 PPS time event structure. More...
 
struct  timespec64
 structure to hold precise timestamp data More...
 
struct  nvpps_timestamp_struct
 Structure to hold primary PTP & kernel timestamps. More...
 

Macros

#define NVPPS_GETVERSION   _IOR('p', 0x1, struct nvpps_version *)
 Get NVPPS driver and API version information. More...
 
#define NVPPS_GETPARAMS   _IOR('p', 0x2, struct nvpps_params *)
 Get current NVPPS driver configuration parameters. More...
 
#define NVPPS_SETPARAMS   _IOW('p', 0x3, struct nvpps_params *)
 Set NVPPS driver configuration parameters. More...
 
#define NVPPS_GETEVENT   _IOR('p', 0x4, struct nvpps_timeevent *)
 Get precision timestamped PPS event data. More...
 
#define NVPPS_GETTIMESTAMP   _IOWR('p', 0x5, struct nvpps_timestamp_struct *)
 Get kernel and hardware PTP timestamps. More...
 
#define NVPPS_VERSION_MAJOR   0
 
#define NVPPS_VERSION_MINOR   2
 
#define NVPPS_API_MAJOR   0
 
#define NVPPS_API_MINOR   4
 
#define NVPPS_MODE_GPIO   0x01
 GPIO-based PPS event capture. More...
 
#define NVPPS_MODE_TIMER   0x02
 Timer-based PPS event generation. More...
 
#define NVPPS_TSC_NSEC   0
 TSC reported in nanoseconds. More...
 
#define NVPPS_TSC_COUNTER   1
 TSC reported as raw counter value. More...
 

Typedefs

typedef __s64 time64_t
 
typedef __u64 timeu64_t