SatCat5
satcat5::port::SerialI2cPeripheral Class Reference

Detailed Description

Driver for "port_serial_i2c_peripheral.vhd".

Definition at line 80 of file port_serial.h.

#include <port_serial.h>

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

Public Member Functions

void config_i2c (const satcat5::util::I2cAddr &devaddr)
 Configure the local I2C address.
 
 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: