squishy.gateware.core.spi

class squishy.gateware.core.spi.SPIInterface(*args, src_loc_at=0, **kwargs)

Generic SPI interface.

Variables
  • cs (Signal) – SPI Chip Select.

  • xfr (Signal) – Transfer strobe.

  • done (Signal) – Transfer complete signal.

  • wdat (Signal(8)) – Write data register.

  • rdat (Signal(8)) – Read data register.