BSP430
20141115
Board Support Package for MSP430 microcontrollers
|
Sensor-specific interface for SkyTraq Venus 6 GPS sensors. More...
#include <bsp430/core.h>
Go to the source code of this file.
Data Structures | |
struct | sSkyTraqMsg_GENERIC |
struct | sSkyTraqMsgIn_RESTART |
struct | sSkyTraqMsgIn_SW_VERSION |
struct | sSkyTraqMsgIn_SW_CRC |
struct | sSkyTraqMsgIn_FACTORY_DEFAULTS |
struct | sSkyTraqMsgIn_CFG_SERIAL |
struct | sSkyTraqMsgIn_CFG_NMEA |
struct | sSkyTraqMsgIn_CFG_FORMAT |
struct | sSkyTraqMsgOut_SW_VERSION |
struct | sSkyTraqMsgOut_ACK |
struct | sSkyTraqMsgOut_NAV_DATA |
union | uSkyTraqMsgIn |
union | uSkyTraqMsgOut |
union | uSkyTraqMsg |
Macros | |
#define | SKYTRAQ_NMEA_RX_POOL_SIZE 100 |
#define | SKYTRAQ_NMEA_RX_POOL_FRAGMENTS 4 |
Typedefs | |
typedef enum eSkyTraqMessageID | eSkyTraqMessageID |
typedef union uSkyTraqMsgIn | uSkyTraqMsgIn |
typedef union uSkyTraqMsgOut | uSkyTraqMsgOut |
typedef union uSkyTraqMsg | uSkyTraqMsg |
Sensor-specific interface for SkyTraq Venus 6 GPS sensors.
This module implements the BSP430 GPS interface for SkyTraq Venus 6 GPS sensors. See Sensors: SkyTraq Venus 638FLPx as Time Source for an example application.
The implementation is the BSP430 src/sensors/skytraq.c
file.
_be
suffix on such fields. The MSP430 is a little-endian architecture; use BSP430_CORE_SWAP_16 and BSP430_CORE_SWAP_32 as necessary to convert between packet and internal representations.#define SKYTRAQ_NMEA_RX_POOL_FRAGMENTS 4 |
The number of distinct messages that can be allocated from the incoming message pool.
Four supports one message being processed by the application, a null ACK plus a valid ACK from an application command, plus one message being actively received.
#define SKYTRAQ_NMEA_RX_POOL_SIZE 100 |
Recommended number of octets in the pool for incoming messages.
The driver will receive messages into blocks allocated from this pool. This should be large enough to hold the message being processed by the application along with a new incoming message and any ACK/NACK messages from application commands. Take into account the effect of fragmentation due to held messages.
typedef enum eSkyTraqMessageID eSkyTraqMessageID |
Message identifiers
typedef union uSkyTraqMsg uSkyTraqMsg |
A union for access to specific SkyTraq Venus 6 binary messages content from a generic buffer. Acccess generic.mid
to identify the contents, then access the specific union field.
typedef union uSkyTraqMsgIn uSkyTraqMsgIn |
A union for access to SkyTraq Venus 6 binary messages sent from application to sensor (the "in" direction).
typedef union uSkyTraqMsgOut uSkyTraqMsgOut |
A union for access to SkyTraq Venus 6 binary messages sent from sensor to the application (the "out" direction).
enum eSkyTraqMessageID |
Message identifiers