]> git.sur5r.net Git - freertos/blob - Demo/uIP_Demo_IAR_ARM7/EMAC/SAM7_EMAC.h
First version under SVN is V4.0.1
[freertos] / Demo / uIP_Demo_IAR_ARM7 / EMAC / SAM7_EMAC.h
1 #ifndef SAM_7_EMAC_H\r
2 #define SAM_7_EMAC_H\r
3 \r
4 \r
5 /*\r
6  * Initialise the EMAC driver.  If successful a semaphore is returned that\r
7  * is used by the EMAC ISR to indicate that Rx packets have been received.\r
8  * If the initialisation fails then NULL is returned.\r
9  */\r
10 xSemaphoreHandle xEMACInit( void );\r
11 \r
12 /*\r
13  * Send the current uIP buffer.  This copies the uIP buffer to one of the\r
14  * EMAC Tx buffers, then indicates to the EMAC that the buffer is ready.\r
15  */\r
16 portLONG lEMACSend( void );\r
17 \r
18 /*\r
19  * Called in response to an EMAC Rx interrupt.  Copies the received frame\r
20  * into the uIP buffer.\r
21  */\r
22 unsigned portLONG ulEMACPoll( void );\r
23 \r
24 #endif\r