drv_extr.h
来自「基于Freescale的MX21处理器的bootloader程序」· C头文件 代码 · 共 52 行
H
52 行
/*-------------------------------------------------------------------
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 + =
减小字号Ctrl + -
显示快捷键?