Kbscan

Struct Kbscan 

Source
pub struct Kbscan { /* private fields */ }

Implementations§

Source§

impl Kbscan

Source

pub const fn kbscn_ctrl2_reg(&self) -> &'static Reg<KbscnCtrl2Reg_SPEC, RW>

Keyboard scanner control 2 register

Source

pub const fn kbscn_ctrl_reg(&self) -> &'static Reg<KbscnCtrlReg_SPEC, RW>

Keyboard scanner control register

Source

pub const fn kbscn_debounce_reg( &self, ) -> &'static Reg<KbscnDebounceReg_SPEC, RW>

Defines the debounce time for key press and release

Source

pub const fn kbscn_matrix_size_reg( &self, ) -> &'static Reg<KbscnMatrixSizeReg_SPEC, RW>

Defines the number of rows and columns of the matrix

Source

pub const fn kbscn_message_key_reg( &self, ) -> &'static Reg<KbscnMessageKeyReg_SPEC, RW>

Returns a key message from the message queue

Source

pub const fn kbscn_p00_mode_reg(&self) -> &'static Reg<KbscnP00ModeReg_SPEC, RW>

Defines the keyboard mode for P00

Source

pub const fn kbscn_p01_mode_reg(&self) -> &'static Reg<KbscnP01ModeReg_SPEC, RW>

Defines the keyboard mode for P01

Source

pub const fn kbscn_p02_mode_reg(&self) -> &'static Reg<KbscnP02ModeReg_SPEC, RW>

Defines the keyboard mode for P02

Source

pub const fn kbscn_p03_mode_reg(&self) -> &'static Reg<KbscnP03ModeReg_SPEC, RW>

Defines the keyboard mode for P03

Source

pub const fn kbscn_p04_mode_reg(&self) -> &'static Reg<KbscnP04ModeReg_SPEC, RW>

Defines the keyboard mode for P04

Source

pub const fn kbscn_p05_mode_reg(&self) -> &'static Reg<KbscnP05ModeReg_SPEC, RW>

Defines the keyboard mode for P05

Source

pub const fn kbscn_p06_mode_reg(&self) -> &'static Reg<KbscnP06ModeReg_SPEC, RW>

Defines the keyboard mode for P06

Source

pub const fn kbscn_p07_mode_reg(&self) -> &'static Reg<KbscnP07ModeReg_SPEC, RW>

Defines the keyboard mode for P07

Source

pub const fn kbscn_p10_mode_reg(&self) -> &'static Reg<KbscnP10ModeReg_SPEC, RW>

Defines the keyboard mode for P10

Source

pub const fn kbscn_p11_mode_reg(&self) -> &'static Reg<KbscnP11ModeReg_SPEC, RW>

Defines the keyboard mode for P11

Source

pub const fn kbscn_p12_mode_reg(&self) -> &'static Reg<KbscnP12ModeReg_SPEC, RW>

Defines the keyboard mode for P12

Source

pub const fn kbscn_p13_mode_reg(&self) -> &'static Reg<KbscnP13ModeReg_SPEC, RW>

Defines the keyboard mode for P13

Source

pub const fn kbscn_p14_mode_reg(&self) -> &'static Reg<KbscnP14ModeReg_SPEC, RW>

Defines the keyboard mode for P14

Source

pub const fn kbscn_p15_mode_reg(&self) -> &'static Reg<KbscnP15ModeReg_SPEC, RW>

Defines the keyboard mode for P15

Source

pub const fn kbscn_p16_mode_reg(&self) -> &'static Reg<KbscnP16ModeReg_SPEC, RW>

Defines the keyboard mode for P16

Source

pub const fn kbscn_p17_mode_reg(&self) -> &'static Reg<KbscnP17ModeReg_SPEC, RW>

Defines the keyboard mode for P17

Source

pub const fn kbscn_p20_mode_reg(&self) -> &'static Reg<KbscnP20ModeReg_SPEC, RW>

Defines the keyboard mode for P20

Source

pub const fn kbscn_p21_mode_reg(&self) -> &'static Reg<KbscnP21ModeReg_SPEC, RW>

Defines the keyboard mode for P21

Source

pub const fn kbscn_p22_mode_reg(&self) -> &'static Reg<KbscnP22ModeReg_SPEC, RW>

Defines the keyboard mode for P22

Source

pub const fn kbscn_p23_mode_reg(&self) -> &'static Reg<KbscnP23ModeReg_SPEC, RW>

Defines the keyboard mode for P23

Source

pub const fn kbscn_p24_mode_reg(&self) -> &'static Reg<KbscnP24ModeReg_SPEC, RW>

Defines the keyboard mode for P24

Source

pub const fn kbscn_p30_mode_reg(&self) -> &'static Reg<KbscnP30ModeReg_SPEC, RW>

Defines the keyboard mode for P30

Source

pub const fn kbscn_p31_mode_reg(&self) -> &'static Reg<KbscnP31ModeReg_SPEC, RW>

Defines the keyboard mode for P31

Source

pub const fn kbscn_p32_mode_reg(&self) -> &'static Reg<KbscnP32ModeReg_SPEC, RW>

Defines the keyboard mode for P32

Source

pub const fn kbscn_p33_mode_reg(&self) -> &'static Reg<KbscnP33ModeReg_SPEC, RW>

Defines the keyboard mode for P33

Source

pub const fn kbscn_p34_mode_reg(&self) -> &'static Reg<KbscnP34ModeReg_SPEC, RW>

Defines the keyboard mode for P34

Source

pub const fn kbscn_p35_mode_reg(&self) -> &'static Reg<KbscnP35ModeReg_SPEC, RW>

Defines the keyboard mode for P35

Source

pub const fn kbscn_p36_mode_reg(&self) -> &'static Reg<KbscnP36ModeReg_SPEC, RW>

Defines the keyboard mode for P36

Source

pub const fn kbscn_p37_mode_reg(&self) -> &'static Reg<KbscnP37ModeReg_SPEC, RW>

Defines the keyboard mode for P37

Source

pub const fn kbscn_p40_mode_reg(&self) -> &'static Reg<KbscnP40ModeReg_SPEC, RW>

Defines the keyboard mode for P40

Source

pub const fn kbscn_p41_mode_reg(&self) -> &'static Reg<KbscnP41ModeReg_SPEC, RW>

Defines the keyboard mode for P41

Source

pub const fn kbscn_p42_mode_reg(&self) -> &'static Reg<KbscnP42ModeReg_SPEC, RW>

Defines the keyboard mode for P42

Source

pub const fn kbscn_p43_mode_reg(&self) -> &'static Reg<KbscnP43ModeReg_SPEC, RW>

Defines the keyboard mode for P43

Source

pub const fn kbscn_p44_mode_reg(&self) -> &'static Reg<KbscnP44ModeReg_SPEC, RW>

Defines the keyboard mode for P44

Source

pub const fn kbscn_p45_mode_reg(&self) -> &'static Reg<KbscnP45ModeReg_SPEC, RW>

Defines the keyboard mode for P45

Source

pub const fn kbscn_p46_mode_reg(&self) -> &'static Reg<KbscnP46ModeReg_SPEC, RW>

Defines the keyboard mode for P46

Source

pub const fn kbscn_p47_mode_reg(&self) -> &'static Reg<KbscnP47ModeReg_SPEC, RW>

Defines the keyboard mode for P47

Source

pub const fn kbscn_status_reg(&self) -> &'static Reg<KbscnStatusReg_SPEC, RW>

keyboard scanner Interrupt status register

Trait Implementations§

Source§

impl Clone for Kbscan

Source§

fn clone(&self) -> Kbscan

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl PartialEq for Kbscan

Source§

fn eq(&self, other: &Kbscan) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Kbscan

Source§

impl Eq for Kbscan

Source§

impl Send for Kbscan

KBSCAN registers

Source§

impl StructuralPartialEq for Kbscan

Source§

impl Sync for Kbscan

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.