Mosaic
Well-Known Member
Hi guys:
I'd like to 'harden' my code with reset management. To handle brown outs and WDT time outs.
Can anyone offer any sample code, 16F asm, that shows the use of the register bits and handling those type of resets?
It seems that in the 16f886 a reset can cause the default HFINTOSC freq to goto 4Mhz. based on the IRCF bits of the OSCCON register
I'd like to keep it at the 8MHz as fused.
I'd like to 'harden' my code with reset management. To handle brown outs and WDT time outs.
Can anyone offer any sample code, 16F asm, that shows the use of the register bits and handling those type of resets?
It seems that in the 16f886 a reset can cause the default HFINTOSC freq to goto 4Mhz. based on the IRCF bits of the OSCCON register
I'd like to keep it at the 8MHz as fused.
Last edited: