|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
A master frame as line levels, one per half-cell. More...
#include <kst_wire.h>
Data Fields | |
| uint8_t | kind |
| uint8_t | n_half |
| uint8_t | level [KST_FRAME_LEVEL_BYTES] |
A master frame as line levels, one per half-cell.
The sequence starts with the first high half-cell and ends with the last high half-cell. The low half of the start bit and a trailing low are not part of it: the line is low before and after. The end of the last half-cell is the frame's last edge, the origin of every reply time.
| uint8_t kst_frame_t::kind |
| uint8_t kst_frame_t::level[KST_FRAME_LEVEL_BYTES] |
bit 7 of byte 0 first; 1 = high
| uint8_t kst_frame_t::n_half |
half-cells to clock out