[BACK]Return to bus_spi.c CVS log [TXT][DIR] Up to [local] / funnyos / dev

Diff for /funnyos/dev/bus_spi.c between version 1.1 and 1.2

version 1.1, 2007/12/19 16:05:53 version 1.2, 2007/12/21 17:40:29
Line 5 
Line 5 
 #include <sys/bus_spi.h>  #include <sys/bus_spi.h>
   
 uint8_t  uint8_t
 spi_bus_transmit(struct spi_bus_handle *sbh, uint8_t data)  spi_transmit(struct spi_bus_handle *sbh, uint8_t data)
 {  {
         return(sbh->sb_transmitfunc(sbh->sb_dd, data));          return(sbh->sb_transmitfunc(sbh->sb_dd, data));
   }
   
   
   void
   spi_cs_low(struct spi_bus_handle *sbh)
   {
           sbh->sb_cslowfunc(sbh->sb_dd);
   }
   
   
   void
   spi_cs_high(struct spi_bus_handle *sbh)
   {
           sbh->sb_cshighfunc(sbh->sb_dd);
 }  }
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb