|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
#include "fake_air.h"Go to the source code of this file.
Functions | |
| void | fake_air_configure (uint32_t rx_ms, uint32_t sleep_ms) |
| bool | fake_air_packet_heard (uint32_t cycle_offset_ms, uint32_t preamble_ms) |
| float | fake_air_average_current_ma (float rx_ma, float sleep_ua) |
Variables | |
| static uint32_t | g_rx_ms |
| static uint32_t | g_sleep_ms |
| float fake_air_average_current_ma | ( | float | rx_ma, |
| float | sleep_ua ) |
Definition at line 33 of file fake_air.c.
References g_rx_ms, and g_sleep_ms.
Referenced by test_average_idle_current_under_0_3_ma().
| void fake_air_configure | ( | uint32_t | rx_ms, |
| uint32_t | sleep_ms ) |
| bool fake_air_packet_heard | ( | uint32_t | cycle_offset_ms, |
| uint32_t | preamble_ms ) |
Definition at line 11 of file fake_air.c.
References g_rx_ms, and g_sleep_ms.
Referenced by test_idle_arm_wake_long_preamble_always_heard(), and test_short_preamble_missed_in_sleep_window().
|
static |
Definition at line 3 of file fake_air.c.
Referenced by fake_air_average_current_ma(), fake_air_configure(), and fake_air_packet_heard().
|
static |
Definition at line 4 of file fake_air.c.
Referenced by fake_air_average_current_ma(), fake_air_configure(), and fake_air_packet_heard().