|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The schedule's parts shared between its two files: sense_sched.c reads the bus, sense_sched_cap.c runs the move capture and FAST's history on what it read. More...
#include "sense_sched.h"Go to the source code of this file.
Functions | |
| void | sense_cap_step (sense_sched_t *s, const sense_value_t *v, uint32_t at_t) |
The capture's step: FAST's sample of this tick, or NULL with none, at at_t (0.1ms). | |
| bool | sense_cap_under_way (const sense_cap_t *c) |
| Whether a capture is armed, waiting or moving. | |
The schedule's parts shared between its two files: sense_sched.c reads the bus, sense_sched_cap.c runs the move capture and FAST's history on what it read.
Not for any other module.
SPDX-License-Identifier: MIT
| void sense_cap_step | ( | sense_sched_t * | s, |
| const sense_value_t * | v, | ||
| uint32_t | at_t ) |
The capture's step: FAST's sample of this tick, or NULL with none, at at_t (0.1ms).
Then the sample into the history.
| s | The schedule whose capture and history are updated. |
| v | FAST's sample of this tick, or NULL when there is none. |
| at_t | Time of the step, in 0.1ms. |
| bool sense_cap_under_way | ( | const sense_cap_t * | c | ) |
Whether a capture is armed, waiting or moving.
| c | The capture to test. |