SatCat5
satcat5::port::SerialSpiPeripheral Class Reference

Detailed Description

Driver for "port_serial_spi_peripheral.vhd".

Definition at line 96 of file port_serial.h.

#include <port_serial.h>

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

Public Member Functions

void config_spi (u8 mode, u8 gfilt=1)
 Set the SPI clock mode (0/1/2/3) and glitch-filter parameters.
 
 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: