rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Toggle main menu visibility
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
69
bool
sense_core1_start
(
const
sense_cmd_t
*first);
70
76
void
sense_core1_order
(
const
sense_cmd_t
*cmd);
77
86
bool
sense_core1_snapshot
(
sense_snap_t
*out);
87
88
#endif
/* RCBENCH_SENSE_CORE1_H */
sense_core1_order
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
sense_core1_snapshot
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
sense_core1_start
bool sense_core1_start(const sense_cmd_t *first)
Launch core 1 with first as its first order.
Definition
sense_core1.c:167
sense_svc.h
The IOmcu's sensor service: what core 1 does each 1ms tick with the orders core 0 gives it,...
sense_cmd_t
What core 0 asks for.
Definition
sense_svc.h:82
sense_snap_t
What core 1 hands back after each step.
Definition
sense_svc.h:100
firmware
iomcu
src
sense_core1.h
Generated by
1.18.0