Functions | Variables
main.c File Reference
#include "stdio.h"
#include "main.h"
#include "system.h"
#include "uart.h"
#include <math.h>
#include "hardware.h"
#include "irq.h"
#include "i2c.h"
#include "gpsmath.h"
#include "adc.h"
#include "uart1.h"
#include "ssp.h"
#include "LL_HL_comm.h"
#include "sdk.h"
#include <unistd.h>
Include dependency graph for main.c:

Go to the source code of this file.

Functions

void calibrate ()
int main (void)
void mainloop (void)
void timer0ISR (void)
void timer1ISR (void)

Variables

volatile unsigned int cnt = 0
unsigned char DataOutputsPerSecond = 20
float g_imu_gravity
struct GPS_TIME GPS_Time
volatile unsigned int GPS_timeout = 0
struct HL_STATUS HL_Status
struct IMU_CALCDATA IMU_CalcData IMU_CalcData_tmp
struct IMU_RAWDATA IMU_RawData
volatile unsigned int int_cnt = 0
unsigned int logs_per_second = 0
volatile unsigned int mainloop_cnt = 0
volatile unsigned char mainloop_trigger = 0
unsigned char packets = 0x00
unsigned char packetsTemp
struct SYSTEM_PERMANENT_DATA SYSTEM_Permanent_Data
unsigned int total_logs_per_second = 0
volatile unsigned int trigger_cnt = 0
unsigned int uart_cnt

Function Documentation

void calibrate ( void  )

Definition at line 176 of file main.c.

int main ( void  )

Definition at line 89 of file main.c.

void mainloop ( void  )

Definition at line 169 of file main.c.

void timer0ISR ( void  )

Definition at line 55 of file main.c.

void timer1ISR ( void  )

Definition at line 77 of file main.c.


Variable Documentation

volatile unsigned int cnt = 0

Definition at line 34 of file main.c.

unsigned char DataOutputsPerSecond = 20

Definition at line 47 of file main.c.

Definition at line 53 of file main.c.

Definition at line 50 of file main.c.

volatile unsigned int GPS_timeout = 0

Definition at line 36 of file main.c.

Definition at line 32 of file main.c.

struct IMU_CALCDATA IMU_CalcData IMU_CalcData_tmp

Definition at line 49 of file main.c.

Definition at line 33 of file main.c.

volatile unsigned int int_cnt = 0

Definition at line 34 of file main.c.

unsigned int logs_per_second = 0

Definition at line 42 of file main.c.

volatile unsigned int mainloop_cnt = 0

Definition at line 34 of file main.c.

volatile unsigned char mainloop_trigger = 0

Definition at line 35 of file main.c.

unsigned char packets = 0x00

Definition at line 44 of file main.c.

unsigned char packetsTemp

Definition at line 45 of file main.c.

Definition at line 51 of file main.c.

unsigned int total_logs_per_second = 0

Definition at line 42 of file main.c.

volatile unsigned int trigger_cnt = 0

Definition at line 41 of file main.c.

unsigned int uart_cnt

Definition at line 46 of file main.c.



ccny_asctec_firmware
Author(s): Ivan Dryanovski, Roberto G. Valenti
autogenerated on Tue Jan 7 2014 11:04:32