Classes | Defines | Functions | Variables
main.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  IMU_CALCDATA

Defines

#define BAT_DIV   6
#define BATTERY_WARNING_VOLTAGE   10600
#define ControllerCyclesPerSecond   1000
#define ERROR_BEEP
#define FM_ADC_STARTUP_ERROR   0x800
#define FM_CALIBRATION_ERROR   0x100
#define FM_CALIBRATION_ERROR_ACC   0x400
#define FM_CALIBRATION_ERROR_GYROS   0x200
#define FM_COMPASS_FAILURE   0x10
#define FM_MAG_FIELD_STRENGTH_ERROR   0x4000
#define FM_MAG_INCLINATION_ERROR   0x8000
#define INIT_BEEP
#define NORMAL   0
#define OFF   0
#define ON   1
#define PD_CAMERACOMMANDS   0x30
#define PD_CTRLCOMMANDS   0x13
#define PD_CTRLINTERNAL   0x14
#define PD_CTRLOUT   0x11
#define PD_CTRLSTATUS   0x16
#define PD_CURRENTWAY   0x21
#define PD_FLIGHTPARAMS   0x12
#define PD_GPSDATA   0x23
#define PD_HLSTATUS   0x04
#define PD_IMUCALCDATA   0x03
#define PD_IMURAWDATA   0x01
#define PD_LLSTATUS   0x02
#define PD_NMEADATA   0x22
#define PD_RCDATA   0x15
#define PD_RO_ALL_DATA   0x90
#define PD_WAYPOINT   0x20

Functions

void mainloop (void)
void timer0ISR (void)
void timer1ISR (void)

Variables

volatile unsigned int GPS_timeout
struct IMU_CALCDATA IMU_CalcData IMU_CalcData_tmp
volatile char SYSTEM_initialized

Define Documentation

#define BAT_DIV   6

Definition at line 41 of file main.h.

#define BATTERY_WARNING_VOLTAGE   10600

Definition at line 40 of file main.h.

#define ControllerCyclesPerSecond   1000

Definition at line 47 of file main.h.

#define ERROR_BEEP

Definition at line 44 of file main.h.

#define FM_ADC_STARTUP_ERROR   0x800

Definition at line 82 of file main.h.

#define FM_CALIBRATION_ERROR   0x100

Definition at line 79 of file main.h.

#define FM_CALIBRATION_ERROR_ACC   0x400

Definition at line 81 of file main.h.

#define FM_CALIBRATION_ERROR_GYROS   0x200

Definition at line 80 of file main.h.

#define FM_COMPASS_FAILURE   0x10

Definition at line 78 of file main.h.

#define FM_MAG_FIELD_STRENGTH_ERROR   0x4000

Definition at line 83 of file main.h.

#define FM_MAG_INCLINATION_ERROR   0x8000

Definition at line 84 of file main.h.

#define INIT_BEEP

Definition at line 45 of file main.h.

#define NORMAL   0

Definition at line 52 of file main.h.

#define OFF   0

Definition at line 49 of file main.h.

#define ON   1

Definition at line 50 of file main.h.

#define PD_CAMERACOMMANDS   0x30

Definition at line 73 of file main.h.

#define PD_CTRLCOMMANDS   0x13

Definition at line 63 of file main.h.

#define PD_CTRLINTERNAL   0x14

Definition at line 64 of file main.h.

#define PD_CTRLOUT   0x11

Definition at line 61 of file main.h.

#define PD_CTRLSTATUS   0x16

Definition at line 66 of file main.h.

#define PD_CURRENTWAY   0x21

Definition at line 69 of file main.h.

#define PD_FLIGHTPARAMS   0x12

Definition at line 62 of file main.h.

#define PD_GPSDATA   0x23

Definition at line 71 of file main.h.

#define PD_HLSTATUS   0x04

Definition at line 59 of file main.h.

#define PD_IMUCALCDATA   0x03

Definition at line 58 of file main.h.

#define PD_IMURAWDATA   0x01

Definition at line 56 of file main.h.

#define PD_LLSTATUS   0x02

Definition at line 57 of file main.h.

#define PD_NMEADATA   0x22

Definition at line 70 of file main.h.

#define PD_RCDATA   0x15

Definition at line 65 of file main.h.

#define PD_RO_ALL_DATA   0x90

Definition at line 74 of file main.h.

#define PD_WAYPOINT   0x20

Definition at line 68 of file main.h.


Function Documentation

void mainloop ( void  )

Definition at line 156 of file main.c.

void timer0ISR ( void  )

Definition at line 79 of file main.c.

void timer1ISR ( void  )

Definition at line 101 of file main.c.


Variable Documentation

volatile unsigned int GPS_timeout

Definition at line 37 of file main.h.

struct IMU_CALCDATA IMU_CalcData IMU_CalcData_tmp

Definition at line 66 of file main.c.

volatile char SYSTEM_initialized

Definition at line 38 of file main.h.



asctec_hl_firmware
Author(s): Markus Achtelik, Michael Achtelik, Stephan Weiss, Laurent Kneip
autogenerated on Tue Jan 7 2014 11:05:19