SatCat5
satcat5::port::SerialSpiController Class Reference

Detailed Description

Driver for "port_serial_spi_controller.vhd".

Definition at line 88 of file port_serial.h.

#include <port_serial.h>

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

Public Member Functions

void config_spi (unsigned baud, u8 mode)
 Set the SPI baud-rate and clock mode (0/1/2/3).
 
 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: