switchboard.uart_xactor module

UMI/UART Transactor.

Classes:

uart_xactor(umi[, encoding])

class switchboard.uart_xactor.uart_xactor(umi, encoding='ascii')[source]

Bases: object

REGF_SR_RXEMPTY_MASK = 1
REGF_SR_RXFULL_MASK = 2
REGF_SR_TXEMPTY_MASK = 256
REGF_SR_TXFULL_MASK = 512
REG_RX = 4
REG_SR = 8
REG_TX = 0
read(size=1)[source]
read_byte()[source]
readline(size=-1, end='\n')[source]
write(string)[source]
write_byte(b)[source]