0
|
1 ;=============================================================================
|
|
2 ;
|
|
3 ; File mcp.asm
|
|
4 ;
|
|
5 ; Basic routines for RX circuity
|
|
6 ;
|
|
7 ; Copyright (c) 2012, JD Gascuel, HeinrichsWeikamp, all right reserved.
|
|
8 ;=============================================================================
|
|
9 ; HISTORY
|
|
10 ; 2012-08-12 : [mH] Creation
|
|
11
|
|
12
|
275
|
13 #include "hwos.inc"
|
0
|
14 #include "wait.inc"
|
|
15
|
|
16 mcp code
|
|
17
|
28
|
18 global mcp_sleep
|
|
19 mcp_sleep:
|
|
20 bcf INTCON3,INT3IE ; Disable INT3
|
|
21 bcf mcp_power ; RX off
|
|
22 btfsc mcp_power
|
|
23 bra $-4
|
|
24 return
|
|
25
|
|
26
|
0
|
27
|
|
28 END
|