comparison src/hwos.asm @ 610:2ce43f09586e

Mod for new pcb designs
author heinrichsweikamp
date Wed, 09 Jan 2019 18:35:20 +0100
parents d866684249bd
children cd7991986ace
comparison
equal deleted inserted replaced
609:6341f6663579 610:2ce43f09586e
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 bcf RCON,SBOREN ; brown-out off 53 bsf RCON,SBOREN ; brown-out on (For new pcb designs)
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