Type Alias gd32f1::gd32f190::gpioc::pud::W

source ·
pub type W = W<PudSpec>;
Expand description

Register PUD writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn pud0(&mut self) -> Pud0W<'_, PudSpec>

Bits 0:1 - Pin 0 pull-up or pull-down bits

source

pub fn pud1(&mut self) -> Pud1W<'_, PudSpec>

Bits 2:3 - Pin 1 pull-up or pull-down bits

source

pub fn pud2(&mut self) -> Pud2W<'_, PudSpec>

Bits 4:5 - Pin 2 pull-up or pull-down bits

source

pub fn pud3(&mut self) -> Pud3W<'_, PudSpec>

Bits 6:7 - Pin 3 pull-up or pull-down bits

source

pub fn pud4(&mut self) -> Pud4W<'_, PudSpec>

Bits 8:9 - Pin 4 pull-up or pull-down bits

source

pub fn pud5(&mut self) -> Pud5W<'_, PudSpec>

Bits 10:11 - Pin 5 pull-up or pull-down bits

source

pub fn pud6(&mut self) -> Pud6W<'_, PudSpec>

Bits 12:13 - Pin 6 pull-up or pull-down bits

source

pub fn pud7(&mut self) -> Pud7W<'_, PudSpec>

Bits 14:15 - Pin 7 pull-up or pull-down bits

source

pub fn pud8(&mut self) -> Pud8W<'_, PudSpec>

Bits 16:17 - Pin 8 pull-up or pull-down bits

source

pub fn pud9(&mut self) -> Pud9W<'_, PudSpec>

Bits 18:19 - Pin 9 pull-up or pull-down bits

source

pub fn pud10(&mut self) -> Pud10W<'_, PudSpec>

Bits 20:21 - Pin 10 pull-up or pull-down bits

source

pub fn pud11(&mut self) -> Pud11W<'_, PudSpec>

Bits 22:23 - Pin 11 pull-up or pull-down bits

source

pub fn pud12(&mut self) -> Pud12W<'_, PudSpec>

Bits 24:25 - Pin 12 pull-up or pull-down bits

source

pub fn pud13(&mut self) -> Pud13W<'_, PudSpec>

Bits 26:27 - Pin 13 pull-up or pull-down bits

source

pub fn pud14(&mut self) -> Pud14W<'_, PudSpec>

Bits 28:29 - Pin 14 pull-up or pull-down bits

source

pub fn pud15(&mut self) -> Pud15W<'_, PudSpec>

Bits 30:31 - Pin 15 pull-up or pull-down bits