|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
#include <idle_port.h>
Public Attributes | |
| uint32_t | sequence |
| uint32_t | uptime_ms |
| uint16_t | supply_mv |
| idle_battery_state_t | battery |
| self_test_result_t | previous_send |
| uint8_t | consecutive_send_failures |
Definition at line 41 of file idle_port.h.
| idle_battery_state_t idle_heartbeat_t::battery |
Definition at line 45 of file idle_port.h.
Referenced by anonymous_namespace{idle_e2e.cpp}::check_idle_usb(), anonymous_namespace{idle_e2e.cpp}::send_heartbeat(), send_heartbeat(), test_battery_validity(), test_first_wake_sends_heartbeat(), test_hysteresis(), test_invalid_battery_still_sends(), test_pass_and_inventory(), test_thresholds(), and test_usb_is_never_battery_health().
| uint8_t idle_heartbeat_t::consecutive_send_failures |
Definition at line 48 of file idle_port.h.
Referenced by anonymous_namespace{idle_e2e.cpp}::check_idle_tx_fail(), and test_send_failure_counted_and_sleep_continues().
| self_test_result_t idle_heartbeat_t::previous_send |
Definition at line 47 of file idle_port.h.
Referenced by test_first_wake_sends_heartbeat(), and test_send_failure_counted_and_sleep_continues().
| uint32_t idle_heartbeat_t::sequence |
Definition at line 42 of file idle_port.h.
Referenced by test_clock_and_sequence_wraparound(), test_first_wake_sends_heartbeat(), and test_sixty_seconds_gives_six_heartbeats().
| uint16_t idle_heartbeat_t::supply_mv |
Definition at line 44 of file idle_port.h.
Referenced by anonymous_namespace{idle_e2e.cpp}::send_heartbeat(), send_heartbeat(), test_invalid_battery_still_sends(), test_thresholds(), and test_usb_is_never_battery_health().
| uint32_t idle_heartbeat_t::uptime_ms |
Definition at line 43 of file idle_port.h.
Referenced by anonymous_namespace{idle_e2e.cpp}::send_heartbeat(), send_heartbeat(), and test_first_wake_sends_heartbeat().