/* This function is used to attempt to recover the external oscillator after a  */
void HibernateTamperExtOscRecover(void)
/* This function is used to attempt to recover the external oscillator after a  */
void HibernateTamperExtOscRecover(void)
{
    HWREG(HIB_LOCK) = HIB_LOCK_HIBLOCK_KEY;
    _HibernateWriteComplete();
    HWREG(HIB_TPSTAT) |= HIB_TPSTAT_XOSCFAIL;
    _HibernateWriteComplete();
    HWREG(HIB_LOCK) = 0;
    _HibernateWriteComplete();
}