Struct gd32vf103_pac::gpioa::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub ctl0: CTL0,
pub ctl1: CTL1,
pub istat: ISTAT,
pub octl: OCTL,
pub bop: BOP,
pub bc: BC,
pub lock: LOCK,
}
Expand description
Register block
Fields§
§ctl0: CTL0
0x00 - port control register 0
ctl1: CTL1
0x04 - port control register 1
istat: ISTAT
0x08 - Port input status register
octl: OCTL
0x0c - Port output control register
bop: BOP
0x10 - Port bit operate register
bc: BC
0x14 - Port bit clear register
lock: LOCK
0x18 - GPIO port configuration lock register
Auto Trait Implementations§
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more