annotate src/mcp.asm @ 629:237931377539

3.07 stable release
author heinrichsweikamp
date Fri, 29 Nov 2019 18:48:11 +0100
parents cd58f7fc86db
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 ;
629
237931377539 3.07 stable release
heinrichsweikamp
parents: 628
diff changeset
3 ; File mcp.asm combined next generation V3.06.1
0
heinrichsweikamp
parents:
diff changeset
4 ;
heinrichsweikamp
parents:
diff changeset
5 ; Basic routines for RX circuity
heinrichsweikamp
parents:
diff changeset
6 ;
heinrichsweikamp
parents:
diff changeset
7 ; Copyright (c) 2012, JD Gascuel, HeinrichsWeikamp, all right reserved.
heinrichsweikamp
parents:
diff changeset
8 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
9 ; HISTORY
heinrichsweikamp
parents:
diff changeset
10 ; 2012-08-12 : [mH] Creation
heinrichsweikamp
parents:
diff changeset
11
heinrichsweikamp
parents:
diff changeset
12
275
653a3ab08062 rename into hwOS
heinrichsweikamp
parents: 98
diff changeset
13 #include "hwos.inc"
0
heinrichsweikamp
parents:
diff changeset
14 #include "wait.inc"
heinrichsweikamp
parents:
diff changeset
15
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 275
diff changeset
16 mcp code
0
heinrichsweikamp
parents:
diff changeset
17
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
18 ;=============================================================================
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
19
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 275
diff changeset
20 global mcp_sleep
28
heinrichsweikamp
parents: 0
diff changeset
21 mcp_sleep:
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 275
diff changeset
22 bcf INTCON3,INT3IE ; disable INT3
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
23 bcf mcp_power ; request IR receiver off
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
24 btfsc mcp_power ; off confirmed?
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
25 bra $-6 ; NO - loop waiting
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
26 return ; YES - done
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
27
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
28 ;=============================================================================
28
heinrichsweikamp
parents: 0
diff changeset
29
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 275
diff changeset
30 END