rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
sense_win_link_t Struct Reference

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]

Detailed Description

The panel's state of the SENSE_WIN link pages.

Field Documentation

◆ asked

bool sense_win_link_t::asked[2]

per page, whether the read is asked

◆ have

bool sense_win_link_t::have[2]

regs holds a read under want

◆ have_prev

bool sense_win_link_t::have_prev[2]

prev holds the read of the window before

◆ page

bool sense_win_link_t::page

it has the pages (4.25)

◆ pending

uint8_t sense_win_link_t::pending

the page being read, 0 or 1; 0xFF none

◆ prev

uint16_t sense_win_link_t::prev[2][LINK_SX_COUNT]

per page, the registers of the window before

◆ read_ms

uint32_t sense_win_link_t::read_ms[2]

when each page was last asked for

◆ regs

uint16_t sense_win_link_t::regs[2][LINK_SX_COUNT]

per page, the registers of the read

◆ up

bool sense_win_link_t::up

an IOmcu answers

◆ want

uint8_t sense_win_link_t::want

bit 0 SENSE_WIN_A, bit 1 SENSE_WIN_B


The documentation for this struct was generated from the following file: