periph: Index | Files

package uart

import ""

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

See for more information.


Package Files

func.go uart.go


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.