ether2ser 0.1.0
Ethernet <-> synchronous V.24 bridge firmware for RP2040 + W5500
Loading...
Searching...
No Matches
pin_info_t Struct Reference

Pin metadata entry used by CLI lookup and validation. More...

#include <cli_parser.h>

Data Fields

const char * name
 
uint8_t gpio_num
 
bool is_output
 

Detailed Description

Pin metadata entry used by CLI lookup and validation.

Definition at line 32 of file cli_parser.h.

Field Documentation

◆ gpio_num

uint8_t pin_info_t::gpio_num

GPIO number.

Definition at line 37 of file cli_parser.h.

Referenced by cat_gpio_get(), cat_gpio_set(), and cmd_pininfo().

◆ is_output

bool pin_info_t::is_output

True if pin is output-capable in CLI set operation.

Definition at line 39 of file cli_parser.h.

◆ name

const char* pin_info_t::name

Human-readable CLI pin name.

Definition at line 35 of file cli_parser.h.


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