annotate src/wait.inc @ 627:bf5fee575701

minor cleanup, reset rx circuity
author heinrichsweikamp
date Sun, 30 Jun 2019 23:22:32 +0200
parents c40025d8e750
children 4050675965ea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
heinrichsweikamp
parents:
diff changeset
1 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
2 ;
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
3 ; File wait.asm combined next generation V3.0.1
0
heinrichsweikamp
parents:
diff changeset
4 ;
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
5 ; Wait routines
0
heinrichsweikamp
parents:
diff changeset
6 ;
heinrichsweikamp
parents:
diff changeset
7 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
heinrichsweikamp
parents:
diff changeset
8 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
9 ; HISTORY
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
10 ; 2004-01-31 : [chsw] Initial version
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
11 ; 2007-05-11 : Updated (OSTC code)
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
12 ; 2011-06-24 : [MH] Added clock speeds
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
13
0
heinrichsweikamp
parents:
diff changeset
14 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
15
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
16 WAITMS macro ms_to_wait
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
17 movlw ms_to_wait
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
18 extern WAITMSX
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
19 call WAITMSX
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
20 endm
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 275
diff changeset
21
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
22 extern wait_1s
0
heinrichsweikamp
parents:
diff changeset
23
275
653a3ab08062 rename into hwOS
heinrichsweikamp
parents: 0
diff changeset
24 ; asm routines in hwos.asm
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
25 extern request_speed_eco ; SPEED_ECO: 1 MHz
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
26 extern request_speed_normal ; SPEED_NORMAL: 16 MHz
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
27 extern request_speed_fastest ; SPEED_FASTEST: 64 MHz on high voltage cores
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
28 ; 32 MHz on low voltage core
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
29