CLEON
Version 1
Cloud-Offloaded GPS Receiver
|
GPS related functions. More...
#include <hal_define.h>
Go to the source code of this file.
Data Structures | |
union | samples_per_ms_u |
union | intermediate_frequency_u |
struct | receiver_setting_s |
union | chunk_count_u |
union | chunk_size_ms_u |
union | chunk_gap_ms_u |
union | gps_signal_data_format_u |
union | cleon_gps_data_u |
Macros | |
#define | SIZE_OF_GPS_DATA_CHUNK_IN_BYTE 8184 |
#define | MAX_NUMBER_OF_GPS_TEST_COUNT 3 |
#define | MAX2769_SHDN_N_HIGH() MAX2769_SHDN_N_PORT(OUT) |= BV(MAX2769_SHDN_N_PIN); |
#define | MAX2769_SHDN_N_LOW() MAX2769_SHDN_N_PORT(OUT) &= ~BV(MAX2769_SHDN_N_PIN); |
#define | MAX2769_IDLE_N_HIGH() MAX2769_IDLE_N_PORT(OUT) |= BV(MAX2769_IDLE_N_PIN); |
#define | MAX2769_IDLE_N_LOW() MAX2769_IDLE_N_PORT(OUT) &= ~BV(MAX2769_IDLE_N_PIN); |
#define | SYS_GPS_TimingDealy(n) |
Functions | |
void | SYS_GPS_Init (void) |
Initializing GPS. | |
void | SYS_GPS_InitDataIO (void) |
Initializing GPS data pins. | |
void | SYS_GPS_InitControlIO (void) |
Initializing GPS control pins. | |
void | SYS_GPS_InitProgramIO (void) |
Initializing GPS control pins. | |
void | SYS_GPS_StartOperation (void) |
Starting GPS operation. | |
void | SYS_GPS_StopOperation (void) |
Starting GPS operation. | |
bool | SYS_GPS_TestGPS (unsigned int uiDelay) |
Test if GPS is initalized properly. | |
GPS related functions.
Definition in file sys_gps.h.
#define MAX2769_IDLE_N_HIGH | ( | ) | MAX2769_IDLE_N_PORT(OUT) |= BV(MAX2769_IDLE_N_PIN); |
#define MAX2769_IDLE_N_LOW | ( | ) | MAX2769_IDLE_N_PORT(OUT) &= ~BV(MAX2769_IDLE_N_PIN); |
#define MAX2769_SHDN_N_HIGH | ( | ) | MAX2769_SHDN_N_PORT(OUT) |= BV(MAX2769_SHDN_N_PIN); |
#define MAX2769_SHDN_N_LOW | ( | ) | MAX2769_SHDN_N_PORT(OUT) &= ~BV(MAX2769_SHDN_N_PIN); |
#define SYS_GPS_TimingDealy | ( | n | ) |
void SYS_GPS_Init | ( | void | ) |
Initializing GPS.
void |
Definition at line 29 of file sys_gps.c.
void SYS_GPS_InitControlIO | ( | void | ) |
void SYS_GPS_InitDataIO | ( | void | ) |
void SYS_GPS_InitProgramIO | ( | void | ) |
Initializing GPS control pins.
void |
Definition at line 168 of file sys_gps.c.
void SYS_GPS_StartOperation | ( | void | ) |
void SYS_GPS_StopOperation | ( | void | ) |
bool SYS_GPS_TestGPS | ( | unsigned int | uiDelay | ) |
Test if GPS is initalized properly.
uiDelay | - time for GPS to settle down (in milliseconds) |
Definition at line 228 of file sys_gps.c.