APM:Libraries
Macros | Variables
AP_GPS_NMEA.cpp File Reference

NMEA protocol parser. More...

#include <AP_Common/AP_Common.h>
#include <ctype.h>
#include <stdint.h>
#include <stdlib.h>
#include "AP_GPS_NMEA.h"
Include dependency graph for AP_GPS_NMEA.cpp:

Go to the source code of this file.

Macros

#define DIGIT_TO_VAL(_x)   (_x - '0')
 
#define hexdigit(x)   ((x)>9?'A'+((x)-10):'0'+(x))
 

Variables

const AP_HAL::HALhal
 

Detailed Description

NMEA protocol parser.

This is a lightweight NMEA parser, derived originally from the TinyGPS parser by Mikal Hart.

Definition in file AP_GPS_NMEA.cpp.

Macro Definition Documentation

◆ DIGIT_TO_VAL

#define DIGIT_TO_VAL (   _x)    (_x - '0')

Definition at line 50 of file AP_GPS_NMEA.cpp.

Referenced by AP_GPS_NMEA::_parse_decimal_100(), and AP_GPS_NMEA::_parse_degrees().

◆ hexdigit

#define hexdigit (   x)    ((x)>9?'A'+((x)-10):'0'+(x))

Definition at line 51 of file AP_GPS_NMEA.cpp.

Referenced by AP_GPS_NMEA::_detect().

Variable Documentation

◆ hal

const AP_HAL::HAL& hal

Definition at line 14 of file AC_PID_test.cpp.