Atmel SAM4S Xplained Pro Starter and Evaluation Kit ATSAM4S-XPRO ATSAM4S-XPRO Data Sheet

Product codes
ATSAM4S-XPRO
Page of 1231
SAM4S Series [DATASHEET]
Atmel-11100G-ATARM-SAM4S-Datasheet_27-May-14
572
6. Read the data in PIO_PCRHR.
7. If new data are expected, go to step 
8. Write PIO_PCMR to set the PCEN bit to zero in order to disable the parallel capture mode WITHOUT 
changing the previous configuration.
With PDC
1. Write PIO_PCIDR and PIO_PCIER in order to configure the parallel capture mode interrupt mask.
2. Configure PDC transfer in PDC registers.
3. Write PIO_PCMR to set the fields DSIZE, ALWYS, HALFS and FRSTS in order to configure the parallel 
capture mode WITHOUT enabling the parallel capture mode. 
4. Write PIO_PCMR to set PCEN bit to one in order to enable the parallel capture mode WITHOUT changing 
the previous configuration.
5. Wait for end of transfer by waiting the interrupt corresponding the flag ENDRX in PIO_PCISR.
6. Check OVRE flag in PIO_PCISR.
7. If a new buffer transfer is expected, go to step 
.
8. Write PIO_PCMR to set the PCEN bit to zero in order to disable the parallel capture mode WITHOUT 
changing the previous configuration.