# k210_pac::gpio - Rust
General Purpose Input/Output Interface
Keywords: rust, rustlang, rust-lang, gpio

# Module k210_pac::gpio

source · [−]
Expand description

General Purpose Input/Output Interface

## Modules

data_input

External port (data input) registers

data_output

Data (output) registers

direction

Data direction registers

id_code

ID code

interrupt_bothedge

Interrupt both edge type

interrupt_clear

Registers for clearing interrupts

interrupt_debounce

Interrupt debounce registers

interrupt_enable

Interrupt enable/disable registers

interrupt_level

Interrupt level registers

interrupt_mask

Interrupt mask registers

interrupt_polarity

Interrupt polarity registers

interrupt_status

Interrupt status registers

interrupt_status_raw

Raw interrupt status registers

source

Data source registers

sync_level

Sync level registers

## Structs

RegisterBlock

Register block

## Type Definitions

DATA_INPUT

External port (data input) registers

DATA_OUTPUT

Data (output) registers

DIRECTION

Data direction registers

ID_CODE

ID code

INTERRUPT_BOTHEDGE

Interrupt both edge type

INTERRUPT_CLEAR

Registers for clearing interrupts

INTERRUPT_DEBOUNCE

Interrupt debounce registers

INTERRUPT_ENABLE

Interrupt enable/disable registers

INTERRUPT_LEVEL

Interrupt level registers

INTERRUPT_MASK

Interrupt mask registers

INTERRUPT_POLARITY

Interrupt polarity registers

INTERRUPT_STATUS

Interrupt status registers

INTERRUPT_STATUS_RAW

Raw interrupt status registers

SOURCE

Data source registers

SYNC_LEVEL

Sync level registers