annotate src/mcp.asm @ 389:9175429bdeba

CHANGE: Logbook now shows end-of-dive date and time for dives made with firmware <1.92 indicated by an icon in the logbook CHANGE: Logbook shows start-of-dive date and time for dives made with firmware >=1.92 BUGFIX: Text alignment in logbook
author heinrichsweikamp
date Tue, 27 Oct 2015 13:45:10 +0100
parents 653a3ab08062
children ca4556fb60b9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
heinrichsweikamp
parents:
diff changeset
1 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
2 ;
heinrichsweikamp
parents:
diff changeset
3 ; File mcp.asm
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 mcp code
heinrichsweikamp
parents:
diff changeset
17
28
heinrichsweikamp
parents: 0
diff changeset
18 global mcp_sleep
heinrichsweikamp
parents: 0
diff changeset
19 mcp_sleep:
heinrichsweikamp
parents: 0
diff changeset
20 bcf INTCON3,INT3IE ; Disable INT3
heinrichsweikamp
parents: 0
diff changeset
21 bcf mcp_power ; RX off
heinrichsweikamp
parents: 0
diff changeset
22 btfsc mcp_power
heinrichsweikamp
parents: 0
diff changeset
23 bra $-4
heinrichsweikamp
parents: 0
diff changeset
24 return
heinrichsweikamp
parents: 0
diff changeset
25
heinrichsweikamp
parents: 0
diff changeset
26
0
heinrichsweikamp
parents:
diff changeset
27
heinrichsweikamp
parents:
diff changeset
28 END