Struct gd32f1::gd32f170::gpiob::RegisterBlock [−][src]
Register block
Fields
ctl: CTL
0x00 - GPIO port control register
omode: OMODE
0x04 - GPIO port output type register
ospd: OSPD
0x08 - GPIO port output speed register
pud: PUD
0x0c - GPIO port pull-up/pull-down register
istat: ISTAT
0x10 - GPIO port input data register
octl: OCTL
0x14 - GPIO port output data register
bop: BOP
0x18 - GPIO port bit set/reset register
lock: LOCK
0x1c - GPIO port configuration lock register
afsel0: AFSEL0
0x20 - GPIO alternate function low register
afsel1: AFSEL1
0x24 - GPIO alternate function register 1
bc: BC
0x28 - Port bit reset register
tg: TG
0x2c - Port bit toggle register
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,