APM:Libraries
|
#include <ToneAlarm_Disco.h>
Public Member Functions | |
ToneAlarm_Disco () | |
bool | init () override |
void | stop () override |
bool | play () override |
Public Member Functions inherited from Linux::ToneAlarm | |
ToneAlarm () | |
void | set_tune (uint8_t tone) |
bool | is_tune_comp () |
bool | set_note () |
bool | init_tune () |
Private Attributes | |
RCOutput_Bebop * | bebop_out |
Additional Inherited Members | |
Protected Attributes inherited from Linux::ToneAlarm | |
bool | tune_comp |
bool | tune_changed |
uint8_t | default_oct |
uint8_t | default_dur |
uint16_t | bpm |
uint16_t | wholenote |
uint16_t | cur_note |
uint16_t | duration |
int32_t | prev_tune_num |
uint32_t | prev_time |
int8_t | tune_num |
uint8_t | tune_pos |
Static Protected Attributes inherited from Linux::ToneAlarm | |
static const char * | tune [TONE_NUMBER_OF_TUNES] |
static bool | tune_repeat [TONE_NUMBER_OF_TUNES] = {false,true,false,false,false,false,true,true,false,false,false} |
Definition at line 12 of file ToneAlarm_Disco.h.
ToneAlarm_Disco::ToneAlarm_Disco | ( | ) |
Definition at line 28 of file ToneAlarm_Disco.cpp.
|
overridevirtual |
Reimplemented from Linux::ToneAlarm.
Definition at line 35 of file ToneAlarm_Disco.cpp.
Referenced by Linux::Util::toneAlarm_init().
|
overridevirtual |
Reimplemented from Linux::ToneAlarm.
Definition at line 50 of file ToneAlarm_Disco.cpp.
Referenced by Linux::Util::_toneAlarm_timer_tick().
|
overridevirtual |
Reimplemented from Linux::ToneAlarm.
Definition at line 45 of file ToneAlarm_Disco.cpp.
Referenced by play().
|
private |
Definition at line 20 of file ToneAlarm_Disco.h.