1 #ifndef _SPI_HARDWARE_H
2 #define _SPI_HARDWARE_H
25 spi_bit Spi_DataReady = PORTB1;
26 spi_bit Spi_Ss = PORTB2;
27 spi_bit Spi_Mosi = PORTB3;
28 spi_bit Spi_Miso = PORTB4;
29 spi_bit Spi_Sck = PORTB5;
32 spi_bit Spi_MasterSlaveSelect = MSTR;
33 spi_bit Spi_ClockBit0 = SPR0;
34 spi_bit Spi_ClockBit1 = SPR1;
35 spi_bit Spi_DoubleClock = SPI2X;
36 spi_bit Spi_Enable = SPE;
37 spi_bit Spi_InterruptEnable = SPIE;
38 spi_bit Spi_InterruptFlag = SPIF;
spi_ptr Spi_SPSR
SPI Status Register.
spi_ptr Spi_SPCR
SPI Control Register.
spi_ptr Spi_SPDR
SPI Data Register.
Spi.h declares SPI hardware types and variables common to the SPI Master and SPI Slave.
spi_reg Spi_PortOutput
Atmel PORT.
spi_reg Spi_PortPullup
Atmel PORT alias.
spi_reg Spi_PortDirection
Atmel DDR.
spi_reg Spi_PortInput
Atmel PIN.