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

📄 drv_extr.h

📁 基于Freescale的MX21处理器的bootloader程序
💻 H
字号:
/*-------------------------------------------------------------------
FILE NAME:
	drv_extr.h
DESCRIPTION:
	this file includes driver functions. 
AUTHOR:
	WYF
VERSION:
	2005.1122.00
COMPANY:
	DATANG MICROELECTRONICS TECHNOLOGY CO,.LTD
HISTORY:
	2005.1122 Creat this file
	...
--------------------------------------------------------------------*/
#ifndef __DRV_EXTR_H
#define __DRV_EXTR_H


void drivers_init(void);

/* I2C Module */
void I2C_init(void);
void I2C_read(char I2CAddress, char* DataBuffer, int DataSize);
void I2C_write(char I2CAddress, char* DataBuffer, int DataSize);


void sensor_init(void);


/* KPP Module */
void keypad_init(void (*cb)(int,int));
void keypad_register(void (*cb)(int,int));
void keypad_unregister(void);


/* DMA Module */
void DMA_init(void);


/* RTC Module */
void rtc_init(void);
int rtc_GetRealTime(TDRV_RTC *lpst);
int rtc_SetRealTime(TDRV_RTC *lpst);


void RGB_320x240_to_240x320(unsigned int BufIn, unsigned int BufOut);


#endif

⌨️ 快捷键说明

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