Struct atsam4lc4c_pac::picouart::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub cr: CR,
pub cfg: CFG,
pub sr: SR,
pub rhr: RHR,
pub version: VERSION,
/* private fields */
}
Expand description
Register block
Fields§
§cr: CR
0x00 - Control Register
cfg: CFG
0x04 - Configuration Register
sr: SR
0x08 - Status Register
rhr: RHR
0x0c - Receive Holding Register
version: VERSION
0x20 - Version Register
Auto Trait Implementations§
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