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

📄 drv_glob.inc

📁 WINDOWS CE BSP用于SBC2440开发板
💻 INC
字号:
;++
; Copyright (c) 1999-2000 Microsoft Corporation.  All rights reserved.
;
; Module Name:
;
;    drv_glob.inc
;
; Abstract:
;    This file provides the ASM definitions for the driver globals area of
;    shared memory, used to coordinate between ISRs and ISTs.
;    
;
; Author:
;
;    Glenn Davis (glennd) 2-12-97
;
; Environment:
;
;    SH-3 privileged mode.
;
; Revision History:
;
;--

; Make sure this stays synced with def in drv_glob.h
DRIVER_GLOBAL_BASE  .equ  h'ac020000

; Touch panel sample area
;
; Note: It's important that buffer A and B are contiguous in memory and
;       16 bytes apart.
TOUCH_SAMPLE_BASE: .equ	DRIVER_GLOBAL_BASE + h'4
tchBufA:		.equ	h'0000		; Sample buffer A
tchBufB:		.equ	h'0010		; Sample buffer B
tchHalPointer:	.equ	h'0020		; HAL's sample pointer
tchDevDrvPointer: .equ	h'0024		; Device driver's sample pointer
tchSemaphore:	.equ	h'0028		; Touch/Audio sync semaphore
tchStatus:		.equ	h'002c		; Status used for passing info from HAL to touch driver
tchCoordCount:	.equ	h'0030 		; Coordinate count - used in touch HAL code
tchTimerState:	.equ	h'0034		; Used for the timer handler state machine.



; Profile Globals
PROFILE_BASE:	.equ	DRIVER_GLOBAL_BASE + h'200
itIndex: 		.equ	h'0			; index of timer interrupt
itCounter:		.equ	h'4			; counter at isr start
itSpc:			.equ	h'8			; saved program counter

; Misc Globals
MISC_DRVGLOB_BASE:	.equ	DRIVER_GLOBAL_BASE + h'300
offButton	.equ	h'0		; Indicates off button event

; Debug ethernet globals (placeholder only - currently only referenced in C files)
DBG_ETH_GLOBALS_BASE .equ  DRIVER_GLOBAL_BASE + h'800

⌨️ 快捷键说明

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