Mercurial > public > hwos_code
view src/mcp.asm @ 631:185ba2f91f59
3.09 beta 1 release
author | heinrichsweikamp |
---|---|
date | Fri, 28 Feb 2020 15:45:07 +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