pe_defs.h
35 lines
| 1.0 KiB
| text/x-c
|
CLexer
|
r132 | /* | ||
* pe_defs.h | ||||
* | ||||
* Created on: Nov 4, 2014 | ||||
* Author: Alan Aguilar Sologuren | ||||
*/ | ||||
#ifndef UTILS_PE_DEFS_H_ | ||||
#define UTILS_PE_DEFS_H_ | ||||
|
r194 | #include <cinttypes> | ||
|
r132 | /** | ||
* | ||||
*/ | ||||
typedef struct pe_data_pkg_{ | ||||
|
r194 | uint8_t frame_cnt; /*<! Serial number of data frame */ | ||
uint8_t status; /*<! Status of buffer: | ||||
BITS : effective bits. '0' (24bits), '1' (32bits) | ||||
DEC : '1' data was decimated | ||||
LOCK : '1' acquired within gnss operation time. | ||||
PPS : '1' buffer with pps information, pps_cnt and | ||||
and pps_index must be read | ||||
'0' pps_cnt and pps_index don't care | ||||
*/ | ||||
uint8_t pps_cnt; /*<! Identifier of specific gnss pps */ | ||||
uint8_t pps_index; /*<! Index of sample that corresponds to that pps */ | ||||
uint32_t* data_buff; /*<! Pointer to 256 samples data buffer */ | ||||
|
r132 | }pe_data_pkg; | ||
#endif /* UTILS_PE_DEFS_H_ */ | ||||