#include <avr/io.h>#include <config.h>#include <spi.h>#include <util/delay_basic.h>#include <util/delay.h>| Functions | |
| void | spi_clock_up_down (void) | 
| uint8_t | read_spi_byte (void) | 
| Read an 8 bit value from the SPI bus. | |
| uint16_t | read_spi_2byte (void) | 
| Read a 16 bit value from the SPI bus. | |
| void | write_spi_byte (uint8_t data) | 
| Transmit an 8 bit value to the SPI bus. | |
| void | write_spi_2byte (uint16_t data) | 
| Transmit a 16 bit value to the SPI bus. | |
| uint16_t read_spi_2byte | ( | void | ) | 
Read a 16 bit value from the SPI bus.
| uint8_t read_spi_byte | ( | void | ) | 
Read an 8 bit value from the SPI bus.
| void spi_clock_up_down | ( | void | ) |  [inline] | 
| void write_spi_2byte | ( | uint16_t | data | ) | 
Transmit a 16 bit value to the SPI bus.
| data | Value to send via SPI bus. | 
| void write_spi_byte | ( | uint8_t | data | ) | 
Transmit an 8 bit value to the SPI bus.
| data | Value to send via SPI bus. | 
 1.7.1
 1.7.1