sim_spi.h File Reference

yasimavr: sim_spi.h File Reference
yasimavr
Loading...
Searching...
No Matches
sim_spi.h File Reference

Go to the source code of this file.

Classes

class  SPI::EndPoint
 An endpoint connected to a SPI bus. Represents a device connected to a SPI bus model and acting as a host or client. This is primarily intended to help simulate peripherals connected to the MCU model. Note that this class only implements the logic require to shift bytes across the SPI bus in all modes or bit orders. More...
 

Namespaces

namespace  SPI
 Generic Serial Peripheral Interface definitions.
 

Macros

Controller requests definition for SPI
#define AVR_CTLREQ_SPI_TRANSFER   (AVR_CTLREQ_BASE + 1)
 

Enumerations

enum  SPI::SerialMode { SPI::Mode0 = 0 , SPI::Mode1 , SPI::Mode2 , SPI::Mode3 }
 
enum  SPI::BitOrder { SPI::MSBFirst , SPI::LSBFirst }
 
enum  SPI::Line { SPI::Clock = 0 , SPI::MISO , SPI::MOSI , SPI::Select }