# DIRECTION in k210_pac::gpio - Rust
Data direction registers
Keywords: rust, rustlang, rust-lang, DIRECTION

# Type Definition k210_pac::gpio::DIRECTION

source · [−]

    pub type DIRECTION = Reg<u32, _DIRECTION>;

Expand description

Data direction registers

This register you can `read`, `reset`, `write`, `write_with_zero`, `modify`. See API.

For information about available fields see direction module

## Trait Implementations

source

### impl ResetValue for DIRECTION

Register direction `reset()`’s with value 0

#### type Type = u32

Raw register type (`u8`, `u16`, `u32`, …).

source

#### fn reset_value() -> Self::Type

Reset value of the register.

source

### impl Readable for DIRECTION

`read()` method returns direction::R reader structure

source

### impl Writable for DIRECTION

`write(|w| ..)` method takes direction::W writer structure