/* This function enables the wakeup function of USCI_I2C module.  */
void UI2C_EnableWakeup(UI2C_T *ui2c, uint8_t u8WakeupMode)
/* This function enables the wakeup function of USCI_I2C module.  */
void UI2C_EnableWakeup(UI2C_T *ui2c, uint8_t u8WakeupMode)
{
    ui2c->WKCTL = (ui2c->WKCTL & ~UI2C_WKCTL_WKADDREN_Msk) | (u8WakeupMode | UI2C_WKCTL_WKEN_Msk);
}