PIC16F684故障安全监测和时钟频率切换
ThisapplicationnotediscussestheFail-Safe
MonitoringandClockSwitchingfeaturesonthenew
8/14/20-pinFlashmicrocontrollerfamily.Thisnew
familyofmicrocontrollerstakesMicrochip'sMid-Range
Familyofproductstothenextlevelwithitsnew8MHz
internaloscillatorthatcanbeswitchedinrealtimefrom
8MHzdownto31kHz(8steps).Inaddition,thedevice
containsafail-safefeaturethatmonitorstheexternal
(primary)oscillatorandwillautomaticallyswitchoverto
theinternal(secondary)oscillatoriftheprimary
oscillatorfails.Thesenewfeaturesmakeapplications
morerobustintheeventofaprimaryoscillatorfailure
andallowgreaterflexibilitybyusingtheclock
frequencyswitchingcapabilitiesoftheinternal
oscillator.AN892Fail-SafeMonitoringandClockFrequencySwitchingUsingthePIC16F684MONITORINGFORANEXTERNALAuthor:MichaelRyleeOSCILLATORFAILUREMicrochipTechnologyInc.OSCCON<3>(OSTS)indicateswhetherthedeviceisrunningfromtheprimaryorsecondaryoscillator.WhenINTRODUCTIONafailureontheprimaryoscillatorisdetected,theThisapplicationnotediscussestheFail-Safedevi