annotate src/mcp.asm @ 641:1212d39c9f6f

3.14 beta work
author heinrichsweikamp
date Sat, 21 Nov 2020 17:46:29 +0100
parents 4050675965ea
children 75e90cd0c2c3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
heinrichsweikamp
parents:
diff changeset
1 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
2 ;
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 629
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
heinrichsweikamp
parents:
diff changeset
16
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
17 ;=============================================================================
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 629
diff changeset
18 mcp code
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 629
diff changeset
19 ;=============================================================================
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
20
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 629
diff changeset
21
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 629
diff changeset
22 ;-----------------------------------------------------------------------------
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 629
diff changeset
23 ; Disable IR Receiver
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 629
diff changeset
24 ;
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 275
diff changeset
25 global mcp_sleep
28
heinrichsweikamp
parents: 0
diff changeset
26 mcp_sleep:
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 275
diff changeset
27 bcf INTCON3,INT3IE ; disable INT3
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 629
diff changeset
28 bcf mcp_power ; power down IR receiver
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 629
diff changeset
29 btfsc mcp_power ; power drained down?
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
30 bra $-6 ; NO - loop waiting
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
31 return ; YES - done
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 604
diff changeset
32
634
4050675965ea 3.10 stable release
heinrichsweikamp
parents: 629
diff changeset
33 ;-----------------------------------------------------------------------------
28
heinrichsweikamp
parents: 0
diff changeset
34
604
ca4556fb60b9 bump to 2.99beta, work on 3.00 stable
heinrichsweikamp
parents: 275
diff changeset
35 END