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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [CORTEX_STM32F107_GCC_Rowley/] [webserver/] [emac.h.scsc] - Blame information for rev 582

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 582 jeremybenn
/*
2
        FreeRTOS V5.4.2 - Copyright (C) 2009 Real Time Engineers Ltd.
3
 
4
        This file is part of the FreeRTOS distribution.
5
 
6
        FreeRTOS is free software; you can redistribute it and/or modify it     under
7
        the terms of the GNU General Public License (version 2) as published by the
8
        Free Software Foundation and modified by the FreeRTOS exception.
9
        **NOTE** The exception to the GPL is included to allow you to distribute a
10
        combined work that includes FreeRTOS without being obliged to provide the
11
        source code for proprietary components outside of the FreeRTOS kernel.
12
        Alternative commercial license and support terms are also available upon
13
        request.  See the licensing section of http://www.FreeRTOS.org for full
14
        license details.
15
 
16
        FreeRTOS is distributed in the hope that it will be useful,     but WITHOUT
17
        ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18
        FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
19
        more details.
20
 
21
        You should have received a copy of the GNU General Public License along
22
        with FreeRTOS; if not, write to the Free Software Foundation, Inc., 59
23
        Temple Place, Suite 330, Boston, MA  02111-1307  USA.
24
 
25
 
26
        ***************************************************************************
27
        *                                                                         *
28
        * Looking for a quick start?  Then check out the FreeRTOS eBook!          *
29
        * See http://www.FreeRTOS.org/Documentation for details                   *
30
        *                                                                         *
31
        ***************************************************************************
32
 
33
        1 tab == 4 spaces!
34
 
35
        Please ensure to read the configuration and relevant port sections of the
36
        online documentation.
37
 
38
        http://www.FreeRTOS.org - Documentation, latest information, license and
39
        contact details.
40
 
41
        http://www.SafeRTOS.com - A version that is certified for use in safety
42
        critical systems.
43
 
44
        http://www.OpenRTOS.com - Commercial support, development, porting,
45
        licensing and training services.
46
*/
47
 
48
#ifndef EMAC__H
49
#define EMAC__H
50
 
51
/*
52
 * Initialise all IO and preipherals required for Ethernet communication.
53
 */
54
portBASE_TYPE xEthInitialise( void );
55
 
56
/*
57
 * Look for new received data.  If any is found then set uip_buf to point to the
58
 * data and return the length of the data.  If no data is found then 0 is
59
 * returned, and uip_buf is left pointing to a spare data buffer.
60
 */
61
unsigned short usGetMACRxData( void );
62
 
63
/*
64
 * Send usDataLen bytes from uip_buf to the MAC for transmission.
65
 */
66
void vSendMACData( unsigned short usDataLen );
67
 
68
/*
69
 * Return a buffer to the pool of free buffers.
70
 */
71
void vReturnBuffer( unsigned char *pucBuffer );
72
 
73
#endif
74
 

powered by: WebSVN 2.1.0

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