Defines | Functions
buzzer.c File Reference
#include "buzzer.h"
#include "main.h"
#include "hardware.h"
#include "system.h"
#include "LL_HL_comm.h"
#include "gpsmath.h"
#include "LPC214x.h"
Include dependency graph for buzzer.c:

Go to the source code of this file.

Defines

#define BU_BATTERY   0x10
#define BU_COMPASS_FAILURE   0x20
#define BU_ERROR_ACC   0x04
#define BU_ERROR_ADC   0x08
#define BU_ERROR_GYRO   0x02
#define BU_GPS_BEEP   0x100
#define BU_INIT   0x01
#define BU_WARNING_MAG_FS   0x40
#define BU_WARNING_MAG_INC   0x80
#define BUZZ_INTERVAL   200
#define BUZZ_LENGTH   5
#define BUZZ_MAG_WARNING_TIMEOUT   500
#define BUZZ_NR_OF_WARNINGS   9
#define BUZZ_PAUSE   5

Functions

void buzzer (unsigned char offon)
void buzzer_handler (int battery_voltage, int warning_voltage)

Define Documentation

#define BU_BATTERY   0x10

Definition at line 21 of file buzzer.c.

#define BU_COMPASS_FAILURE   0x20

Definition at line 22 of file buzzer.c.

#define BU_ERROR_ACC   0x04

Definition at line 19 of file buzzer.c.

#define BU_ERROR_ADC   0x08

Definition at line 20 of file buzzer.c.

#define BU_ERROR_GYRO   0x02

Definition at line 18 of file buzzer.c.

#define BU_GPS_BEEP   0x100

Definition at line 25 of file buzzer.c.

#define BU_INIT   0x01

Definition at line 17 of file buzzer.c.

#define BU_WARNING_MAG_FS   0x40

Definition at line 23 of file buzzer.c.

#define BU_WARNING_MAG_INC   0x80

Definition at line 24 of file buzzer.c.

#define BUZZ_INTERVAL   200

Definition at line 29 of file buzzer.c.

#define BUZZ_LENGTH   5

Definition at line 27 of file buzzer.c.

#define BUZZ_MAG_WARNING_TIMEOUT   500

Definition at line 30 of file buzzer.c.

#define BUZZ_NR_OF_WARNINGS   9

Definition at line 31 of file buzzer.c.

#define BUZZ_PAUSE   5

Definition at line 28 of file buzzer.c.


Function Documentation

void buzzer ( unsigned char  offon)

Definition at line 239 of file buzzer.c.

void buzzer_handler ( int  battery_voltage,
int  warning_voltage 
)

Definition at line 34 of file buzzer.c.



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