view src/wait.inc @ 375:a9e35c1327aa

1.88 release, BUGFIX: Start with Sensor use from sleep (cR only), CHANGE: Apply button settings when button menu is closed, NEW: Reset button settings on a magnet reset (cR and OSTC 2)
author heinrichsweikamp
date Thu, 27 Aug 2015 17:05:13 +0200
parents 653a3ab08062
children b455b31ce022
line wrap: on
line source

;=============================================================================
;
;   File wait.asm
;
;  Wait routines
;
;   Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
;=============================================================================
; HISTORY
;   2004-01-31 : [chsw] Initial version.
;   2007-05-11 : Updated (OSTC code).
;   2011-06-24 : [MH]  Added clock speeds.
	
;=============================================================================

WAITMS		macro	waitms_temp
			movlw	waitms_temp
			call    WAITMSX
			endm
            extern  WAITMSX

; asm routines in hwos.asm
	extern	speed_eco			; SPEED_ECO: 4MHz
	extern	speed_normal		; SPEED_NORMAL: 16MHz
	extern	speed_fastest		; SPEED_FASTEST: 64MHz