os_timer.s

来自「pxa255,bootloaer ,从初始化中断到GPIO口」· S 代码 · 共 39 行

S
39
字号
;/*************************************************************
;*****************OS Timer Register****************************
;*************************************************************/


OSMR0 		EQU		0x40a00000 	;OS Timer Match Register 0
OSMR0_Value	EQU		0x00000000

OSMR1 		EQU		0x40a00004 	;OS Timer Match Register 1
OSMR1_Value	EQU		0x00000000

OSMR2 		EQU		0x40a00008 	;OS Timer Match Register 2
OSMR2_Value	EQU		0x00000000

OSMR3 		EQU		0x40a0000c 	;OS Timer Match Register 3
OSMR3_Value	EQU		0x00000000

OSCR		EQU		0x40a00010 	;OS Timer Count Register
OSCR_Value	EQU		0x00000000 

OSSR		EQU		0x40a00014	;OS Timer Status Register
M0			EQU		(0x0<<0)
M1			EQU		(0x0<<1)
M2			EQU		(0x0<<2)
M3			EQU		(0x0<<3)
OSSR_Value	EQU		(M0+M1+M2+M3)	

OWER		EQU		0x40a00018	;Timer Watchdog Match Enable Register
OWER_Value	EQU		0x00000000	;if is 0 OSMR3 not reset processer
								;if is 1 OSMR3 reset processer
								
OIER		EQU		0x40a0001c	;OS Timer Interrupt Enable Register
E0			EQU		(0x0<<0)
E1			EQU		(0x0<<1)
E2			EQU		(0x0<<2)
E3			EQU		(0x0<<3)
OIER_Value 	EQU		(E0+E1+E2+E3)
			
			END

⌨️ 快捷键说明

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