SAM3N0C Atmel Corporation, SAM3N0C Datasheet - Page 658

no-image

SAM3N0C

Manufacturer Part Number
SAM3N0C
Description
Manufacturer
Atmel Corporation
Datasheets
33.6.9
33.6.10
658
658
SAM3N
SAM3N
Buffer Structure
Write Protection Registers
Warning: No input buffer amplifier to isolate the source is included in the ADC. This must be
taken into consideration to program a precise value in the TRACKTIM field. See the product
ADC Characteristics section.
The PDC read channel is triggered each time new data is stored in ADC_LCDR register. The
same structure of data is repeatedly stored in ADC_LCDR register each time a trigger event
occurs. Depending on user mode of operation (ADC_MR, ADC_CHSR, ADC_SEQR1,
ADC_SEQR2) the structure differs. Each data transferred to PDC buffer, carried on a half-word
(16-bit), consists of last converted data right aligned and when TAG is set in ADC_EMR register,
the 4 most significant bits are carrying the channel number thus allowing an easier post-process-
ing in the PDC buffer or better checking the PDC buffer integrity.
To prevent any single software error that may corrupt ADC behavior, certain address spaces
can be write-protected by setting the WPEN bit in the
(ADC_WPMR).
If a write access to the protected registers is detected, then the WPVS flag in the ADC Write Pro-
tect Status Register (ADC_WPSR) is set and the field WPVSRC indicates in which register the
write access has been attempted.
The WPVS flag is reset by writing the ADC Write Protect Mode Register (ADC_WPMR) with the
appropriate access key, WPKEY.
The protected registers are:
“ADC Mode Register” on page 661
“ADC Channel Sequence 1 Register” on page 663
“ADC Channel Sequence 2 Register” on page 664
“ADC Channel Enable Register” on page 665
“ADC Channel Disable Register” on page 666
“ADC Extended Mode Register” on page 674
“ADC Compare Window Register” on page 675
“ADC Write Protect Mode Register”
11011A–ATARM–04-Oct-10
11011A–ATARM–04-Oct-10

Related parts for SAM3N0C