eaarl-io  1.0.1+71abbd4
EAARL Input/Output Library (Public API)
raster.h
Go to the documentation of this file.
1 #ifndef EAARLIO_RASTER_H
2 #define EAARLIO_RASTER_H
3 
16 #include "eaarlio/memory.h"
17 #include "eaarlio/pulse.h"
18 #include <stdint.h>
19 
29  uint32_t time_seconds;
30 
36  uint32_t time_fraction;
37 
45  uint32_t sequence_number;
46 
48  uint16_t pulse_count;
49 
51  uint8_t digitizer;
52 
59 };
60 
66 #define eaarlio_raster_empty() \
67  (struct eaarlio_raster) \
68  { \
69  0, 0, 0, 0, 0, NULL \
70  }
71 
88  struct eaarlio_memory *memory);
89 
90 #endif
uint32_t time_fraction
Fractional seconds component of timestamp.
Definition: raster.h:36
Memory handler.
eaarlio_error
Definition: error.h:16
uint32_t sequence_number
Sequence number, ignore.
Definition: raster.h:45
uint16_t pulse_count
Number of pulses in this raster.
Definition: raster.h:48
Structure and support for EAARL pulse data.
Memory handler structure.
Definition: memory.h:41
uint32_t time_seconds
Integer seconds component of timestamp.
Definition: raster.h:29
uint8_t digitizer
Digitizer used: 0 or 1.
Definition: raster.h:51
EAARL raster record.
Definition: raster.h:23
struct eaarlio_pulse * pulse
Pulse records.
Definition: raster.h:58
eaarlio_error eaarlio_raster_free(struct eaarlio_raster *raster, struct eaarlio_memory *memory)
Free memory allocated to fields in eaarlio_raster.
EAARL pulse record.
Definition: pulse.h:23