rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Toggle main menu visibility
Loading...
Searching...
No Matches
sense_trace_hw.h
Go to the documentation of this file.
1
23
#ifndef RCBENCH_SENSE_TRACE_HW_H
24
#define RCBENCH_SENSE_TRACE_HW_H
25
26
#include <stdint.h>
27
28
#include "
outputs.h
"
29
#include "
sense_svc.h
"
30
35
#define SENSE_TRACE_HW_RING 4096u
36
40
void
sense_trace_hw_init
(
void
);
41
49
void
sense_trace_hw_feed
(
const
sense_svc_t
*svc, uint64_t tick_us);
50
63
void
sense_trace_hw_outputs
(
const
outputs_t
*o);
64
70
void
sense_trace_hw_edge
(uint64_t edge_us);
71
76
void
sense_trace_hw_pass
(
void
);
77
78
#endif
/* RCBENCH_SENSE_TRACE_HW_H */
outputs.h
The intermediary every output goes through: one set of rules for arming, clamping,...
sense_svc.h
The IOmcu's sensor service: what core 1 does each 1ms tick with the orders core 0 gives it,...
sense_trace_hw_feed
void sense_trace_hw_feed(const sense_svc_t *svc, uint64_t tick_us)
Core 1, after each step of svc; tick_us is the time the tick started at, as the loop read it.
Definition
sense_trace_hw.c:38
sense_trace_hw_edge
void sense_trace_hw_edge(uint64_t edge_us)
Core 0: the capture's PWM edge, as outputs_hw_edge() stamped it.
Definition
sense_trace_hw.c:72
sense_trace_hw_init
void sense_trace_hw_init(void)
Core 0, before core 1 starts.
Definition
sense_trace_hw.c:33
sense_trace_hw_pass
void sense_trace_hw_pass(void)
Core 0, once a pass: a character from the console, and the lines the console has room for.
Definition
sense_trace_hw.c:77
sense_trace_hw_outputs
void sense_trace_hw_outputs(const outputs_t *o)
Core 0, straight after outputs_hw_service(): each bound PWM slot's pulse of this pass,...
Definition
sense_trace_hw.c:43
outputs_t
The state of a bank of channels and slots.
Definition
outputs.h:143
sense_svc_t
The sensor service: its schedule and the command state it acts on.
Definition
sense_svc.h:174
firmware
iomcu
src
sense_trace_hw.h
Generated by
1.18.0