📄 kev7a400_enet_if_abs_driver.h
字号:
/**********************************************************************
* $Workfile: KEV7A400_enet_if_abs_driver.h $
* $Revision: 1.1 $
* $Author: MaysR $
* $Date: Aug 29 2002 08:59:52 $
*
* Project: Interface functions for the Cirrus CS8900 Ethernet
* controller used on the KEV7A400 EVB.
*
* Description:
* This module provides interface functions to the ethernet
* controller of the KEV7A400 EVB. The interface functions here
* are used to access the physical registers of the controller.
* These functions were segregated from the basic driver because
* of complexities with accesses to the ethernet controller with
* the ARM Static Memory Controller. In future drivers, this
* module may be more optimally designed to improve performance
* with systems with less complex ethernet controller interfaces.
*
* References: LH7A400 user's guide
*
* Revision History:
* $Log: //smaicnt2/pvcs/VM/CHIPS/archives/LH7A400/Ethernet/Drivers/KEV7A400_enet_if_abs_driver.h-arc $
*
* Rev 1.1 Aug 29 2002 08:59:52 MaysR
* Added int disable function. Corrected error in int init. Cleaned
* up comments and completed some function banners.
*
* Rev 1.0 Aug 27 2002 11:41:06 MaysR
* Initial revision.
*
*
* COPYRIGHT (C) 2001 SHARP MICROELECTRONICS OF THE AMERICAS, INC.
* CAMAS, WA
*
*********************************************************************/
#ifndef KEV7A400_ENET_IF_ABS_DRIVER_H
#define KEV7A400_ENET_IF_ABS_DRIVER_H
#include "SMA_Types.h"
#include "CS8900_enet_if_driver.h"
// If DEBUG is defined, status messages will be printed to the
// console as the program is running
//#define DEBUG
/**********************************************************************
* Typedefs
*********************************************************************/
/**********************************************************************
* Functions
*********************************************************************/
// Initialize the ethernet interrupt handler
void enet_int_init(void);
// Interrupt clear function
void enet_int_clear(void);
// Interrupt disable function
void enet_int_disable(void);
// Initialize SMC->bcr3 memory interface to the CS8900
void enet_if_mem_init(void);
// Wake up the ethernet controller
void enet_if_wakeup(void);
// Put the ethernet controller to sleep
void enet_if_sleep(void);
#endif // KEV7A400_ENET_IF_ABS_DRIVER_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -