/* Returns the value of ISR for the PIO controller of the pin. Reading this register acknoledges all the ITs.  */
unsigned int PIO_GetISR(const Pin *pin)
/* Returns the value of ISR for the PIO controller of the pin. Reading this register acknoledges all the ITs.  */
unsigned int PIO_GetISR(const Pin *pin)
{
    return (READ(pin->pio, PIO_ISR));
}