#include "LPC214x.h"
#include "interrupt_utils.h"
#include "system.h"
#include "main.h"
#include "uart1.h"
#include "irq.h"
#include "hardware.h"
#include "gpsmath.h"
#include "ssp.h"
Go to the source code of this file.
Functions | |
void | GPS_configure (void) |
void | parse_NAVSOL (unsigned char, unsigned char) |
void | parse_POSLLH (unsigned char, unsigned char) |
void | parse_POSUTM (unsigned char, unsigned char) |
void | parse_STATUS (unsigned char, unsigned char) |
void | parse_VELNED (unsigned char, unsigned char) |
int | ringbuffer1 (unsigned char rw, unsigned char *data, unsigned int count) |
void | UART1_send (unsigned char *buffer, unsigned char length) |
void | UART1_send_ringbuffer (void) |
void | UART1Initialize (unsigned int baud) |
void | uart1ISR (void) |
unsigned char | UART1ReadChar (void) |
void | UART1WriteChar (unsigned char ch) |
Variables | |
volatile unsigned char | baudrate1_change = 0 |
unsigned char | chksum_to_check = 0 |
unsigned char | chksum_trigger = 1 |
unsigned short | current_chksum |
unsigned char | data_requested = 0 |
unsigned char | DataOutputsPerSecond |
static volatile unsigned char | GPS_ACK_received = 0 |
const unsigned char | GPS_CFG_ANT [10] |
const unsigned char | GPS_CFG_CFG [19] |
const unsigned char | GPS_CFG_MSG [11][12] |
const unsigned char | GPS_CFG_NAV2 [46] |
const unsigned char | GPS_CFG_PRT [26] |
const unsigned char | GPS_CFG_RATE [12] |
const unsigned char | GPS_CFG_SBAS [14] |
unsigned char | packets |
static volatile unsigned char | rb_busy = 0 |
unsigned char | send_buffer [16] |
unsigned char | startstring [] = {'>','*','>'} |
unsigned char | stopstring [] = {'<','#','<'} |
unsigned char | transmission1_running = 0 |
unsigned char | trigger_transmission = 0 |
unsigned char * | tx_buff |
unsigned int | UART1_rxcount = 0 |
unsigned char * | UART1_rxptr |
unsigned char | UART1_syncstate = 0 |
unsigned char | UART_CalibDoneFlag = 0 |
unsigned int | uart_cnt |
int | ZeroDepth |
void GPS_configure | ( | void | ) |
void parse_NAVSOL | ( | unsigned char | c, |
unsigned char | reset | ||
) |
void parse_POSLLH | ( | unsigned char | c, |
unsigned char | reset | ||
) |
void parse_POSUTM | ( | unsigned char | c, |
unsigned char | reset | ||
) |
void parse_STATUS | ( | unsigned char | c, |
unsigned char | reset | ||
) |
void parse_VELNED | ( | unsigned char | c, |
unsigned char | reset | ||
) |
int ringbuffer1 | ( | unsigned char | rw, |
unsigned char * | data, | ||
unsigned int | count | ||
) |
void UART1_send | ( | unsigned char * | buffer, |
unsigned char | length | ||
) |
void UART1_send_ringbuffer | ( | void | ) |
void UART1Initialize | ( | unsigned int | baud | ) |
unsigned char UART1ReadChar | ( | void | ) |
void UART1WriteChar | ( | unsigned char | ch | ) |
volatile unsigned char baudrate1_change = 0 |
unsigned char chksum_to_check = 0 |
unsigned char chksum_trigger = 1 |
unsigned short current_chksum |
unsigned char data_requested = 0 |
unsigned char DataOutputsPerSecond |
volatile unsigned char GPS_ACK_received = 0 [static] |
const unsigned char GPS_CFG_ANT[10] |
const unsigned char GPS_CFG_CFG[19] |
const unsigned char GPS_CFG_MSG[11][12] |
{ {0x06, 0x01, 0x06, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x80}, {0x06, 0x01, 0x06, 0x00, 0x01, 0x02, 0x00, 0x01, 0x00, 0x00, 0x11, 0x88}, {0x06, 0x01, 0x06, 0x00, 0x01, 0x03, 0x00, 0x01, 0x00, 0x00, 0x12, 0x8d}, {0x06, 0x01, 0x06, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x00, 0x12, 0x8f}, {0x06, 0x01, 0x06, 0x00, 0x01, 0x06, 0x00, 0x01, 0x00, 0x00, 0x15, 0x9c}, {0x06, 0x01, 0x06, 0x00, 0x01, 0x11, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xd0}, {0x06, 0x01, 0x06, 0x00, 0x01, 0x12, 0x00, 0x01, 0x00, 0x00, 0x21, 0xd8}, {0x06, 0x01, 0x06, 0x00, 0x01, 0x20, 0x00, 0x00, 0x00, 0x00, 0x2e, 0x1b}, {0x06, 0x01, 0x06, 0x00, 0x01, 0x21, 0x00, 0x00, 0x00, 0x00, 0x2f, 0x20}, {0x06, 0x01, 0x06, 0x00, 0x01, 0x22, 0x00, 0x00, 0x00, 0x00, 0x30, 0x25}, {0x06, 0x01, 0x06, 0x00, 0x01, 0x30, 0x00, 0x00, 0x00, 0x00, 0x3e, 0x6b} }
const unsigned char GPS_CFG_NAV2[46] |
{ 0x06, 0x1a, 0x28, 0x00, 0x05, 0x00, 0x00, 0x00, 0x04, 0x03, 0x0A, 0x02, 0x50, 0xc3, 0x00, 0x00, 0x0f, 0x0a, 0x0a, 0x3c, 0x00, 0x01, 0x00, 0x00, 0xfa, 0x00, 0xfa, 0x00, 0x64, 0x00, 0x2c, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x58, 0x64 }
const unsigned char GPS_CFG_PRT[26] |
const unsigned char GPS_CFG_RATE[12] |
const unsigned char GPS_CFG_SBAS[14] |
unsigned char send_buffer[16] |
unsigned char startstring[] = {'>','*','>'} |
unsigned char stopstring[] = {'<','#','<'} |
unsigned char transmission1_running = 0 |
unsigned char trigger_transmission = 0 |
unsigned int UART1_rxcount = 0 |
unsigned char* UART1_rxptr |
unsigned char UART1_syncstate = 0 |
unsigned char UART_CalibDoneFlag = 0 |
int ZeroDepth |