Mercurial > public > hwos_code
comparison src/hwos.asm @ 611:cd7991986ace
undo BOR bit
author | heinrichsweikamp |
---|---|
date | Wed, 09 Jan 2019 21:28:53 +0100 |
parents | 2ce43f09586e |
children | 6dd6b37da7c8 |
comparison
equal
deleted
inserted
replaced
610:2ce43f09586e | 611:cd7991986ace |
---|---|
48 | 48 |
49 movlw d'2' ; coding for speed normal | 49 movlw d'2' ; coding for speed normal |
50 movff WREG,cpu_speed_request ; CPU shall run with normal speed | 50 movff WREG,cpu_speed_request ; CPU shall run with normal speed |
51 movff WREG,cpu_speed_state ; CPU does run with normal speed | 51 movff WREG,cpu_speed_state ; CPU does run with normal speed |
52 | 52 |
53 bsf RCON,SBOREN ; brown-out on (For new pcb designs) | 53 bcf RCON,SBOREN ; brown-out off (Not needed, set in bootloader) |
54 bcf RCON,IPEN ; priority interrupts off | 54 bcf RCON,IPEN ; priority interrupts off |
55 | 55 |
56 banksel WDTCON | 56 banksel WDTCON |
57 movlw b'10000000' | 57 movlw b'10000000' |
58 movwf WDTCON ; setup watchdog | 58 movwf WDTCON ; setup watchdog |