Struct nrf51_hal::serial::Serial
[−]
[src]
pub struct Serial<UART> { /* fields omitted */ }
Serial abstraction
Methods
impl Serial<UART0>
[src]
pub fn uart0(
uart: UART0,
txpin: PIN<Output<PushPull>>,
rxpin: PIN<Input<Floating>>,
speed: BAUDRATEW
) -> Self
[src]
uart: UART0,
txpin: PIN<Output<PushPull>>,
rxpin: PIN<Input<Floating>>,
speed: BAUDRATEW
) -> Self