|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The panel's state of the SENSE_WIN link pages. More...
#include <sense_win_link.h>
Data Fields | |
| bool | up |
| bool | page |
| uint8_t | want |
| uint8_t | pending |
| uint32_t | read_ms [2] |
| bool | asked [2] |
| bool | have [2] |
| bool | have_prev [2] |
| uint16_t | regs [2][LINK_SX_COUNT] |
| uint16_t | prev [2][LINK_SX_COUNT] |
The panel's state of the SENSE_WIN link pages.
| bool sense_win_link_t::asked[2] |
per page, whether the read is asked
| bool sense_win_link_t::have[2] |
regs holds a read under want
| bool sense_win_link_t::have_prev[2] |
prev holds the read of the window before
| bool sense_win_link_t::page |
it has the pages (4.25)
| uint8_t sense_win_link_t::pending |
the page being read, 0 or 1; 0xFF none
| uint16_t sense_win_link_t::prev[2][LINK_SX_COUNT] |
per page, the registers of the window before
| uint32_t sense_win_link_t::read_ms[2] |
when each page was last asked for
| uint16_t sense_win_link_t::regs[2][LINK_SX_COUNT] |
per page, the registers of the read
| bool sense_win_link_t::up |
an IOmcu answers
| uint8_t sense_win_link_t::want |
bit 0 SENSE_WIN_A, bit 1 SENSE_WIN_B