[][src]Struct nrf52832_hal::target::uart0::RegisterBlock

#[repr(C)]
pub struct RegisterBlock { pub tasks_startrx: TASKS_STARTRX, pub tasks_stoprx: TASKS_STOPRX, pub tasks_starttx: TASKS_STARTTX, pub tasks_stoptx: TASKS_STOPTX, pub tasks_suspend: TASKS_SUSPEND, pub events_cts: EVENTS_CTS, pub events_ncts: EVENTS_NCTS, pub events_rxdrdy: EVENTS_RXDRDY, pub events_txdrdy: EVENTS_TXDRDY, pub events_error: EVENTS_ERROR, pub events_rxto: EVENTS_RXTO, pub shorts: SHORTS, pub intenset: INTENSET, pub intenclr: INTENCLR, pub errorsrc: ERRORSRC, pub enable: ENABLE, pub pselrts: PSELRTS, pub pseltxd: PSELTXD, pub pselcts: PSELCTS, pub pselrxd: PSELRXD, pub rxd: RXD, pub txd: TXD, pub baudrate: BAUDRATE, pub config: CONFIG, // some fields omitted }

Register block

Fields

0x00 - Start UART receiver

0x04 - Stop UART receiver

0x08 - Start UART transmitter

0x0c - Stop UART transmitter

0x1c - Suspend UART

0x100 - CTS is activated (set low). Clear To Send.

0x104 - CTS is deactivated (set high). Not Clear To Send.

0x108 - Data received in RXD

0x11c - Data sent from TXD

0x124 - Error detected

0x144 - Receiver timeout

0x200 - Shortcut register

0x304 - Enable interrupt

0x308 - Disable interrupt

0x480 - Error source

0x500 - Enable UART

0x508 - Pin select for RTS

0x50c - Pin select for TXD

0x510 - Pin select for CTS

0x514 - Pin select for RXD

0x518 - RXD register

0x51c - TXD register

0x524 - Baud rate

0x56c - Configuration of parity and hardware flow control

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more