Struct stm32l0x1::gpioa::moder::R [−][src]
pub struct R { /* fields omitted */ }
Value read from the register
Methods
impl R
[src]
impl R
pub fn bits(&self) -> u32
[src]
pub fn bits(&self) -> u32
Value of the register as raw bits
pub fn mode0(&self) -> MODE0R
[src]
pub fn mode0(&self) -> MODE0R
Bits 0:1 - Port x configuration bits (y = 0..15)
pub fn mode1(&self) -> MODE1R
[src]
pub fn mode1(&self) -> MODE1R
Bits 2:3 - Port x configuration bits (y = 0..15)
pub fn mode2(&self) -> MODE2R
[src]
pub fn mode2(&self) -> MODE2R
Bits 4:5 - Port x configuration bits (y = 0..15)
pub fn mode3(&self) -> MODE3R
[src]
pub fn mode3(&self) -> MODE3R
Bits 6:7 - Port x configuration bits (y = 0..15)
pub fn mode4(&self) -> MODE4R
[src]
pub fn mode4(&self) -> MODE4R
Bits 8:9 - Port x configuration bits (y = 0..15)
pub fn mode5(&self) -> MODE5R
[src]
pub fn mode5(&self) -> MODE5R
Bits 10:11 - Port x configuration bits (y = 0..15)
pub fn mode6(&self) -> MODE6R
[src]
pub fn mode6(&self) -> MODE6R
Bits 12:13 - Port x configuration bits (y = 0..15)
pub fn mode7(&self) -> MODE7R
[src]
pub fn mode7(&self) -> MODE7R
Bits 14:15 - Port x configuration bits (y = 0..15)
pub fn mode8(&self) -> MODE8R
[src]
pub fn mode8(&self) -> MODE8R
Bits 16:17 - Port x configuration bits (y = 0..15)
pub fn mode9(&self) -> MODE9R
[src]
pub fn mode9(&self) -> MODE9R
Bits 18:19 - Port x configuration bits (y = 0..15)
pub fn mode10(&self) -> MODE10R
[src]
pub fn mode10(&self) -> MODE10R
Bits 20:21 - Port x configuration bits (y = 0..15)
pub fn mode11(&self) -> MODE11R
[src]
pub fn mode11(&self) -> MODE11R
Bits 22:23 - Port x configuration bits (y = 0..15)
pub fn mode12(&self) -> MODE12R
[src]
pub fn mode12(&self) -> MODE12R
Bits 24:25 - Port x configuration bits (y = 0..15)
pub fn mode13(&self) -> MODE13R
[src]
pub fn mode13(&self) -> MODE13R
Bits 26:27 - Port x configuration bits (y = 0..15)
pub fn mode14(&self) -> MODE14R
[src]
pub fn mode14(&self) -> MODE14R
Bits 28:29 - Port x configuration bits (y = 0..15)
pub fn mode15(&self) -> MODE15R
[src]
pub fn mode15(&self) -> MODE15R
Bits 30:31 - Port x configuration bits (y = 0..15)