|
Sensor Fusion Library 0.6.1
Orientation sensing for Espressif (ESP32, ESP8266) processors
|
Application-specific status subsystem. More...

Go to the source code of this file.
Macros | |
| #define | N 0x00 |
| #define | R 0x04 |
| #define | G 0x02 |
| #define | B 0x01 |
Functions | |
| void | ssSetLeds (int8_t RGB) |
| void | ssSetStatusNow (StatusSubsystem *pStatus, fusion_status_t status) |
| void | ssTest (StatusSubsystem *pStatus) |
| void | ssQueueStatus (StatusSubsystem *pStatus, fusion_status_t status) |
| void | ssUpdateStatus (StatusSubsystem *pStatus) |
| void | ssSetStatus (StatusSubsystem *pStatus, fusion_status_t status) |
| fusion_status_t | ssGetStatus (StatusSubsystem *pStatus) |
| void | initializeStatusSubsystem (StatusSubsystem *pStatus) |
Application-specific status subsystem.
Applications may change how they choose to display status information. The default implementation here uses LEDs. You may swap out implementations as long as the "Required" methods and states are retained.
Definition in file status.c.
| void initializeStatusSubsystem | ( | StatusSubsystem * | pStatus | ) |
initializeStatusSubsystem() should be called once at startup to initialize the data structure and to put hardware into the proper state for communicating status.
| pStatus | pointer to the status subsystem |
| fusion_status_t ssGetStatus | ( | StatusSubsystem * | pStatus | ) |
| void ssQueueStatus | ( | StatusSubsystem * | pStatus, |
| fusion_status_t | status | ||
| ) |
| void ssSetStatus | ( | StatusSubsystem * | pStatus, |
| fusion_status_t | status | ||
| ) |
| void ssSetStatusNow | ( | StatusSubsystem * | pStatus, |
| fusion_status_t | status | ||
| ) |
| void ssTest | ( | StatusSubsystem * | pStatus | ) |
| void ssUpdateStatus | ( | StatusSubsystem * | pStatus | ) |