[−][src]Struct stm32l0xx_hal::stm32::gpioa::moder::R
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) -> MODE0R
[src]
Bits 2:3 - Port x configuration bits (y = 0..15)
pub fn mode2(&self) -> MODE0R
[src]
Bits 4:5 - Port x configuration bits (y = 0..15)
pub fn mode3(&self) -> MODE0R
[src]
Bits 6:7 - Port x configuration bits (y = 0..15)
pub fn mode4(&self) -> MODE0R
[src]
Bits 8:9 - Port x configuration bits (y = 0..15)
pub fn mode5(&self) -> MODE0R
[src]
Bits 10:11 - Port x configuration bits (y = 0..15)
pub fn mode6(&self) -> MODE0R
[src]
Bits 12:13 - Port x configuration bits (y = 0..15)
pub fn mode7(&self) -> MODE0R
[src]
Bits 14:15 - Port x configuration bits (y = 0..15)
pub fn mode8(&self) -> MODE0R
[src]
Bits 16:17 - Port x configuration bits (y = 0..15)
pub fn mode9(&self) -> MODE0R
[src]
Bits 18:19 - Port x configuration bits (y = 0..15)
pub fn mode10(&self) -> MODE0R
[src]
Bits 20:21 - Port x configuration bits (y = 0..15)
pub fn mode11(&self) -> MODE0R
[src]
Bits 22:23 - Port x configuration bits (y = 0..15)
pub fn mode12(&self) -> MODE0R
[src]
Bits 24:25 - Port x configuration bits (y = 0..15)
pub fn mode13(&self) -> MODE0R
[src]
Bits 26:27 - Port x configuration bits (y = 0..15)
pub fn mode14(&self) -> MODE0R
[src]
Bits 28:29 - Port x configuration bits (y = 0..15)
pub fn mode15(&self) -> MODE0R
[src]
Bits 30:31 - Port x configuration bits (y = 0..15)
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self