comparison code_part1/OSTC_code_asm_part1/sleepmode.asm @ 18:1cdf96a7946f

1.55 beta
author heinrichsweikamp
date Mon, 12 Apr 2010 08:57:22 +0200
parents 01510acaeb11
children 73014f788032
comparison
equal deleted inserted replaced
17:68825abc35f7 18:1cdf96a7946f
193 WAITMS d'250' 193 WAITMS d'250'
194 WAITMS d'250' 194 WAITMS d'250'
195 call get_battery_voltage ; get battery voltage 195 call get_battery_voltage ; get battery voltage
196 btfss enter_error_sleep ; REALLY enter Fatal Error Routine? 196 btfss enter_error_sleep ; REALLY enter Fatal Error Routine?
197 return ; No! 197 return ; No!
198
199 clrf INTCON 198 clrf INTCON
200 clrf INTCON2 199 clrf INTCON2
201 clrf INTCON3 200 clrf INTCON3
202 bcf ADCON0,0 ; AD converter off 201 bcf ADCON0,0 ; AD converter off
203 call disable_rs232 ; disable UART module 202 call disable_rs232 ; disable UART module