⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 drv_extr.h

📁 基于S3C2440处理器的sd卡驱动程序
💻 H
字号:
/*------------------------------------------------------------------------------
[BASIC]
{
	[FILENAME]  drv_defs.h 
	[CONTENT]   hardware driver interface
	[AUTHOR]    xucao
	[VERSION]   01.0.00.051121
	[COMPANY]   APLUS COMMUNICATION TECHNOLOGY (BeiJing) CO.,LTD
}

[MOD]
{
	01.0.00.051121:
		1.Created initial version
}

------------------------------------------------------------------------------*/  

#ifndef _DRV_EXTR_H_

#ifdef          __cplusplus
extern  "C" {                               /* C declarations in C++     */
#endif

#define _DRV_EXTR_H_
#include "nucleus.h"	    /* Nucleus head file */
#include "drv_defs.h"

extern NU_MEMORY_POOL  system_memory;		/* system memory */

/*------------------------------------------------------------------------------
                               UART driver
------------------------------------------------------------------------------*/
/* initial uart */
void uart_init(void);
/* send a char by uart1, it will be used by printf */
void uart1_send_char( char *ch );


int Uart_Printf(const char *fmt, ...);
void Uart_GetString(char *string);
int Uart_GetIntNum(void);
char Uart_Getch(void);
/*------------------------------------------------------------------------------
                              lcd driver
------------------------------------------------------------------------------*/
/* Initialization of lcd */
void lcd_init(void);



/*------------------------------------------------------------------------------
                              lcd driver
------------------------------------------------------------------------------*/
/* enable the vector interrupt */
void irq_enable(unsigned int vector);
/* disable the vector interrupt */
void irq_disable(unsigned int vector);


#ifdef          __cplusplus
}                                           /* End of C declarations     */
#endif

#endif //_DRV_EXTR_H_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -