rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
flash_gate.h
Go to the documentation of this file.
1
27
28#ifndef RCBENCH_FLASH_GATE_H
29#define RCBENCH_FLASH_GATE_H
30
31#include <stdbool.h>
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
49bool flash_gate_open(bool armed, bool supply);
50
69bool flash_gate_busy(bool driving, bool supply_on, bool pd_on,
70 bool kst_session);
71
72#ifdef __cplusplus
73}
74#endif
75
76#endif /* RCBENCH_FLASH_GATE_H */
bool flash_gate_open(bool armed, bool supply)
Whether a flash operation may start now.
Definition flash_gate.c:13
bool flash_gate_busy(bool driving, bool supply_on, bool pd_on, bool kst_session)
Whether the IOmcu's flash may not be written now, for the store and for the firmware update alike.
Definition flash_gate.c:18