mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 01:58:32 -04:00
First version under SVN is V4.0.1
This commit is contained in:
parent
243393860c
commit
b6df57c7e3
918 changed files with 269038 additions and 0 deletions
24
Demo/uIP_Demo_IAR_ARM7/EMAC/SAM7_EMAC.h
Normal file
24
Demo/uIP_Demo_IAR_ARM7/EMAC/SAM7_EMAC.h
Normal file
|
@ -0,0 +1,24 @@
|
|||
#ifndef SAM_7_EMAC_H
|
||||
#define SAM_7_EMAC_H
|
||||
|
||||
|
||||
/*
|
||||
* Initialise the EMAC driver. If successful a semaphore is returned that
|
||||
* is used by the EMAC ISR to indicate that Rx packets have been received.
|
||||
* If the initialisation fails then NULL is returned.
|
||||
*/
|
||||
xSemaphoreHandle xEMACInit( void );
|
||||
|
||||
/*
|
||||
* Send the current uIP buffer. This copies the uIP buffer to one of the
|
||||
* EMAC Tx buffers, then indicates to the EMAC that the buffer is ready.
|
||||
*/
|
||||
portLONG lEMACSend( void );
|
||||
|
||||
/*
|
||||
* Called in response to an EMAC Rx interrupt. Copies the received frame
|
||||
* into the uIP buffer.
|
||||
*/
|
||||
unsigned portLONG ulEMACPoll( void );
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue