![]() |
SatNOGS-COMMS
4.1.0
A COMMS subsystem for CubeSats
|
Firmware initialization helper class. More...
#include <startup.hpp>
Public Member Functions | |
| startup (startup const &)=delete | |
| void | operator= (startup const &)=delete |
| void | prepare () |
| Prepares and initializes the transceiver. | |
| void | start () |
| Starts the execution of all the subsystems and their coressponding tasks. | |
| int | wdg_id () const |
| Returns the Task Watchdog ID registered at the contructor. | |
| struct k_work_q * | workq () |
Static Public Member Functions | |
| static startup & | get_instance () |
| Get a singleton access to the startup subsystem. | |
Firmware initialization helper class.
This class provides a safe and convenient way to perform the initial configuration and initialization of all the underlying subsystems of the transceiver. The class provides two different stages, the prepare() and the start() respectively. Between them, users may apply any kind of mission specific operations that may be required.
Definition at line 68 of file startup.hpp.
|
delete |
|
inlinestatic |
Get a singleton access to the startup subsystem.
At the first instantiation of the class the hardware watchdog is engaged and the Task Watchdog of the Zephyr-RTOS is initiated.
Definition at line 80 of file startup.hpp.
|
delete |
| void satnogs::comms::startup::prepare | ( | ) |
Prepares and initializes the transceiver.
Definition at line 428 of file startup.cpp.
| void satnogs::comms::startup::start | ( | ) |
Starts the execution of all the subsystems and their coressponding tasks.
Definition at line 528 of file startup.cpp.
| int satnogs::comms::startup::wdg_id | ( | ) | const |
Returns the Task Watchdog ID registered at the contructor.
Definition at line 582 of file startup.cpp.
| k_work_q * satnogs::comms::startup::workq | ( | ) |
Definition at line 588 of file startup.cpp.