TestDoxygen  1.0.21
Test for Doxygen
Functions
TestMAX7456/SPI.c File Reference

SPI read and write functions. More...

#include <avr/io.h>
#include "config.h"
#include "SPI.h"

Functions

uint8_t SPIread (void)
uint8_t SPIwrite (uint8_t data)
 Write to slave SPI device.

Detailed Description

SPI read and write functions.


Function Documentation

uint8_t SPIread ( void  )
Returns:
SPDR, this is the previous value from the slave
uint8_t SPIwrite ( uint8_t  data)

Write to slave SPI device.

Parameters:
[in]dataValue to be written to the slave
Returns:
SPDR, the data from the slave
 All Data Structures Files Functions Variables Enumerations Defines