Atmel /ATSAM4S4B /ACC /MR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as MR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (TS)SELMINUS 0 (AD0)SELPLUS 0 (DIS)ACEN 0 (RISING)EDGETYP 0 (DIS)INV 0 (CE)SELFS 0 (DIS)FE

SELMINUS=TS, SELPLUS=AD0, FE=DIS, EDGETYP=RISING, SELFS=CE, INV=DIS, ACEN=DIS

Description

Mode Register

Fields

SELMINUS

Selection for Minus Comparator Input

0 (TS): Select TS

1 (ADVREF): Select ADVREF

2 (DAC0): Select DAC0

3 (DAC1): Select DAC1

4 (AD0): Select AD0

5 (AD1): Select AD1

6 (AD2): Select AD2

7 (AD3): Select AD3

SELPLUS

Selection For Plus Comparator Input

0 (AD0): Select AD0

1 (AD1): Select AD1

2 (AD2): Select AD2

3 (AD3): Select AD3

4 (AD4): Select AD4

5 (AD5): Select AD5

6 (AD6): Select AD6

7 (AD7): Select AD7

ACEN

Analog Comparator Enable

0 (DIS): Analog comparator disabled.

1 (EN): Analog comparator enabled.

EDGETYP

Edge Type

0 (RISING): Only rising edge of comparator output

1 (FALLING): Falling edge of comparator output

2 (ANY): Any edge of comparator output

INV

Invert Comparator Output

0 (DIS): Analog comparator output is directly processed.

1 (EN): Analog comparator output is inverted prior to being processed.

SELFS

Selection Of Fault Source

0 (CE): The CE flag is used to drive the FAULT output.

1 (OUTPUT): The output of the analog comparator flag is used to drive the FAULT output.

FE

Fault Enable

0 (DIS): The FAULT output is tied to 0.

1 (EN): The FAULT output is driven by the signal defined by SELFS.

Links

()