periph: periph.io/x/periph/conn/uart Index | Files

package uart

import "periph.io/x/periph/conn/uart"

Package uart will eventually define the API to communicate with devices over the UART protocol.

See https://en.wikipedia.org/wiki/UART for more information.

Index

Package Files

func.go uart.go

Constants

const (
    RX  pin.Func = "UART_RX"  // Receive
    TX  pin.Func = "UART_TX"  // Transmit
    RTS pin.Func = "UART_RTS" // Request to send
    CTS pin.Func = "UART_CTS" // Clear to send

    // These are rarely used.
    DTR pin.Func = "UART_DTR" // Data terminal ready
    DSR pin.Func = "UART_DSR" // Data set ready
    DCD pin.Func = "UART_DCD" // Data carrier detect
    RI  pin.Func = "UART_RI"  // Ring indicator
)

Well known pin functionality.

Package uart imports 1 packages (graph). Updated 2019-06-27. Refresh now. Tools for package owners.