Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/sleepmode.asm @ 647:e6ac142e82b0
New Diluent Submenu in Divemode
author | heinrichsweikamp |
---|---|
date | Sun, 07 Oct 2012 21:31:19 +0200 |
parents | bab5a9fc1b10 |
children | 6e456a6398e0 |
comparison
equal
deleted
inserted
replaced
646:06ffc99a405f | 647:e6ac142e82b0 |
---|---|
54 rcall onesec_sleep ; check switches, check pressure sensor, etc. | 54 rcall onesec_sleep ; check switches, check pressure sensor, etc. |
55 | 55 |
56 btfss sleepmode ; wake up? (This bit will be set in other routines) | 56 btfss sleepmode ; wake up? (This bit will be set in other routines) |
57 goto restart ; yes | 57 goto restart ; yes |
58 nop | 58 nop |
59 btfss nsm | |
60 sleep ; Sleep until Timer1 will wake up the device | 59 sleep ; Sleep until Timer1 will wake up the device |
61 nop | 60 nop |
62 bra sleeploop_loop ; do loop until someting happens | 61 bra sleeploop_loop ; do loop until someting happens |
63 | 62 |
64 | 63 |