#[repr(C)]
pub struct RegisterBlock { pub rx_cfg0: RX_CFG0, pub rx_cfg1: RX_CFG1, pub tx_cfg0: TX_CFG0, pub tx_cfg1: TX_CFG1, pub st: ST, pub int_ena: INT_ENA, pub int_raw: INT_RAW, pub int_st: INT_ST, pub int_clr: INT_CLR, pub clk: CLK, pub version: VERSION, /* private fields */ }
Expand description

Register block

Fields§

§rx_cfg0: RX_CFG0

0x00 - Parallel RX module configuration register0.

§rx_cfg1: RX_CFG1

0x04 - Parallel RX module configuration register1.

§tx_cfg0: TX_CFG0

0x08 - Parallel TX module configuration register0.

§tx_cfg1: TX_CFG1

0x0c - Parallel TX module configuration register1.

§st: ST

0x10 - Parallel IO module status register0.

§int_ena: INT_ENA

0x14 - Parallel IO interrupt enable singal configuration register.

§int_raw: INT_RAW

0x18 - Parallel IO interrupt raw singal status register.

§int_st: INT_ST

0x1c - Parallel IO interrupt singal status register.

§int_clr: INT_CLR

0x20 - Parallel IO interrupt clear singal configuration register.

§clk: CLK

0x120 - Parallel IO clk configuration register

§version: VERSION

0x3fc - Version register.

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.