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