SAM3X8E Atmel Corporation, SAM3X8E Datasheet - Page 1340

no-image

SAM3X8E

Manufacturer Part Number
SAM3X8E
Description
Manufacturer
Atmel Corporation
Datasheets
43.6.12
43.6.13
1340
1340
SAM3X/A
SAM3X/A
Fault Output
Write Protection Registers
The ADC Controller internal fault output is directly connected to PWM fault input. Fault output
may be asserted according to the configuration of ADC_EMR (Extended Mode Register) and
ADC_CWR (Compare Window Register) and converted values. When the Compare occurs, the
ADC fault output generates a pulse of one Master Clock Cycle to the PWM fault input. This fault
line can be enabled or disabled within PWM. Should it be activated and asserted by the ADC
Controller, the PWM outputs are immediately placed in a safe state (pure combinational path).
Note that the ADC fault output connected to the PWM is not the COMPE bit. Thus the Fault
Mode (FMOD) within the PWM configuration must be FMOD = 1.
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 1343
“ADC Channel Sequence 1 Register” on page 1346
“ADC Channel Sequence 2 Register” on page 1347
“ADC Channel Enable Register” on page 1348
“ADC Channel Disable Register” on page 1349
“ADC Extended Mode Register” on page 1357
“ADC Compare Window Register” on page 1358
“ADC Channel Gain Register” on page 1359
“ADC Channel Offset Register” on page 1360
“ADC Analog Control Register” on page 1362
“ADC Write Protect Mode Register”
11057A–ATARM–17-Feb-12
11057A–ATARM–17-Feb-12

Related parts for SAM3X8E