SatCat5
satcat5::port::SerialUart Class Reference

Detailed Description

Driver for "port_serial_uart_*.vhd".

Configures both 2-wire UARTs ("port_serial_uart_2wire.vhd") and 4-wire UARTs ("port_serial_uart_4wire.vhd").

Definition at line 106 of file port_serial.h.

#include <port_serial.h>

Inheritance diagram for satcat5::port::SerialUart:
[legend]
Collaboration diagram for satcat5::port::SerialUart:
[legend]

Public Member Functions

void config_uart (unsigned baud, bool ignore_cts=false)
 Set the UART baud rate and flow-control options.
 
 SerialGeneric (satcat5::cfg::ConfigBus *cfg, unsigned devaddr)
 Link this object to a specific ConfigBus address.
 
u8 status ()
 Read the port-status register. More...
 

Protected Attributes

satcat5::cfg::Register m_ctrl
 

Member Function Documentation

◆ status()

u8 satcat5::port::SerialGeneric::status ( )
inherited

Read the port-status register.

Interpretation varies by port type; see VHDL comments.

Definition at line 56 of file port_serial.cc.


The documentation for this class was generated from the following files: