PIO_OSR
osr = readl_relaxed(pio + PIO_OSR);
readl_relaxed(pio + PIO_OSR) & mask ?
return (readl_relaxed(pio + PIO_OSR) >> pin) & 0x1;