Struct atmega_hal::pac::usart0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub ucsr0a: Reg<UCSR0A_SPEC>,
pub ucsr0b: Reg<UCSR0B_SPEC>,
pub ucsr0c: Reg<UCSR0C_SPEC>,
pub ubrr0: Reg<UBRR0_SPEC>,
pub udr0: Reg<UDR0_SPEC>,
/* private fields */
}
Expand description
Register block
Fields§
§ucsr0a: Reg<UCSR0A_SPEC>
0x00 - USART Control and Status Register A
ucsr0b: Reg<UCSR0B_SPEC>
0x01 - USART Control and Status Register B
ucsr0c: Reg<UCSR0C_SPEC>
0x02 - USART Control and Status Register C
ubrr0: Reg<UBRR0_SPEC>
0x04 - USART Baud Rate Register Bytes
udr0: Reg<UDR0_SPEC>
0x06 - USART I/O Data 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