OpenOCD
adapter_gpio_config Struct Reference

Configuration options for a single GPIO. More...

Data Fields

bool active_low
 
int chip_num
 
enum adapter_gpio_drive_mode drive
 
int gpio_num
 
enum adapter_gpio_init_state init_state
 
enum adapter_gpio_pull pull
 

Detailed Description

Configuration options for a single GPIO.

Definition at line 58 of file adapter.h.

Field Documentation

◆ active_low

bool adapter_gpio_config::active_low

◆ chip_num

int adapter_gpio_config::chip_num

◆ drive

enum adapter_gpio_drive_mode adapter_gpio_config::drive

Definition at line 60 of file adapter.h.

Referenced by COMMAND_HELPER(), get_gpio_mode(), initialize_gpio(), and set_gpio_value().

◆ gpio_num

◆ init_state

enum adapter_gpio_init_state adapter_gpio_config::init_state

Definition at line 60 of file adapter.h.

Referenced by COMMAND_HELPER(), and initialize_gpio().

◆ pull

enum adapter_gpio_pull adapter_gpio_config::pull

Definition at line 63 of file adapter.h.

Referenced by COMMAND_HELPER(), and initialize_gpio().


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