Atmel ARM-Based Evaluation Kit for SAM4S16C, 32-Bit ARM® Cortex® Microcontroller ATSAM4S-WPIR-RD ATSAM4S-WPIR-RD Hoja De Datos

Los códigos de productos
ATSAM4S-WPIR-RD
Descargar
Página de 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.