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

📄 dispdrv.h

📁 《OSEK/VDX汽车电子嵌入式软件编程技术》中光盘的资料
💻 H
字号:
/************************************************
*
*	$Copyright    2001 Joseph J. Lemieux  ALL RIGHTS RESERVED. $
*
*	$Filename: C:\OSEKBook\src\CH04\inc\dispdrv.h $
*
*	Description:	Display Driver Header Files
*
************************************************/
#ifndef DISPDRVH
#define DISPDRVH

/***
*
* Global Variable into which to put string to be output
*
***/
extern char displayBuffer[100];

/***
*
* Global Macros
*
***/
#define DISPLAY_CONTROL_LOCATION (UINT8 *)0x02000000
#define DISPLAY_BUFFER_LOCATION (UINT8 *)0x02000001
#define MAX_DISPLAY_ROWS 4
#define MAX_DISPLAY_LINE_LENGTH 20
#define ROW_TRANSLATION 0,2,1,3

/************************************************
*
*   Function:     InitDisplay
*
*   Inputs:       type - type of initialization occurring.
*
*   Outputs:      none
*
*   Returns:      none
*
*   Description:  Initializes the display and prepares for 
*                 output. Sends startup message InitMessage.
*
************************************************/
void InitDisplay(InitType);

#endif

⌨️ 快捷键说明

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