#[repr(C)]pub struct RegisterBlock {
pub data: DATA,
pub state: STATE,
pub ctrl: CTRL,
pub bauddiv: BAUDDIV,
/* private fields */
}Expand description
Register block
Fields§
§data: DATA0x00 - Receive and Transmit Data Value
state: STATE0x04 - UART Status Register
ctrl: CTRL0x08 - UART Control Register
bauddiv: BAUDDIV0x10 - Baudrate Divider
Implementations§
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