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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [Common/] [drivers/] [ST/] [STM32F10xFWLib/] [src/] [stm32fxxx_eth_lib.c] - Blame information for rev 608

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 608 jeremybenn
/******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
2
* File Name          : stm32fxxx_eth_lib.c
3
* Author             : MCD Application Team
4
* Version            : V2.0.2
5
* Date               : 07/11/2008
6
* Description        : This file provides all peripherals pointers initialization.
7
********************************************************************************
8
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
9
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
10
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
11
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
12
* CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
13
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
14
*******************************************************************************/
15
 
16
#define EXT
17
#include "stm32f10x_lib.h"
18
/* Includes ------------------------------------------------------------------*/
19
#include "stm32fxxx_eth_lib.h"
20
 
21
/* Private typedef -----------------------------------------------------------*/
22
/* Private define ------------------------------------------------------------*/
23
/* Private macro -------------------------------------------------------------*/
24
/* Private variables ---------------------------------------------------------*/
25
/* Private function prototypes -----------------------------------------------*/
26
/* Private functions ---------------------------------------------------------*/
27
 
28
#ifdef ETH_DEBUG
29
/*******************************************************************************
30
* Function Name  : ethernet_debug
31
* Description    : This function initialize peripherals pointers.
32
* Input          : None
33
* Output         : None
34
* Return         : None
35
*******************************************************************************/
36
void eth_debug(void)
37
{
38
/********************************** ETHERNET **********************************/
39
#ifdef _ETH_MAC
40
  ETH_MAC = ((ETH_MAC_TypeDef *) ETH_MAC_BASE);
41
#endif /*_ETH_MAC */
42
 
43
#ifdef _ETH_MMC
44
  ETH_MMC = ((ETH_MMC_TypeDef *) ETH_MMC_BASE);
45
#endif /*_ETH_MMC */
46
 
47
#ifdef _ETH_PTP
48
  ETH_PTP = ((ETH_PTP_TypeDef *) ETH_PTP_BASE);
49
#endif /*_ETH_PTP */
50
 
51
#ifdef _ETH_DMA
52
  ETH_DMA = ((ETH_DMA_TypeDef *) ETH_DMA_BASE);
53
#endif /*_ETH_DMA */
54
}
55
 
56
#endif  /* ETH_DEBUG*/
57
 
58
/******************* (C) COPYRIGHT 2008 STMicroelectronics *****END OF FILE****/

powered by: WebSVN 2.1.0

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