APM:Libraries
|
#include <AP_Button.h>
Public Member Functions | |
AP_Button (void) | |
void | update (void) |
Static Public Attributes | |
static const struct AP_Param::GroupInfo | var_info [] |
Private Member Functions | |
void | timer_update (void) |
uint8_t | get_mask (void) |
void | send_report (void) |
void | setup_pins () |
Private Attributes | |
AP_Int8 | enable |
AP_Int8 | pin [AP_BUTTON_NUM_PINS] |
AP_Int16 | report_send_time |
uint8_t | last_mask |
uint64_t | last_change_time_ms |
uint32_t | last_report_ms |
bool | initialised:1 |
Definition at line 25 of file AP_Button.h.
AP_Button::AP_Button | ( | void | ) |
|
private |
Definition at line 113 of file AP_Button.cpp.
Referenced by timer_update(), and update().
|
private |
Definition at line 143 of file AP_Button.cpp.
Referenced by update().
|
private |
Definition at line 166 of file AP_Button.cpp.
Referenced by update().
|
private |
Definition at line 128 of file AP_Button.cpp.
Referenced by update().
void AP_Button::update | ( | void | ) |
|
private |
Definition at line 36 of file AP_Button.h.
Referenced by timer_update(), and update().
|
private |
Definition at line 52 of file AP_Button.h.
Referenced by update().
|
private |
Definition at line 46 of file AP_Button.h.
Referenced by send_report(), timer_update(), and update().
|
private |
Definition at line 43 of file AP_Button.h.
Referenced by send_report(), timer_update(), and update().
|
private |
Definition at line 49 of file AP_Button.h.
Referenced by update().
|
private |
Definition at line 37 of file AP_Button.h.
Referenced by get_mask(), and setup_pins().
|
private |
Definition at line 40 of file AP_Button.h.
Referenced by update().
|
static |
Definition at line 30 of file AP_Button.h.
Referenced by AP_Button().