Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn gpio_00_sel(&self) -> &Gpio00Sel

0x00 - GPIO_00 pin mux select

Source

pub const fn gpio_01_sel(&self) -> &Gpio01Sel

0x04 - GPIO_01 pin mux select

Source

pub const fn gpio_02_sel(&self) -> &Gpio02Sel

0x08 - GPIO_02 pin mux select

Source

pub const fn gpio_03_sel(&self) -> &Gpio03Sel

0x0c - GPIO_03 pin mux select

Source

pub const fn gpio_04_sel(&self) -> &Gpio04Sel

0x10 - GPIO_04 pin mux select

Source

pub const fn gpio_05_sel(&self) -> &Gpio05Sel

0x14 - GPIO_05 pin mux select

Source

pub const fn gpio_06_sel(&self) -> &Gpio06Sel

0x18 - GPIO_06 pin mux select

Source

pub const fn gpio_07_sel(&self) -> &Gpio07Sel

0x1c - GPIO_07 pin mux select

Source

pub const fn gpio_08_sel(&self) -> &Gpio08Sel

0x20 - GPIO_08 pin mux select

Source

pub const fn gpio_09_sel(&self) -> &Gpio09Sel

0x24 - GPIO_09 pin mux select

Source

pub const fn gpio_10_sel(&self) -> &Gpio10Sel

0x28 - GPIO_10 pin mux select

Source

pub const fn gpio_11_sel(&self) -> &Gpio11Sel

0x2c - GPIO_11 pin mux select

Source

pub const fn gpio_12_sel(&self) -> &Gpio12Sel

0x30 - GPIO_12 pin mux select

Source

pub const fn gpio_13_sel(&self) -> &Gpio13Sel

0x34 - GPIO_13 pin mux select

Source

pub const fn gpio_14_sel(&self) -> &Gpio14Sel

0x38 - GPIO_14 pin mux select

Source

pub const fn uart1_txd_sel(&self) -> &Uart1TxdSel

0x3c - UART1_TXD pin mux select

Source

pub const fn uart1_rxd_sel(&self) -> &Uart1RxdSel

0x40 - UART1_RXD pin mux select

Source

pub const fn uart0_txd_sel(&self) -> &Uart0TxdSel

0x44 - UART0_TXD pin mux select

Source

pub const fn uart0_rxd_sel(&self) -> &Uart0RxdSel

0x48 - UART0_RXD pin mux select

Source

pub const fn pad_gpio_00_ctrl(&self) -> &PadGpio00Ctrl

0x800 - GPIO_00 pad control register

Source

pub const fn pad_gpio_01_ctrl(&self) -> &PadGpio01Ctrl

0x804 - GPIO_01 pad control register

Source

pub const fn pad_gpio_02_ctrl(&self) -> &PadGpio02Ctrl

0x808 - GPIO_02 pad control register

Source

pub const fn pad_gpio_03_ctrl(&self) -> &PadGpio03Ctrl

0x80c - GPIO_03 pad control register

Source

pub const fn pad_gpio_04_ctrl(&self) -> &PadGpio04Ctrl

0x810 - GPIO_04 pad control register

Source

pub const fn pad_gpio_05_ctrl(&self) -> &PadGpio05Ctrl

0x814 - GPIO_05 pad control register

Source

pub const fn pad_gpio_06_ctrl(&self) -> &PadGpio06Ctrl

0x818 - GPIO_06 pad control register

Source

pub const fn pad_gpio_07_ctrl(&self) -> &PadGpio07Ctrl

0x81c - GPIO_07 pad control register

Source

pub const fn pad_gpio_08_ctrl(&self) -> &PadGpio08Ctrl

0x820 - GPIO_08 pad control register

Source

pub const fn pad_gpio_09_ctrl(&self) -> &PadGpio09Ctrl

0x824 - GPIO_09 pad control register

Source

pub const fn pad_gpio_10_ctrl(&self) -> &PadGpio10Ctrl

0x828 - GPIO_10 pad control register

Source

pub const fn pad_gpio_11_ctrl(&self) -> &PadGpio11Ctrl

0x82c - GPIO_11 pad control register

Source

pub const fn pad_gpio_12_ctrl(&self) -> &PadGpio12Ctrl

0x830 - GPIO_12 pad control register

Source

pub const fn pad_gpio_13_ctrl(&self) -> &PadGpio13Ctrl

0x834 - GPIO_13 pad control register

Source

pub const fn pad_gpio_14_ctrl(&self) -> &PadGpio14Ctrl

0x838 - GPIO_14 pad control register

Source

pub const fn pad_uart1_txd_ctrl(&self) -> &PadUart1TxdCtrl

0x83c - UART1_TXD pad control register

Source

pub const fn pad_uart1_rxd_ctrl(&self) -> &PadUart1RxdCtrl

0x840 - UART1_RXD pad control register

Source

pub const fn pad_uart0_txd_ctrl(&self) -> &PadUart0TxdCtrl

0x844 - UART0_TXD pad control register

Source

pub const fn pad_uart0_rxd_ctrl(&self) -> &PadUart0RxdCtrl

0x848 - UART0_RXD pad control register

Source

pub const fn pad_sfc_clk_ctrl(&self) -> &PadSfcClkCtrl

0x868 - SFC_CLK pad control register

Source

pub const fn pad_sfc_csn_ctrl(&self) -> &PadSfcCsnCtrl

0x86c - SFC_CSN pad control register

Source

pub const fn pad_sfc_io0_ctrl(&self) -> &PadSfcIo0Ctrl

0x870 - SFC_IO0 pad control register

Source

pub const fn pad_sfc_io1_ctrl(&self) -> &PadSfcIo1Ctrl

0x874 - SFC_IO1 pad control register

Source

pub const fn pad_sfc_io2_ctrl(&self) -> &PadSfcIo2Ctrl

0x878 - SFC_IO2 pad control register

Source

pub const fn pad_sfc_io3_ctrl(&self) -> &PadSfcIo3Ctrl

0x87c - SFC_IO3 pad control register

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> 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.