Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
#include "std.h"
Go to the source code of this file.
Macros | |
#define | GPS_I2C_SLAVE_ADDR (0x42 << 1) |
Default address for u-blox (and others?) More... | |
#define | GPS_I2C_BUF_SIZE 256 |
#define | gps_i2cEvent() { if (gps_i2c_done) gps_i2c_event(); } |
#define | gps_i2cChAvailable() (gps_i2c_rx_insert_idx != gps_i2c_rx_extract_idx) |
#define | gps_i2cGetch() (gps_i2c_rx_buf[gps_i2c_rx_extract_idx++]) |
#define | gps_i2cTransmit(_char) |
#define | gps_i2cSendMessage() |
Functions | |
void | gps_i2c_init (void) |
void | gps_i2c_event (void) |
void | gps_i2c_periodic (void) |
#define GPS_I2C_SLAVE_ADDR (0x42 << 1) |
Default address for u-blox (and others?)
Definition at line 29 of file gps_i2c.h.
Referenced by gps_ubx_ucenter_config_port().
#define gps_i2cChAvailable | ( | ) | (gps_i2c_rx_insert_idx != gps_i2c_rx_extract_idx) |
#define gps_i2cEvent | ( | ) | { if (gps_i2c_done) gps_i2c_event(); } |
#define gps_i2cGetch | ( | ) | (gps_i2c_rx_buf[gps_i2c_rx_extract_idx++]) |
#define gps_i2cSendMessage | ( | ) |
#define gps_i2cTransmit | ( | _char | ) |
void gps_i2c_init | ( | void | ) |
Definition at line 55 of file gps_i2c.c.
References FALSE, gps_i2c_data_ready_to_transmit, gps_i2c_done, gps_i2c_rx_extract_idx, gps_i2c_rx_insert_idx, gps_i2c_status, GPS_I2C_STATUS_IDLE, gps_i2c_tx_insert_idx, and TRUE.
bool_t gps_i2c_data_ready_to_transmit |
Definition at line 34 of file gps_i2c.c.
Referenced by gps_i2c_init().
bool_t gps_i2c_done |
Definition at line 34 of file gps_i2c.c.
Referenced by gps_i2c_init().
uint8_t gps_i2c_rx_buf[GPS_I2C_BUF_SIZE] |
uint8_t gps_i2c_rx_extract_idx |
Definition at line 31 of file gps_i2c.c.
Referenced by gps_i2c_init().
uint8_t gps_i2c_rx_insert_idx |
Definition at line 31 of file gps_i2c.c.
Referenced by gps_i2c_init().
uint8_t gps_i2c_tx_buf[GPS_I2C_BUF_SIZE] |
uint8_t gps_i2c_tx_insert_idx |
Definition at line 33 of file gps_i2c.c.
Referenced by gps_i2c_init().