/* Clear Selected pin interrupt status only when the pin was triggered by edge-sensitive. 
This function clears the selected pin interrupt status. */
void PINT_PinInterruptClrStatus(PINT_Type *base, pint_pin_int_t pintr)
/* Clear Selected pin interrupt status only when the pin was triggered by edge-sensitive. 
This function clears the selected pin interrupt status. */
void PINT_PinInterruptClrStatus(PINT_Type *base, pint_pin_int_t pintr)
{
    uint32_t pinIntMode   = base->ISEL & (1UL << (uint32_t)pintr);
    uint32_t pinIntStatus = base->IST & (1UL << (uint32_t)pintr);
    if ((pinIntMode == 0x0UL) && (pinIntStatus != 0x0UL))
    {
        base->IST = (1UL << (uint32_t)pintr);
    }
}