Struct rp2040_pac::pads_bank0::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub voltage_select: Reg<VOLTAGE_SELECT_SPEC>,
pub gpio: [Reg<GPIO_SPEC>; 30],
pub swclk: Reg<SWCLK_SPEC>,
pub swd: Reg<SWD_SPEC>,
}
Expand description
Register block
Fields
voltage_select: Reg<VOLTAGE_SELECT_SPEC>
0x00 - Voltage select. Per bank control
gpio: [Reg<GPIO_SPEC>; 30]
0x04..0x7c - Pad control register
swclk: Reg<SWCLK_SPEC>
0x7c - Pad control register
swd: Reg<SWD_SPEC>
0x80 - Pad control 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more