spibus_avr.c File Reference

General AVR SPI bus driver rotuines. More...

Go to the source code of this file.

Functions

int AvrSpiSetup (NUTSPINODE *node)
 Update SPI shadow registers.

Detailed Description

General AVR SPI bus driver rotuines.

 * $Id: spibus_avr.c 2375 2009-01-09 17:54:38Z haraldkipp $
 * 

Definition in file spibus_avr.c.


Function Documentation

int AvrSpiSetup ( NUTSPINODE *  node  ) 

Update SPI shadow registers.

Definition at line 51 of file spibus_avr.c.

References _BV, NUT_HWCLK_PERIPHERAL, NutClockGet, SPI_MODE_3, and SPI_MODE_UPDATE.

Referenced by AvrSpiBus0NodeInit(), and AvrSpiBus0Select().


© 2000-2010 by contributors - visit http://www.ethernut.de/