Atmel ARM-Based Evaluation Kit for SAM4S16C, 32-Bit ARM® Cortex® Microcontroller ATSAM4S-WPIR-RD ATSAM4S-WPIR-RD Data Sheet

Product codes
ATSAM4S-WPIR-RD
Page of 1231
SAM4S Series [DATASHEET]
Atmel-11100G-ATARM-SAM4S-Datasheet_27-May-14
612
31.7.49 PIO Parallel Capture Mode Register
Name:
PIO_PCMR
Address:
0x400E0F50 (PIOA), 0x400E1150 (PIOB), 0x400E1350 (PIOC)
Access:
Read/Write
This register can only be written if the WPEN bit is cleared in 
.
• PCEN: Parallel Capture Mode Enable
0: The parallel capture mode is disabled.
1: The parallel capture mode is enabled.
• DSIZE: Parallel Capture Mode Data Size
• ALWYS: Parallel Capture Mode Always Sampling
0: The parallel capture mode samples the data when both data enables are active.
1: The parallel capture mode samples the data whatever the data enables are.
• HALFS: Parallel Capture Mode Half Sampling
Independently from the ALWYS bit:
0: The parallel capture mode samples all the data. 
1: The parallel capture mode samples the data only every other time.
• FRSTS: Parallel Capture Mode First Sample
This bit is useful only if the HALFS bit is set to 1. If data are numbered in the order that they are received with an index from 
0 to n:
0: Only data with an even index are sampled.
1: Only data with an odd index are sampled.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
FRSTS
HALFS
ALWYS
7
6
5
4
3
2
1
0
DSIZE
PCEN
Value
Name
Description
0
BYTE
The reception data in the PIO_PCRHR register is a byte (8-bit)
1
HALF-WORD
The reception data in the PIO_PCRHR register is a half-word (16-bit)
2
WORD
 The reception data in the PIO_PCRHR register is a word (32-bit)
3
Reserved