Struct riot_sys::uart_conf_t[][src]

#[repr(C)]
pub struct uart_conf_t { pub dev: *mut NRF_UARTE_Type, pub rx_pin: gpio_t, pub tx_pin: gpio_t, pub irqn: u8, }
Expand description

@brief Structure for UART configuration data

Fields

dev: *mut NRF_UARTE_Type

< UART with EasyDMA device base register address

rx_pin: gpio_t

< RX pin

tx_pin: gpio_t

< TX pin

irqn: u8

< IRQ channel

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.