SatNOGS-COMMS  4.1.0
A COMMS subsystem for CubeSats
Loading...
Searching...
No Matches
satnogs::comms::lib::lp5912 Class Reference

#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

Detailed Description

Definition at line 30 of file lp5912.hpp.

Constructor & Destructor Documentation

◆ lp5912()

satnogs::comms::lib::lp5912::lp5912 ( const etl::istring & name,
bsp::gpio * on,
bsp::gpio * pgood = nullptr )

Definition at line 29 of file lp5912.cpp.

Member Function Documentation

◆ enable()

void satnogs::comms::lib::lp5912::enable ( bool set = true)

Enables/Disables the LP5912

Parameters
setset to true to enable or false to disable

Definition at line 51 of file lp5912.cpp.

◆ enabled()

bool satnogs::comms::lib::lp5912::enabled ( ) const

Return the power state of LP5912

Returns
true if the IC is ON, false otherwise

Definition at line 61 of file lp5912.cpp.

◆ name()

const etl::istring & satnogs::comms::lib::lp5912::name ( ) const

Definition at line 41 of file lp5912.cpp.

◆ pgood()

bool satnogs::comms::lib::lp5912::pgood ( ) const

Return the power-good indicator

Returns
true if the IC is working properly, false otherwise

Definition at line 71 of file lp5912.cpp.


The documentation for this class was generated from the following files: