#include "buzzer.h"
#include "main.h"
#include "hardware.h"
#include "system.h"
#include "LL_HL_comm.h"
#include "gpsmath.h"
#include "LPC214x.h"
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 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_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 |
void buzzer_handler | ( | int | battery_voltage, |
int | warning_voltage | ||
) |