• Main Page
  • Data Structures
  • Files
  • File List
  • Globals

spi2.h

Go to the documentation of this file.
00001 
00002 /* 23/2/2011  svn 282  */
00003 
00004 
00005 // this library only requires the definitions of registers in the Atmel.
00006 /******************             
00007 ******************
00008         IMPORTANT
00009                 The spi function built in to the Microcontroller needs to
00010                 be initialised before the device is used. Use the init_spi() funtion here
00011 ******************              
00012 ******************/
00013 
00014 #ifndef SPI2_H
00015 #define SPI2_H
00016 
00017 
00018 #include <avr/io.h>
00019                 
00020 
00034 inline void init_spi(uint8_t rate);
00035 
00036 
00044 inline void xmit_spi(uint8_t data);
00045 
00046 
00054 inline uint8_t recv_spi(void);
00055 
00056 
00057 #endif

Generated on Wed Aug 22 2012 11:44:35 by  doxygen 1.7.1