/* param base WUU peripheral base address. param filterIndex A pin filter index, which starts from 1. return True if the flag is a source of the existing low-leakage power mode.  */
bool WUU_GetPinFilterFlag(WUU_Type *base, uint8_t filterIndex)
/* param base WUU peripheral base address. param filterIndex A pin filter index, which starts from 1. return True if the flag is a source of the existing low-leakage power mode.  */
bool WUU_GetPinFilterFlag(WUU_Type *base, uint8_t filterIndex)
{
    bool ret = false;
    switch (filterIndex)
    {
        case 1:
            ret = ((base->FILT & WUU_FILT_FILTF1_MASK) != 0U);
            break;
        case 2:
            ret = ((base->FILT & WUU_FILT_FILTF2_MASK) != 0U);
            break;
        default:
            ret = false;
            break;
    }
    return ret;
}