/* The function is used to enable the HFIRC auto trim interrupt.  */
void SysCtlHFIRCTrimIntEnable(xtBoolean bEnable, unsigned char ulTrimInt)
/* The function is used to enable the HFIRC auto trim interrupt.  */
void SysCtlHFIRCTrimIntEnable(xtBoolean bEnable, unsigned char ulTrimInt)
{
    xASSERT((ulTrimInt == SYSCTL_TRIM_32K_ERR_IEN) ||
            (ulTrimInt == SYSCTL_TRIM_32K_FAIL_IEN));  
    if(bEnable)
    {
        xHWREG(GCR_IRCTRIMIEN) |= ulTrimInt;
    }
    else
    {
        xHWREG(GCR_IRCTRIMIEN) &= ~ulTrimInt;  
    }
}