OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [uIP_Demo_IAR_ARM7/] [EMAC/] [SAM7_EMAC.h] - Blame information for rev 594

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 583 jeremybenn
#ifndef SAM_7_EMAC_H
2
#define SAM_7_EMAC_H
3
 
4
 
5
/*
6
 * Initialise the EMAC driver.  If successful a semaphore is returned that
7
 * is used by the EMAC ISR to indicate that Rx packets have been received.
8
 * If the initialisation fails then NULL is returned.
9
 */
10
xSemaphoreHandle xEMACInit( void );
11
 
12
/*
13
 * Send the current uIP buffer.  This copies the uIP buffer to one of the
14
 * EMAC Tx buffers, then indicates to the EMAC that the buffer is ready.
15
 */
16
long lEMACSend( void );
17
 
18
/*
19
 * Called in response to an EMAC Rx interrupt.  Copies the received frame
20
 * into the uIP buffer.
21
 */
22
unsigned long ulEMACPoll( void );
23
 
24
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.