📄 ky_backlight61.lst
字号:
################################################################################
# #
# IAR Systems Z80/64180 Assembler V3.03A/WIN 24/Apr/107 17:06:41 #
# #
# Target option = z80 #
# Source file = d:\case_i_d913f\drv\ky_hard\ky_backlight61.msa #
# List file = d:\case_i_d913f\drv\ky_hard\ky_hard\list\ky_backlight61.lst#
# Object file = d:\case_i_d913f\drv\ky_hard\ky_hard\obj\ky_backlight61.r01#
# Command line = -v0 -uu #
# -OD:\case_i_d913f\drv\KY_HARD\KY_HARD\Obj\ -s+ #
# -M<> -w+ -r #
# -LD:\case_i_d913f\drv\KY_HARD\KY_HARD\List\ -t8 #
# -Id:\sdk_i_913f\inc\ -Id:\case_i_d913f\inc\ #
# d:\case_i_d913f\drv\ky_hard\ky_backlight61.msa #
# #
# (c) Copyright IAR Systems 1996 #
################################################################################
1 000000 /***************************************************
**************
2 000000 ** key board interrupt
**
3 000000 ** write by jfwoo & Gongee
**
4 000000 ** 2002-6-12
**
5 000000 ** (c) Copyright Actions Co,Ld.
**
6 000000 **
**
7 000000 ** revision history 1.0 2002-6-12
**
8 000000 ** revision history 2.0 2002-7-15
**
9 000000 ** revision history 3.0 2002-8-12
**
10 000000 ***************************************************
**************/
11 000000
12 000000 #include "KY_Hard.h"
13 000000
14 000000
15 000000 module DriverKeyboard
16 000000
17 000000 public sKY_OpenBacklight
18 000000 public sKY_CloseBacklight
19 000000 public sKY_SetBLightColor
20 000000 public sKY_ChargeSet
21 000000
22 000000 extern Thecharge
23 000000 rseg KY_RDATA
24 000000 00 BLightColor defb 0x00 //当前背光颜色值.通过sKY_S
etBLightColor()函数给此变量的赋值.
25 000001 00 LBNMIValue defb 0x00 //当前电池系统复位值.
26 000000 rseg BAC_IE
27 000000
28 000000 /*
29 000000 ****************************************************
***********
30 000000 * bool sKY_SetBLightColor(),Set BackLight Color.
*
31 000000 ****************************************************
***********
32 000000 */
33 000000 sKY_SetBLightColor:
34 000000 7B ld a,e
35 000001 32.... ld (BLightColor),a
36 000004 3E01 ld a,1
37 000006 C9 ret
38 000007
39 000007 /*
40 000007 ****************************************************
**********
41 000007 * bool sKY_OpenBacklight(). Open BackLight.
*
42 000007 * 根据sKY_SetBLightColor设置的BLightColor,点亮对应
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -