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

PICK A PIN's state: the binding shown, the callbacks that apply and select, the IOmcu's drawing of the board, the press, the open protocol list, the pins of each interface and the cat. More...

#include <picker_screen_int.h>

Data Fields

outbind_t bind
picker_apply_fn apply
picker_select_fn select
picker_drawing_fn source
link_drawing_t drawing
 The IOmcu's drawing, for the board drawing_board names; it agreed with that board's catalogue when it was set.
uint16_t drawing_board
bool has_drawing
int hit_kind
int hit
bool open
bool unread
 Whether the binding shown is not one a read confirmed: no button acts.
int refused
 Pin whose tap a PWM clash refused last, -1 for none; the reason line says why.
uint64_t iface [OUTPUTS_IFACE_COUNT]
int port
uint32_t view_rev
bool chrome_valid [MAX_FBS]
bool cat_pending
uint32_t cat_roll
ui_cat_pick_t cat
gfx_rect_t cat_drawn

Detailed Description

PICK A PIN's state: the binding shown, the callbacks that apply and select, the IOmcu's drawing of the board, the press, the open protocol list, the pins of each interface and the cat.

Field Documentation

◆ apply

picker_apply_fn pk_state_t::apply

called to apply a change of the binding

◆ bind

outbind_t pk_state_t::bind

the binding shown

◆ cat

ui_cat_pick_t pk_state_t::cat

the pose and spot picked

◆ cat_drawn

gfx_rect_t pk_state_t::cat_drawn

the box drawn last, empty for none

◆ cat_pending

bool pk_state_t::cat_pending

the pick is still to make

◆ cat_roll

uint32_t pk_state_t::cat_roll

the roll entering took

◆ chrome_valid

bool pk_state_t::chrome_valid[MAX_FBS]

per frame buffer: whether its chrome is current

◆ drawing_board

uint16_t pk_state_t::drawing_board

board the drawing is for

◆ has_drawing

bool pk_state_t::has_drawing

whether drawing holds a drawing

◆ hit

int pk_state_t::hit

row or catalogue index under the finger

◆ hit_kind

int pk_state_t::hit_kind

what the press is on, HIT_*

◆ iface

uint64_t pk_state_t::iface[OUTPUTS_IFACE_COUNT]

each interface's pins at the last frame

◆ open

bool pk_state_t::open

the protocol list is open

◆ port

int pk_state_t::port

PROG PORT picked, -1 for a protocol

◆ select

picker_select_fn pk_state_t::select

called to select a pin

◆ source

picker_drawing_fn pk_state_t::source

called to fetch the board's drawing

◆ view_rev

uint32_t pk_state_t::view_rev

revision of the ports' view as drawn


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