pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn gpio_sw_out(&self) -> &GpioSwOut
pub const fn gpio_sw_out(&self) -> &GpioSwOut
0x00 - GPIO data register
Sourcepub const fn gpio_sw_oen(&self) -> &GpioSwOen
pub const fn gpio_sw_oen(&self) -> &GpioSwOen
0x04 - GPIO data direction register
Sourcepub const fn gpio_int_en(&self) -> &GpioIntEn
pub const fn gpio_int_en(&self) -> &GpioIntEn
0x0c - GPIO interrupt enable register
Sourcepub const fn gpio_int_mask(&self) -> &GpioIntMask
pub const fn gpio_int_mask(&self) -> &GpioIntMask
0x10 - GPIO interrupt mask register
Sourcepub const fn gpio_int_type(&self) -> &GpioIntType
pub const fn gpio_int_type(&self) -> &GpioIntType
0x14 - GPIO interrupt type register
Sourcepub const fn gpio_int_polarity(&self) -> &GpioIntPolarity
pub const fn gpio_int_polarity(&self) -> &GpioIntPolarity
0x18 - GPIO interrupt polarity register
Sourcepub const fn gpio_int_dedge(&self) -> &GpioIntDedge
pub const fn gpio_int_dedge(&self) -> &GpioIntDedge
0x1c - GPIO dual-edge interrupt enable register
Sourcepub const fn gpio_int_debounce(&self) -> &GpioIntDebounce
pub const fn gpio_int_debounce(&self) -> &GpioIntDebounce
0x20 - GPIO interrupt debounce control register
Sourcepub const fn gpio_int_raw(&self) -> &GpioIntRaw
pub const fn gpio_int_raw(&self) -> &GpioIntRaw
0x24 - GPIO raw interrupt status register
Sourcepub const fn gpio_int_eoi(&self) -> &GpioIntEoi
pub const fn gpio_int_eoi(&self) -> &GpioIntEoi
0x2c - GPIO interrupt clear register
Sourcepub const fn gpio_data_set(&self) -> &GpioDataSet
pub const fn gpio_data_set(&self) -> &GpioDataSet
0x30 - GPIO data set register
Sourcepub const fn gpio_data_clr(&self) -> &GpioDataClr
pub const fn gpio_data_clr(&self) -> &GpioDataClr
0x34 - GPIO data clear register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl !Sync for RegisterBlock
impl Send for RegisterBlock
impl Unpin for RegisterBlock
impl UnsafeUnpin 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