Struct d1_pac::owa::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock {
Show 21 fields pub owa_gen_ctl: OWA_GEN_CTL, pub owa_tx_cfig: OWA_TX_CFIG, pub owa_rx_cfig: OWA_RX_CFIG, pub owa_ista: OWA_ISTA, pub owa_rxfifo: OWA_RXFIFO, pub owa_fctl: OWA_FCTL, pub owa_fsta: OWA_FSTA, pub owa_int: OWA_INT, pub owa_tx_fifo: OWA_TX_FIFO, pub owa_tx_cnt: OWA_TX_CNT, pub owa_rx_cnt: OWA_RX_CNT, pub owa_tx_chsta0: OWA_TX_CHSTA0, pub owa_tx_chsta1: OWA_TX_CHSTA1, pub owa_rxchsta0: OWA_RXCHSTA0, pub owa_rxchsta1: OWA_RXCHSTA1, pub owa_exp_ctl: OWA_EXP_CTL, pub owa_exp_ista: OWA_EXP_ISTA, pub owa_exp_info_0: OWA_EXP_INFO_0, pub owa_exp_info_1: OWA_EXP_INFO_1, pub owa_exp_dbg_0: OWA_EXP_DBG_0, pub owa_exp_dbg_1: OWA_EXP_DBG_1, /* private fields */
}
Expand description

Register block

Fields§

§owa_gen_ctl: OWA_GEN_CTL

0x00 - OWA General Control Register

§owa_tx_cfig: OWA_TX_CFIG

0x04 - OWA TX Configuration Register

§owa_rx_cfig: OWA_RX_CFIG

0x08 - OWA RX Configuration Register

§owa_ista: OWA_ISTA

0x0c - OWA Interrupt Status Register

§owa_rxfifo: OWA_RXFIFO

0x10 - OWA RXFIFO Register

§owa_fctl: OWA_FCTL

0x14 - OWA FIFO Control Register

§owa_fsta: OWA_FSTA

0x18 - OWA FIFO Status Register

§owa_int: OWA_INT

0x1c - OWA Interrupt Control Register

§owa_tx_fifo: OWA_TX_FIFO

0x20 - OWA TX FIFO Register

§owa_tx_cnt: OWA_TX_CNT

0x24 - OWA TX Counter Register

§owa_rx_cnt: OWA_RX_CNT

0x28 - OWA RX Counter Register

§owa_tx_chsta0: OWA_TX_CHSTA0

0x2c - OWA TX Channel Status Register0

§owa_tx_chsta1: OWA_TX_CHSTA1

0x30 - OWA TX Channel Status Register1

§owa_rxchsta0: OWA_RXCHSTA0

0x34 - OWA RX Channel Status Register0

§owa_rxchsta1: OWA_RXCHSTA1

0x38 - OWA RX Channel Status Register1

§owa_exp_ctl: OWA_EXP_CTL

0x40 - OWA Expand Control Register

§owa_exp_ista: OWA_EXP_ISTA

0x44 - OWA Expand Interrupt Status Register

§owa_exp_info_0: OWA_EXP_INFO_0

0x48 - OWA Expand Infomation Register0

§owa_exp_info_1: OWA_EXP_INFO_1

0x4c - OWA Expand Infomation Register1

§owa_exp_dbg_0: OWA_EXP_DBG_0

0x50 - OWA Expand Debug Register0

§owa_exp_dbg_1: OWA_EXP_DBG_1

0x54 - OWA Expand Debug Register1

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

§

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

§

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.