Atmel SAM4S-XPLD Atmel ATSAM4S-XPLD ATSAM4S-XPLD Hoja De Datos

Los códigos de productos
ATSAM4S-XPLD
Descargar
Página de 1125
 553
SAM4S [DATASHEET]
11100E–ATARM–24-Jul-13
30.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 one time out of two.
• 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