pub struct Kbrd { /* private fields */ }Implementations§
Source§impl Kbrd
impl Kbrd
Sourcepub const fn gpio_debounce_reg(&self) -> &'static Reg<GpioDebounceReg_SPEC, RW>
pub const fn gpio_debounce_reg(&self) -> &'static Reg<GpioDebounceReg_SPEC, RW>
debounce counter value for GPIO inputs
Sourcepub const fn gpio_int_level_ctrl_reg(
&self,
) -> &'static Reg<GpioIntLevelCtrlReg_SPEC, RW>
pub const fn gpio_int_level_ctrl_reg( &self, ) -> &'static Reg<GpioIntLevelCtrlReg_SPEC, RW>
high or low level select for GPIO interrupts
Sourcepub const fn gpio_irq0_in_sel_reg(
&self,
) -> &'static Reg<GpioIrq0InSelReg_SPEC, RW>
pub const fn gpio_irq0_in_sel_reg( &self, ) -> &'static Reg<GpioIrq0InSelReg_SPEC, RW>
GPIO interrupt selection for GPIO_IRQ0
Sourcepub const fn gpio_irq1_in_sel_reg(
&self,
) -> &'static Reg<GpioIrq1InSelReg_SPEC, RW>
pub const fn gpio_irq1_in_sel_reg( &self, ) -> &'static Reg<GpioIrq1InSelReg_SPEC, RW>
GPIO interrupt selection for GPIO_IRQ1
Sourcepub const fn gpio_irq2_in_sel_reg(
&self,
) -> &'static Reg<GpioIrq2InSelReg_SPEC, RW>
pub const fn gpio_irq2_in_sel_reg( &self, ) -> &'static Reg<GpioIrq2InSelReg_SPEC, RW>
GPIO interrupt selection for GPIO_IRQ2
Sourcepub const fn gpio_irq3_in_sel_reg(
&self,
) -> &'static Reg<GpioIrq3InSelReg_SPEC, RW>
pub const fn gpio_irq3_in_sel_reg( &self, ) -> &'static Reg<GpioIrq3InSelReg_SPEC, RW>
GPIO interrupt selection for GPIO_IRQ3
Sourcepub const fn gpio_irq4_in_sel_reg(
&self,
) -> &'static Reg<GpioIrq4InSelReg_SPEC, RW>
pub const fn gpio_irq4_in_sel_reg( &self, ) -> &'static Reg<GpioIrq4InSelReg_SPEC, RW>
GPIO interrupt selection for GPIO_IRQ4
Sourcepub const fn gpio_reset_irq_reg(&self) -> &'static Reg<GpioResetIrqReg_SPEC, RW>
pub const fn gpio_reset_irq_reg(&self) -> &'static Reg<GpioResetIrqReg_SPEC, RW>
GPIO interrupt reset register
Sourcepub const fn kbrd_ctrl_reg(&self) -> &'static Reg<KbrdCtrlReg_SPEC, RW>
pub const fn kbrd_ctrl_reg(&self) -> &'static Reg<KbrdCtrlReg_SPEC, RW>
GPIO Kbrd control register
Sourcepub const fn kbrd_irq_in_sel0_reg(
&self,
) -> &'static Reg<KbrdIrqInSel0Reg_SPEC, RW>
pub const fn kbrd_irq_in_sel0_reg( &self, ) -> &'static Reg<KbrdIrqInSel0Reg_SPEC, RW>
GPIO interrupt selection for KBRD_IRQ for P0
Trait Implementations§
impl Copy for Kbrd
impl Eq for Kbrd
impl Send for Kbrd
KBRD registers
impl StructuralPartialEq for Kbrd
impl Sync for Kbrd
Auto Trait Implementations§
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