SatCat5
satcat5::port::SerialGeneric Class Reference

Detailed Description

Parent class for each of the Serial* objects.

This class provides a basic skeleton, but doesn't do much on its own.

Definition at line 34 of file port_serial.h.

#include <port_serial.h>

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

Public Member Functions

 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 ( )

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: