pdc.h

Go to the documentation of this file.
00001 /*This file has been prepared for Doxygen automatic documentation generation.*/
00021 #ifndef _PDC_H
00022 #define _PDC_H
00023 
00024 #include <avr32/io.h>
00025 #include "settings.h"
00026 
00027 void pdc_disable( void * dev );
00028 
00029 void pdc_enable( void * dev );
00030 
00031 void pdc_disableRx( void * dev );
00032 
00033 void pdc_disableTx( void * dev );
00034 
00035 void pdc_enableRx( void * dev );
00036 
00037 void pdc_enableTx( void * dev );
00038 
00039 void pdc_setRxBuf( void * dev,
00040                 void * rp,
00041                 unsigned short rc,
00042                 void * rnp,
00043                 unsigned short rnc );
00044 
00045 void pdc_setRxNextBuf( void * dev,
00046                 void * rnp,
00047                 unsigned short rnc );
00048 
00049 void pdc_setTxBuf( void * dev,
00050                 void * tp,
00051                 unsigned short tc,
00052                 void * tnp,
00053                 unsigned short tnc );
00054 
00055 void pdc_setTxNextBuf( void * dev,
00056                 void * tnp,
00057                 unsigned short tnc );
00058 
00059 int pdc_getRcr( void * dev );
00060 
00061 int pdc_rxBytesLeft( void * dev );
00062 
00063 int pdc_getTcr( void * dev );
00064 
00065 int pdc_txBytesLeft( void * dev );
00066 
00067 void pdc_flushCache( void * buffer, unsigned short size );
00068 
00069 void * pdc_translatePtr( void * pointerAddr );
00070 
00071 #endif /* _PDC_H */
00072 

Generated on Thu May 10 14:14:48 2007 for AVR321000 Communication with the AVR32 USART by  doxygen 1.5.1