Mercurial > public > hwos_code
view src/mcp.asm @ 632:0347acdf6d8e
changelog updates
author | heinrichsweikamp |
---|---|
date | Sat, 29 Feb 2020 16:57:45 +0100 |
parents | 237931377539 |
children | 4050675965ea |
line wrap: on
line source
;============================================================================= ; ; File mcp.asm combined next generation V3.06.1 ; ; Basic routines for RX circuity ; ; Copyright (c) 2012, JD Gascuel, HeinrichsWeikamp, all right reserved. ;============================================================================= ; HISTORY ; 2012-08-12 : [mH] Creation #include "hwos.inc" #include "wait.inc" mcp code ;============================================================================= global mcp_sleep mcp_sleep: bcf INTCON3,INT3IE ; disable INT3 bcf mcp_power ; request IR receiver off btfsc mcp_power ; off confirmed? bra $-6 ; NO - loop waiting return ; YES - done ;============================================================================= END