#include <string>
Namespaces | |
SG | |
SG::BeagleBone | |
Enumerations | |
enum | SG::BeagleBone::LED { SG::BeagleBone::LED::invalid = 0, SG::BeagleBone::LED::none = 1, SG::BeagleBone::LED::all = 2, SG::BeagleBone::LED::usr0 = 10, SG::BeagleBone::LED::usr1 = 11, SG::BeagleBone::LED::usr2 = 12, SG::BeagleBone::LED::usr3 = 13, SG::BeagleBone::LED::min = usr0, SG::BeagleBone::LED::max = usr3 } |
Enumerator for the various LEDs on BeagleBone Black and BeagleBone Green. More... | |
enum | SG::BeagleBone::Trigger { SG::BeagleBone::Trigger::invalid = 0, SG::BeagleBone::Trigger::none, SG::BeagleBone::Trigger::nand_disk, SG::BeagleBone::Trigger::usb_gadget, SG::BeagleBone::Trigger::usb_host, SG::BeagleBone::Trigger::mmc0, SG::BeagleBone::Trigger::mmc1, SG::BeagleBone::Trigger::timer, SG::BeagleBone::Trigger::oneshot, SG::BeagleBone::Trigger::heartbeat, SG::BeagleBone::Trigger::backlight, SG::BeagleBone::Trigger::gpio, SG::BeagleBone::Trigger::cpu0, SG::BeagleBone::Trigger::default_on } |
Enumerator for the LED trigger type to use. More... | |
Functions | |
std::string | SG::BeagleBone::to_string (const Trigger trigger) |
Convert the trigger enum to the string expected in the trigger file. More... | |
Trigger | SG::BeagleBone::default_trigger (const SG::BeagleBone::LED led) |
Return the default trigger typically used by each LED. More... | |
int | SG::BeagleBone::index_of (const SG::BeagleBone::LED led) |
Determine the index of the specified LED. More... | |
bool | SG::BeagleBone::is_single_LED (const SG::BeagleBone::LED led) |
Determine if the specified LED enum is a single physical LED, or a "pseudo" LED such as LED::all. More... | |
bool | SG::BeagleBone::is_pseudo_LED (const SG::BeagleBone::LED led) |
Determine if the specified LED enum represents a "pseudo" LED, such as LED::all or LED::none. More... | |