[−][src]Struct ADuCM302x::uart0::RegisterBlock
Register block
Fields
ien: IEN
0x04 - Interrupt Enable
iir: IIR
0x08 - Interrupt ID
lcr: LCR
0x0c - Line Control
mcr: MCR
0x10 - Modem Control
lsr: LSR
0x14 - Line Status
msr: MSR
0x18 - Modem Status
scr: SCR
0x1c - Scratch Buffer
fcr: FCR
0x20 - FIFO Control
fbr: FBR
0x24 - Fractional Baud Rate
div: DIV
0x28 - Baud Rate Divider
lcr2: LCR2
0x2c - Second Line Control
ctl: CTL
0x30 - UART Control Register
rfc: RFC
0x34 - RX FIFO Byte Count
tfc: TFC
0x38 - TX FIFO Byte Count
rsc: RSC
0x3c - RS485 Half-duplex Control
acr: ACR
0x40 - Auto Baud Control
asrl: ASRL
0x44 - Auto Baud Status (Low)
asrh: ASRH
0x48 - Auto Baud Status (High)
Implementations
impl RegisterBlock
[src]
pub fn tx(&self) -> &TX
[src]
0x00 - Transmit Holding Register
pub fn tx_mut(&self) -> &mut TX
[src]
0x00 - Transmit Holding Register
pub fn rx(&self) -> &RX
[src]
0x00 - Receive Buffer Register
pub fn rx_mut(&self) -> &mut RX
[src]
0x00 - Receive Buffer Register
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,