ATSAME70N21B ACC registers

The 9 registers of ACC (Analog Comparator Controller), from 0x40044000, with their reset value and every field. The ATSAME70N21B has 2806 registers in 62 peripherals, one page each.

ACC Analog Comparator Controller

ACC_CRControl Register

Address
0x40044000
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
SWRST0Software Reset

ACC_MRMode Register

Address
0x40044004
Reset
0x00000000
Access
read/write
Size
32-bit
7 fields
FieldBitsWhat it does
FE14Fault Enable
  • 0 The FAULT output is tied to 0.
  • 1 The FAULT output is driven by the signal defined by SELFS.
SELFS13Selection Of Fault Source
  • 0 The CE flag is used to drive the FAULT output.
  • 1 The output of the analog comparator flag is used to drive the FAULT output.
INV12Invert Comparator Output
  • 0 Analog comparator output is directly processed.
  • 1 Analog comparator output is inverted prior to being processed.
EDGETYP10:9Edge Type
  • 0 Only rising edge of comparator output
  • 1 Falling edge of comparator output
  • 2 Any edge of comparator output
ACEN8Analog Comparator Enable
  • 0 Analog comparator disabled.
  • 1 Analog comparator enabled.
SELPLUS6:4Selection For Plus Comparator Input
  • 0 Select AFE0_AD0
  • 1 Select AFE0_AD1
  • 2 Select AFE0_AD2
  • 3 Select AFE0_AD3
  • 4 Select AFE0_AD4
  • 5 Select AFE0_AD5
  • 6 Select AFE1_AD0
  • 7 Select AFE1_AD1
SELMINUS2:0Selection for Minus Comparator Input
  • 0 Select TS
  • 1 Select VREFP
  • 2 Select DAC0
  • 3 Select DAC1
  • 4 Select AFE0_AD0
  • 5 Select AFE0_AD1
  • 6 Select AFE0_AD2
  • 7 Select AFE0_AD3

ACC_IERInterrupt Enable Register

Address
0x40044024
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
CE0Comparison Edge

ACC_IDRInterrupt Disable Register

Address
0x40044028
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
CE0Comparison Edge

ACC_IMRInterrupt Mask Register

Address
0x4004402C
Reset
0x00000000
Access
read only
Size
32-bit
1 field
FieldBitsWhat it does
CE0Comparison Edge

ACC_ISRInterrupt Status Register

Address
0x40044030
Reset
0x00000000
Access
read only
Size
32-bit
3 fields
FieldBitsWhat it does
SCO1Synchronized Comparator Output
CE0Comparison Edge (cleared on read)
MASK31Flag Mask

ACC_ACRAnalog Control Register

Address
0x40044094
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
HYST2:1Hysteresis Selection
ISEL0Current Selection
  • 0 Low-power option.
  • 1 High-speed option.

ACC_WPMRWrite Protection Mode Register

Address
0x400440E4
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
WPEN0Write Protection Enable
WPKEY31:8Write Protection Key
  • 4277059 Writing any other value in this field aborts the write operation of the WPEN bit.Always reads as 0.

ACC_WPSRWrite Protection Status Register

Address
0x400440E8
Reset
0x00000000
Access
read only
Size
32-bit
1 field
FieldBitsWhat it does
WPVS0Write Protection Violation Status