![]() |
SatNOGS-COMMS
4.1.0
A COMMS subsystem for CubeSats
|
#include <lp5912.hpp>
Public Member Functions | |
| lp5912 (const etl::istring &name, bsp::gpio *on, bsp::gpio *pgood=nullptr) | |
| const etl::istring & | name () const |
| void | enable (bool set=true) |
| bool | enabled () const |
| bool | pgood () const |
Definition at line 30 of file lp5912.hpp.
| satnogs::comms::lib::lp5912::lp5912 | ( | const etl::istring & | name, |
| bsp::gpio * | on, | ||
| bsp::gpio * | pgood = nullptr ) |
Definition at line 29 of file lp5912.cpp.
| void satnogs::comms::lib::lp5912::enable | ( | bool | set = true | ) |
Enables/Disables the LP5912
| set | set to true to enable or false to disable |
Definition at line 51 of file lp5912.cpp.
| bool satnogs::comms::lib::lp5912::enabled | ( | ) | const |
Return the power state of LP5912
Definition at line 61 of file lp5912.cpp.
| const etl::istring & satnogs::comms::lib::lp5912::name | ( | ) | const |
Definition at line 41 of file lp5912.cpp.
| bool satnogs::comms::lib::lp5912::pgood | ( | ) | const |
Return the power-good indicator
Definition at line 71 of file lp5912.cpp.