APM:Libraries
Classes | Namespaces | Macros
ToneAlarm.h File Reference
#include <AP_HAL/AP_HAL.h>
Include dependency graph for ToneAlarm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Linux::ToneAlarm
 

Namespaces

 Linux
 

Macros

#define OCTAVE_OFFSET   0
 
#define NOTE_B0   31
 
#define NOTE_C1   33
 
#define NOTE_CS1   35
 
#define NOTE_D1   37
 
#define NOTE_DS1   39
 
#define NOTE_E1   41
 
#define NOTE_F1   44
 
#define NOTE_FS1   46
 
#define NOTE_G1   49
 
#define NOTE_GS1   52
 
#define NOTE_A1   55
 
#define NOTE_AS1   58
 
#define NOTE_B1   62
 
#define NOTE_C2   65
 
#define NOTE_CS2   69
 
#define NOTE_D2   73
 
#define NOTE_DS2   78
 
#define NOTE_E2   82
 
#define NOTE_F2   87
 
#define NOTE_FS2   93
 
#define NOTE_G2   98
 
#define NOTE_GS2   104
 
#define NOTE_A2   110
 
#define NOTE_AS2   117
 
#define NOTE_B2   123
 
#define NOTE_C3   131
 
#define NOTE_CS3   139
 
#define NOTE_D3   147
 
#define NOTE_DS3   156
 
#define NOTE_E3   165
 
#define NOTE_F3   175
 
#define NOTE_FS3   185
 
#define NOTE_G3   196
 
#define NOTE_GS3   208
 
#define NOTE_A3   220
 
#define NOTE_AS3   233
 
#define NOTE_B3   247
 
#define NOTE_C4   262
 
#define NOTE_CS4   277
 
#define NOTE_D4   294
 
#define NOTE_DS4   311
 
#define NOTE_E4   330
 
#define NOTE_F4   349
 
#define NOTE_FS4   370
 
#define NOTE_G4   392
 
#define NOTE_GS4   415
 
#define NOTE_A4   440
 
#define NOTE_AS4   466
 
#define NOTE_B4   494
 
#define NOTE_C5   523
 
#define NOTE_CS5   554
 
#define NOTE_D5   587
 
#define NOTE_DS5   622
 
#define NOTE_E5   659
 
#define NOTE_F5   698
 
#define NOTE_FS5   740
 
#define NOTE_G5   784
 
#define NOTE_GS5   831
 
#define NOTE_A5   880
 
#define NOTE_AS5   932
 
#define NOTE_B5   988
 
#define NOTE_C6   1047
 
#define NOTE_CS6   1109
 
#define NOTE_D6   1175
 
#define NOTE_DS6   1245
 
#define NOTE_E6   1319
 
#define NOTE_F6   1397
 
#define NOTE_FS6   1480
 
#define NOTE_G6   1568
 
#define NOTE_GS6   1661
 
#define NOTE_A6   1760
 
#define NOTE_AS6   1865
 
#define NOTE_B6   1976
 
#define NOTE_C7   2093
 
#define NOTE_CS7   2217
 
#define NOTE_D7   2349
 
#define NOTE_DS7   2489
 
#define NOTE_E7   2637
 
#define NOTE_F7   2794
 
#define NOTE_FS7   2960
 
#define NOTE_G7   3136
 
#define NOTE_GS7   3322
 
#define NOTE_A7   3520
 
#define NOTE_AS7   3729
 
#define NOTE_B7   3951
 
#define NOTE_C8   4186
 
#define NOTE_CS8   4435
 
#define NOTE_D8   4699
 
#define NOTE_DS8   4978
 
#define TONE_STARTUP_TUNE   0
 
#define TONE_ERROR_TUNE   1
 
#define TONE_NOTIFY_POSITIVE_TUNE   2
 
#define TONE_NOTIFY_NEUTRAL_TUNE   3
 
#define TONE_NOTIFY_NEGATIVE_TUNE   4
 
#define TONE_ARMING_WARNING_TUNE   5
 
#define TONE_BATTERY_WARNING_SLOW_TUNE   6
 
#define TONE_BATTERY_WARNING_FAST_TUNE   7
 
#define TONE_GPS_WARNING_TUNE   8
 
#define TONE_ARMING_FAILURE_TUNE   9
 
#define TONE_PARACHUTE_RELEASE_TUNE   10
 
#define TONE_NUMBER_OF_TUNES   11
 

Macro Definition Documentation

◆ NOTE_A1

#define NOTE_A1   55

Definition at line 17 of file ToneAlarm.h.

◆ NOTE_A2

#define NOTE_A2   110

Definition at line 29 of file ToneAlarm.h.

◆ NOTE_A3

#define NOTE_A3   220

Definition at line 41 of file ToneAlarm.h.

◆ NOTE_A4

#define NOTE_A4   440

Definition at line 53 of file ToneAlarm.h.

◆ NOTE_A5

#define NOTE_A5   880

Definition at line 65 of file ToneAlarm.h.

◆ NOTE_A6

#define NOTE_A6   1760

Definition at line 77 of file ToneAlarm.h.

◆ NOTE_A7

#define NOTE_A7   3520

Definition at line 89 of file ToneAlarm.h.

◆ NOTE_AS1

#define NOTE_AS1   58

Definition at line 18 of file ToneAlarm.h.

◆ NOTE_AS2

#define NOTE_AS2   117

Definition at line 30 of file ToneAlarm.h.

◆ NOTE_AS3

#define NOTE_AS3   233

Definition at line 42 of file ToneAlarm.h.

◆ NOTE_AS4

#define NOTE_AS4   466

Definition at line 54 of file ToneAlarm.h.

◆ NOTE_AS5

#define NOTE_AS5   932

Definition at line 66 of file ToneAlarm.h.

◆ NOTE_AS6

#define NOTE_AS6   1865

Definition at line 78 of file ToneAlarm.h.

◆ NOTE_AS7

#define NOTE_AS7   3729

Definition at line 90 of file ToneAlarm.h.

◆ NOTE_B0

#define NOTE_B0   31

Definition at line 7 of file ToneAlarm.h.

◆ NOTE_B1

#define NOTE_B1   62

Definition at line 19 of file ToneAlarm.h.

◆ NOTE_B2

#define NOTE_B2   123

Definition at line 31 of file ToneAlarm.h.

◆ NOTE_B3

#define NOTE_B3   247

Definition at line 43 of file ToneAlarm.h.

◆ NOTE_B4

#define NOTE_B4   494

Definition at line 55 of file ToneAlarm.h.

◆ NOTE_B5

#define NOTE_B5   988

Definition at line 67 of file ToneAlarm.h.

◆ NOTE_B6

#define NOTE_B6   1976

Definition at line 79 of file ToneAlarm.h.

◆ NOTE_B7

#define NOTE_B7   3951

Definition at line 91 of file ToneAlarm.h.

◆ NOTE_C1

#define NOTE_C1   33

Definition at line 8 of file ToneAlarm.h.

◆ NOTE_C2

#define NOTE_C2   65

Definition at line 20 of file ToneAlarm.h.

◆ NOTE_C3

#define NOTE_C3   131

Definition at line 32 of file ToneAlarm.h.

◆ NOTE_C4

#define NOTE_C4   262

Definition at line 44 of file ToneAlarm.h.

◆ NOTE_C5

#define NOTE_C5   523

Definition at line 56 of file ToneAlarm.h.

◆ NOTE_C6

#define NOTE_C6   1047

Definition at line 68 of file ToneAlarm.h.

◆ NOTE_C7

#define NOTE_C7   2093

Definition at line 80 of file ToneAlarm.h.

◆ NOTE_C8

#define NOTE_C8   4186

Definition at line 92 of file ToneAlarm.h.

◆ NOTE_CS1

#define NOTE_CS1   35

Definition at line 9 of file ToneAlarm.h.

◆ NOTE_CS2

#define NOTE_CS2   69

Definition at line 21 of file ToneAlarm.h.

◆ NOTE_CS3

#define NOTE_CS3   139

Definition at line 33 of file ToneAlarm.h.

◆ NOTE_CS4

#define NOTE_CS4   277

Definition at line 45 of file ToneAlarm.h.

◆ NOTE_CS5

#define NOTE_CS5   554

Definition at line 57 of file ToneAlarm.h.

◆ NOTE_CS6

#define NOTE_CS6   1109

Definition at line 69 of file ToneAlarm.h.

◆ NOTE_CS7

#define NOTE_CS7   2217

Definition at line 81 of file ToneAlarm.h.

◆ NOTE_CS8

#define NOTE_CS8   4435

Definition at line 93 of file ToneAlarm.h.

◆ NOTE_D1

#define NOTE_D1   37

Definition at line 10 of file ToneAlarm.h.

◆ NOTE_D2

#define NOTE_D2   73

Definition at line 22 of file ToneAlarm.h.

◆ NOTE_D3

#define NOTE_D3   147

Definition at line 34 of file ToneAlarm.h.

◆ NOTE_D4

#define NOTE_D4   294

Definition at line 46 of file ToneAlarm.h.

◆ NOTE_D5

#define NOTE_D5   587

Definition at line 58 of file ToneAlarm.h.

◆ NOTE_D6

#define NOTE_D6   1175

Definition at line 70 of file ToneAlarm.h.

◆ NOTE_D7

#define NOTE_D7   2349

Definition at line 82 of file ToneAlarm.h.

◆ NOTE_D8

#define NOTE_D8   4699

Definition at line 94 of file ToneAlarm.h.

◆ NOTE_DS1

#define NOTE_DS1   39

Definition at line 11 of file ToneAlarm.h.

◆ NOTE_DS2

#define NOTE_DS2   78

Definition at line 23 of file ToneAlarm.h.

◆ NOTE_DS3

#define NOTE_DS3   156

Definition at line 35 of file ToneAlarm.h.

◆ NOTE_DS4

#define NOTE_DS4   311

Definition at line 47 of file ToneAlarm.h.

◆ NOTE_DS5

#define NOTE_DS5   622

Definition at line 59 of file ToneAlarm.h.

◆ NOTE_DS6

#define NOTE_DS6   1245

Definition at line 71 of file ToneAlarm.h.

◆ NOTE_DS7

#define NOTE_DS7   2489

Definition at line 83 of file ToneAlarm.h.

◆ NOTE_DS8

#define NOTE_DS8   4978

Definition at line 95 of file ToneAlarm.h.

◆ NOTE_E1

#define NOTE_E1   41

Definition at line 12 of file ToneAlarm.h.

◆ NOTE_E2

#define NOTE_E2   82

Definition at line 24 of file ToneAlarm.h.

◆ NOTE_E3

#define NOTE_E3   165

Definition at line 36 of file ToneAlarm.h.

◆ NOTE_E4

#define NOTE_E4   330

Definition at line 48 of file ToneAlarm.h.

◆ NOTE_E5

#define NOTE_E5   659

Definition at line 60 of file ToneAlarm.h.

◆ NOTE_E6

#define NOTE_E6   1319

Definition at line 72 of file ToneAlarm.h.

◆ NOTE_E7

#define NOTE_E7   2637

Definition at line 84 of file ToneAlarm.h.

◆ NOTE_F1

#define NOTE_F1   44

Definition at line 13 of file ToneAlarm.h.

◆ NOTE_F2

#define NOTE_F2   87

Definition at line 25 of file ToneAlarm.h.

◆ NOTE_F3

#define NOTE_F3   175

Definition at line 37 of file ToneAlarm.h.

◆ NOTE_F4

#define NOTE_F4   349

Definition at line 49 of file ToneAlarm.h.

◆ NOTE_F5

#define NOTE_F5   698

Definition at line 61 of file ToneAlarm.h.

◆ NOTE_F6

#define NOTE_F6   1397

Definition at line 73 of file ToneAlarm.h.

◆ NOTE_F7

#define NOTE_F7   2794

Definition at line 85 of file ToneAlarm.h.

◆ NOTE_FS1

#define NOTE_FS1   46

Definition at line 14 of file ToneAlarm.h.

◆ NOTE_FS2

#define NOTE_FS2   93

Definition at line 26 of file ToneAlarm.h.

◆ NOTE_FS3

#define NOTE_FS3   185

Definition at line 38 of file ToneAlarm.h.

◆ NOTE_FS4

#define NOTE_FS4   370

Definition at line 50 of file ToneAlarm.h.

◆ NOTE_FS5

#define NOTE_FS5   740

Definition at line 62 of file ToneAlarm.h.

◆ NOTE_FS6

#define NOTE_FS6   1480

Definition at line 74 of file ToneAlarm.h.

◆ NOTE_FS7

#define NOTE_FS7   2960

Definition at line 86 of file ToneAlarm.h.

◆ NOTE_G1

#define NOTE_G1   49

Definition at line 15 of file ToneAlarm.h.

◆ NOTE_G2

#define NOTE_G2   98

Definition at line 27 of file ToneAlarm.h.

◆ NOTE_G3

#define NOTE_G3   196

Definition at line 39 of file ToneAlarm.h.

◆ NOTE_G4

#define NOTE_G4   392

Definition at line 51 of file ToneAlarm.h.

◆ NOTE_G5

#define NOTE_G5   784

Definition at line 63 of file ToneAlarm.h.

◆ NOTE_G6

#define NOTE_G6   1568

Definition at line 75 of file ToneAlarm.h.

◆ NOTE_G7

#define NOTE_G7   3136

Definition at line 87 of file ToneAlarm.h.

◆ NOTE_GS1

#define NOTE_GS1   52

Definition at line 16 of file ToneAlarm.h.

◆ NOTE_GS2

#define NOTE_GS2   104

Definition at line 28 of file ToneAlarm.h.

◆ NOTE_GS3

#define NOTE_GS3   208

Definition at line 40 of file ToneAlarm.h.

◆ NOTE_GS4

#define NOTE_GS4   415

Definition at line 52 of file ToneAlarm.h.

◆ NOTE_GS5

#define NOTE_GS5   831

Definition at line 64 of file ToneAlarm.h.

◆ NOTE_GS6

#define NOTE_GS6   1661

Definition at line 76 of file ToneAlarm.h.

◆ NOTE_GS7

#define NOTE_GS7   3322

Definition at line 88 of file ToneAlarm.h.

◆ OCTAVE_OFFSET

#define OCTAVE_OFFSET   0

Definition at line 5 of file ToneAlarm.h.

◆ TONE_ARMING_FAILURE_TUNE

#define TONE_ARMING_FAILURE_TUNE   9

Definition at line 106 of file ToneAlarm.h.

◆ TONE_ARMING_WARNING_TUNE

#define TONE_ARMING_WARNING_TUNE   5

Definition at line 102 of file ToneAlarm.h.

◆ TONE_BATTERY_WARNING_FAST_TUNE

#define TONE_BATTERY_WARNING_FAST_TUNE   7

Definition at line 104 of file ToneAlarm.h.

◆ TONE_BATTERY_WARNING_SLOW_TUNE

#define TONE_BATTERY_WARNING_SLOW_TUNE   6

Definition at line 103 of file ToneAlarm.h.

◆ TONE_ERROR_TUNE

#define TONE_ERROR_TUNE   1

Definition at line 98 of file ToneAlarm.h.

◆ TONE_GPS_WARNING_TUNE

#define TONE_GPS_WARNING_TUNE   8

Definition at line 105 of file ToneAlarm.h.

◆ TONE_NOTIFY_NEGATIVE_TUNE

#define TONE_NOTIFY_NEGATIVE_TUNE   4

Definition at line 101 of file ToneAlarm.h.

◆ TONE_NOTIFY_NEUTRAL_TUNE

#define TONE_NOTIFY_NEUTRAL_TUNE   3

Definition at line 100 of file ToneAlarm.h.

◆ TONE_NOTIFY_POSITIVE_TUNE

#define TONE_NOTIFY_POSITIVE_TUNE   2

Definition at line 99 of file ToneAlarm.h.

◆ TONE_NUMBER_OF_TUNES

#define TONE_NUMBER_OF_TUNES   11

Definition at line 109 of file ToneAlarm.h.

◆ TONE_PARACHUTE_RELEASE_TUNE

#define TONE_PARACHUTE_RELEASE_TUNE   10

Definition at line 107 of file ToneAlarm.h.

◆ TONE_STARTUP_TUNE

#define TONE_STARTUP_TUNE   0

Definition at line 97 of file ToneAlarm.h.