firmware
v0.1.2
Chromation Spectrometer Dev-Kit
|
This file is not used anymore. More...
Go to the source code of this file.
Variables | |
static uint8_t volatile | fake_ddr |
static uint8_t volatile | fake_port |
static uint8_t volatile | fake_SPCR |
static uint8_t volatile | fake_SPDR |
static uint8_t volatile | fake_SPSR |
spi_ptr | Spi_ddr = &fake_ddr |
spi_ptr | Spi_port = &fake_port |
spi_ptr | Spi_SPCR = &fake_SPCR |
SPI Control Register. | |
spi_ptr | Spi_SPDR = &fake_SPDR |
SPI Data Register. | |
spi_ptr | Spi_SPSR = &fake_SPSR |
SPI Status Register. | |
spi_pin | Spi_DataReady = 1 |
spi_pin | Spi_Miso = 4 |
spi_bit | Spi_Enable = 6 |
spi_bit | Spi_InterruptEnable = 7 |
spi_bit | Spi_InterruptFlag = 7 |
This file is not used anymore.
There used to be separate Spi hardware files for master and slave. Now there is one Spi.h file and Spi-Hardware and Spi-HardwareFake. There are still SpiMaster.h and SpiSlave.h files, but these are for the functions unique to master and slave.
Definition in file SpiSlave-HardwareFake.h.