/* This function is used to clear all tamper events. This function always clears the tamper feature event state indicator along with all tamper log entries. Logged event data should be retrieved with  */
void HibernateTamperEventsClear(void)
/* This function is used to clear all tamper events. This function always clears the tamper feature event state indicator along with all tamper log entries. Logged event data should be retrieved with  */
void HibernateTamperEventsClear(void)
{
    HWREG(HIB_LOCK) = HIB_LOCK_HIBLOCK_KEY;
    _HibernateWriteComplete();
    HWREG(HIB_TPCTL) |= HIB_TPCTL_TPCLR;
    _HibernateWriteComplete();
    HWREG(HIB_LOCK) = 0;
    _HibernateWriteComplete();
}