UartMemory
For conceptual usage, see:
Implementation
This Python API is implemented directly in PyRogue.
- class pyrogue.protocols.UartMemory(device, baud, timeout=1, **kwargs)[source]
UART-based memory slave interface for register access over serial.
Implements a simple text-based protocol for reading and writing 32-bit register values over a serial UART connection.
- Parameters:
- readline()[source]
Read a line from the serial port until newline or carriage return.
- Returns:
Line read from the serial port (empty on timeout).
- Return type:
- setName((Slave)arg1, (str)arg2) None :
- C++ signature :
void setName(rogue::interfaces::memory::Slave {lvalue},std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)