#[repr(C)]pub struct RegisterBlock {
pub txdata: TXDATA,
pub rxdata: RXDATA,
pub txctrl: TXCTRL,
pub rxctrl: RXCTRL,
pub ie: IE,
pub ip: IP,
pub div: DIV,
}Expand description
Register block
Fields§
§txdata: TXDATA0x00 - Transmit Data Register
rxdata: RXDATA0x04 - Receive Data Register
txctrl: TXCTRL0x08 - Transmit Control Register
rxctrl: RXCTRL0x0c - Receive Control Register
ie: IE0x10 - Interrupt Enable Register
ip: IP0x14 - Interrupt Pending Register
div: DIV0x18 - Baud Rate Divisor Register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more