display.inc

来自「Alarm clock with PIC microcontroller」· INC 代码 · 共 36 行

INC
36
字号
		nolist
;==============================================================================
; Common Data Area Definitions
;------------------------------------------------------------------------------

; Notes:
;
; This file defines the external symbols used to access the register used to
; communication the current display settings from the main clock logic module
; to the interrupt code that updates the hardware to reflect them.
;
; It also defines contant values for the bits in the CTRL register used to
; enable various outputs.

;==============================================================================
; Revision History:
;
; 2005-01-31 AJ	Initial version
;------------------------------------------------------------------------------

		extern 	SEG1
		extern 	SEG2
		extern 	SEG3
		extern	SEG4
		extern	CTRL
		
; CTRL register bit allocations		

CTRL_SYNC       equ     7
CTRL_AMPM       equ     3
CTRL_SECS       equ     2
CTRL_LAMP       equ     1
CTRL_BUZZ       equ     0

		list

⌨️ 快捷键说明

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