rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
sense_core1.h
Go to the documentation of this file.
1
35#ifndef RCBENCH_SENSE_CORE1_H
36#define RCBENCH_SENSE_CORE1_H
37
38#include <stdbool.h>
39#include <stdint.h>
40
41#include "sense_svc.h"
42
46#define SENSE_TICK_US 1000u
47
55#define SENSE_CORE1_START_MS 100u
56
69bool sense_core1_start(const sense_cmd_t *first);
70
76void sense_core1_order(const sense_cmd_t *cmd);
77
87
88#endif /* RCBENCH_SENSE_CORE1_H */
void sense_core1_order(const sense_cmd_t *cmd)
A new order for core 1, taken at its next tick.
Definition sense_core1.c:182
bool sense_core1_snapshot(sense_snap_t *out)
The newest snapshot into out when one has arrived since the last call; false, and out untouched,...
Definition sense_core1.c:192
bool sense_core1_start(const sense_cmd_t *first)
Launch core 1 with first as its first order.
Definition sense_core1.c:167
The IOmcu's sensor service: what core 1 does each 1ms tick with the orders core 0 gives it,...
What core 0 asks for.
Definition sense_svc.h:82
What core 1 hands back after each step.
Definition sense_svc.h:100