31.5.14.4.1 Without DMA
- Write PIO_PCIDR and PIO_PCIER to configure the Parallel Capture mode interrupt mask.
- Write PIO_PCMR to set the DSIZE, ALWYS, HALFS, and FRSTS fields to configure the Parallel Capture mode without enabling the Parallel Capture mode.
- Write PIO_PCMR to set the PCEN bit to ‘1’ to enable the Parallel Capture mode without changing the previous configuration.
- Wait for a data ready by polling the DRDY flag in PIO_PCISR or by waiting for the corresponding interrupt.
- Check the OVRE flag in PIO_PCISR.
- Read the data in PIO_PCRHR.
- If new data are expected, go to step 4.
- Write PIO_PCMR to set the PCEN bit to ‘0’ to disable the Parallel Capture mode without changing the previous configuration.
