引用:
Oscillator Fault
The oscillator fault signal warns of a possi××e error condition with the crystal
oscillator. The oscillator fault can be ena××ed to generate an NMI interrupt by
setting the OFIE bit. The OFIFG flag can then be tested by NMI the interrupt
service routine to determine if the NMI was caused by an oscillator fault.
A PUC signal can trigger an oscillator fault, because the PUC switches the
LFXT1 to LF mode, therefore switching off the HF mode. The PUC signal also
switches off the XT2 oscillator.
该叙述只针对1xx系列,4xx和2xx系列的又是不同的。
详情回复
发表于 2006-7-29 09:00
Oscillator Fault
The oscillator fault signal warns of a possi××e error condition with the crystal
oscillator. The oscillator fault can be ena××ed to generate an NMI interrupt by
setting the OFIE bit. The OFIFG flag can then be tested by NMI the interrupt
service routine to determine if the NMI was caused by an oscillator fault.
A PUC signal can trigger an oscillator fault, because the PUC switches the
LFXT1 to LF mode, therefore switching off the HF mode. The PUC signal also
switches off the XT2 oscillator.
Oscillator Fault
The oscillator fault signal warns of a possi××e error condition with the crystal
oscillator. The oscillator fault can be ena××ed to generate an NMI interrupt by
setting the OFIE bit. The OFIFG flag can then be tested by NMI the interrupt
service routine to determine if the NMI was caused by an oscillator fault.
A PUC signal can trigger an oscillator fault, because the PUC switches the
LFXT1 to LF mode, therefore switching off the HF mode. The PUC signal also
switches off the XT2 oscillator.