ISSDK  1.7
IoT Sensing Software Development Kit
Data Fields
StatusSubsystem Struct Reference

StatusSubsystem() provides an object-like interface for communicating status to the user. More...

#include <status.h>

Collaboration diagram for StatusSubsystem:
Collaboration graph

Data Fields

fusion_status_t previous
 Previous status state - fusion_status_t is defined in sensor_fusion.h. More...
 
fusion_status_t status
 Current status. More...
 
fusion_status_t next
 Pending status change. More...
 
ssSetStatus_tset
 change status immediately - no delay More...
 
ssSetStatus_tqueue
 queue status change for next regular interval More...
 
ssUpdateStatus_tupdate
 make pending status active/visible More...
 
ssUpdateStatus_ttest
 unit test which simply increments to next state More...
 
uint8_t toggle
 This implementation can change LED color and have either solid/toggle. More...
 

Detailed Description

StatusSubsystem() provides an object-like interface for communicating status to the user.

Definition at line 48 of file status.h.

Field Documentation

◆ next

Pending status change.

Definition at line 52 of file status.h.

Referenced by ssQueueStatus(), ssSetStatus(), ssSetStatusNow(), and ssUpdateStatus().

◆ previous

fusion_status_t previous

Previous status state - fusion_status_t is defined in sensor_fusion.h.

Definition at line 50 of file status.h.

Referenced by initializeStatusSubsystem(), ssSetStatusNow(), and ssUpdateStatus().

◆ queue

ssSetStatus_t* queue

queue status change for next regular interval

Definition at line 55 of file status.h.

Referenced by initializeStatusSubsystem(), and queueStatus().

◆ set

change status immediately - no delay

Definition at line 54 of file status.h.

Referenced by initializeStatusSubsystem(), setStatus(), and zeroArray().

◆ status

Current status.

Definition at line 51 of file status.h.

Referenced by ssSetStatusNow(), ssTest(), and ssUpdateStatus().

◆ test

unit test which simply increments to next state

Definition at line 57 of file status.h.

Referenced by initializeStatusSubsystem(), and testStatus().

◆ toggle

uint8_t toggle

This implementation can change LED color and have either solid/toggle.

Definition at line 59 of file status.h.

Referenced by initializeStatusSubsystem(), and ssSetStatusNow().

◆ update

make pending status active/visible

Definition at line 56 of file status.h.

Referenced by initializeStatusSubsystem(), and updateStatus().


The documentation for this struct was generated from the following file: