spibus_avr32.h File Reference

AVR32 specific SPI bus declarations. More...

Go to the source code of this file.

Data Structures

struct  AVR32SPIREG

Functions

int Avr32Spi0ChipSelect (uint_fast8_t cs, uint_fast8_t hi)
void Avr32SpiBus0Interrupt (void *arg)
int Avr32Spi1ChipSelect (uint_fast8_t cs, uint_fast8_t hi)
void Avr32SpiBus1Interrupt (void *arg)
int Avr32SpiSetup (NUTSPINODE *node)
int Avr32SpiBusNodeInit (NUTSPINODE *node)
int Avr32SpiBusTransfer (NUTSPINODE *node, CONST void *txbuf, void *rxbuf, int xlen)
int Avr32SpiBusDblBufTransfer (NUTSPINODE *node, CONST void *txbuf, void *rxbuf, int xlen)
int Avr32SpiBusPollTransfer (NUTSPINODE *node, CONST void *txbuf, void *rxbuf, int xlen)
int Avr32SpiBusWait (NUTSPINODE *node, uint32_t tmo)

Variables

NUTSPIBUS spiBus0Avr32
NUTSPIBUS spiBus1Avr32


Detailed Description

AVR32 specific SPI bus declarations.

 * $Id: spibus_avr32.h,v 1.1 2009/01/09 17:54:38 haraldkipp Exp $
 * 

Definition in file spibus_avr32.h.


Function Documentation

int Avr32Spi0ChipSelect ( uint_fast8_t  cs,
uint_fast8_t  hi 
)

void Avr32SpiBus0Interrupt ( void *  arg  ) 

int Avr32Spi1ChipSelect ( uint_fast8_t  cs,
uint_fast8_t  hi 
)

void Avr32SpiBus1Interrupt ( void *  arg  ) 

int Avr32SpiSetup ( NUTSPINODE *  node  ) 

int Avr32SpiBusNodeInit ( NUTSPINODE *  node  ) 

int Avr32SpiBusTransfer ( NUTSPINODE *  node,
CONST void *  txbuf,
void *  rxbuf,
int  xlen 
)

int Avr32SpiBusDblBufTransfer ( NUTSPINODE *  node,
CONST void *  txbuf,
void *  rxbuf,
int  xlen 
)

int Avr32SpiBusPollTransfer ( NUTSPINODE *  node,
CONST void *  txbuf,
void *  rxbuf,
int  xlen 
)

int Avr32SpiBusWait ( NUTSPINODE *  node,
uint32_t  tmo 
)


Variable Documentation

NUTSPIBUS spiBus0Avr32

NUTSPIBUS spiBus1Avr32


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/