pub struct UART3 { /* private fields */ }
Expand description
UART0/2/3
Implementations
sourceimpl UART3
impl UART3
sourcepub const PTR: *const RegisterBlock = {0x4009c000 as *const uart0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x4009c000 as *const uart0::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Methods from Deref<Target = RegisterBlock>
sourcepub fn dll(&self) -> &Reg<DLL_SPEC>
pub fn dll(&self) -> &Reg<DLL_SPEC>
0x00 - Divisor Latch LSB. Least significant byte of the baud rate divisor value. The full divisor is used to generate a baud rate from the fractional rate divider (DLAB =1).
sourcepub fn thr(&self) -> &Reg<THR_SPEC>
pub fn thr(&self) -> &Reg<THR_SPEC>
0x00 - Transmit Holding Regiter. The next character to be transmitted is written here (DLAB =0).
sourcepub fn rbr(&self) -> &Reg<RBR_SPEC>
pub fn rbr(&self) -> &Reg<RBR_SPEC>
0x00 - Receiver Buffer Register. Contains the next received character to be read (DLAB =0).
sourcepub fn ier(&self) -> &Reg<IER_SPEC>
pub fn ier(&self) -> &Reg<IER_SPEC>
0x04 - Interrupt Enable Register. Contains individual interrupt enable bits for the 7 potential UART interrupts (DLAB =0).
sourcepub fn dlm(&self) -> &Reg<DLM_SPEC>
pub fn dlm(&self) -> &Reg<DLM_SPEC>
0x04 - Divisor Latch MSB. Most significant byte of the baud rate divisor value. The full divisor is used to generate a baud rate from the fractional rate divider (DLAB =1).
Trait Implementations
sourceimpl Deref for UART3
impl Deref for UART3
type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
impl Send for UART3
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more