# W in k210_pac::gpio::direction - Rust
Writer for register direction
Keywords: rust, rustlang, rust-lang, W

# Type Definition k210_pac::gpio::direction::W

source · [−]

    pub type W = W<u32, DIRECTION>;

Expand description

Writer for register direction

## Implementations

source

### impl W

source

#### pub unsafe fn pin(&mut self, n: usize) -> PIN_W<'_>

source

#### pub fn pin0(&mut self) -> PIN_W<'_>

Bit 0

source

#### pub fn pin1(&mut self) -> PIN_W<'_>

Bit 1

source

#### pub fn pin2(&mut self) -> PIN_W<'_>

Bit 2

source

#### pub fn pin3(&mut self) -> PIN_W<'_>

Bit 3

source

#### pub fn pin4(&mut self) -> PIN_W<'_>

Bit 4

source

#### pub fn pin5(&mut self) -> PIN_W<'_>

Bit 5

source

#### pub fn pin6(&mut self) -> PIN_W<'_>

Bit 6

source

#### pub fn pin7(&mut self) -> PIN_W<'_>

Bit 7