rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Toggle main menu visibility
Loading...
Searching...
No Matches
picker_port.h
1
/*
2
* PICK A PIN on a programming port: what PROG PORT n in the protocol list
3
* makes of the buttons. picker_screen.c holds the screen; this holds the
4
* rules for a port's pin, as the panel can judge them before the IOmcu
5
* does (prog_port.h), and the asks a tap makes.
6
*
7
* SPDX-License-Identifier: MIT
8
*/
9
#pragma once
10
11
#include <stdbool.h>
12
#include <stddef.h>
13
#include <stdint.h>
14
15
#include "
out_bind.h
"
16
#include "
picker_screen.h
"
17
27
picker_pin_t
picker_port_pin(
const
outbind_t
*b, uint8_t index, uint8_t port,
28
bool
locked,
char
*holder,
size_t
cap);
29
32
bool
picker_port_tap(
const
outbind_t
*b, uint8_t index, uint8_t port,
33
picker_pin_t
st);
34
37
bool
picker_port_clashes(
const
outbind_t
*b, uint8_t index, uint8_t port);
38
44
bool
picker_port_reason(
const
outbind_t
*b, uint8_t port,
int
refused,
45
char
*buf,
size_t
cap);
46
49
bool
picker_port_row(
const
outbind_t
*b, uint8_t
k
,
picker_row_t
*out);
50
53
bool
picker_port_own_pin(
const
outbind_t
*b, uint8_t index,
int
port);
54
56
void
picker_port_count(uint8_t port,
char
*buf,
size_t
cap);
k
#define k
Short name for kst_panel_k inside the overlay's seven files.
Definition
kst_panel_int.h:238
out_bind.h
Binding a protocol to pins: what the operator chooses, and the OUTPUTS page that comes out of it.
picker_screen.h
The pin picker: the board itself, with a button on every pin an output may have.
picker_pin_t
picker_pin_t
Definition
picker_screen.h:134
outbind_t
The selection: which board, the protocol being edited, and each protocol's pins.
Definition
out_bind.h:423
picker_row_t
Definition
picker_screen.h:176
shared
ui
picker_port.h
Generated by
1.18.0