Profishark API  2.3.12.0
ProfisharkAPITimingTime Struct Reference

Timing configuration. More...

#include <ProfisharkAPI.h>

Data Fields

ProfisharkAPITimeSource source
 Time Source. More...
 
uint32_t sec
 
uint32_t nsec
 

Detailed Description

Timing configuration.

Field Documentation

◆ nsec

uint32_t nsec

Nanoseconds

◆ sec

uint32_t sec

Seconds since 01/01/1970

◆ source

Time Source.

Can only be ProfisharkAPITimeSource_Manual, ProfisharkAPITimeSource_SNTP or ProfisharkAPITimeSource_GPS ProfisharkAPITimeSource_Manual and ProfisharkAPITimeSource_SNTP work similarly, but time will be reported as coming from either a manual source or from SNTP when retrieving timing info. sec and nsec must be filled with seconds since 01/01/1970 and nanoseconds since the beginning of that second. ProfisharkAPITimeSource_GPS does not need sec and nsec to be filled. It instructs the board to load the time from GPS ass soon as possible.


The documentation for this struct was generated from the following file: