ACC_MR

ACC Mode Register

This register can only be written if the WPEN bit is cleared in the ACC Write Protection Mode Register.

  0x04 32 Read/Write 0x00000000  

ACC Mode Register

Bit  31 30 29 28 27 26 25 24  
                   
Access                   
Reset                   
Bit  23 22 21 20 19 18 17 16  
                   
Access                   
Reset                   
Bit  15 14 13 12 11 10 9 8  
    FE SELFS INV   EDGETYP[1:0] ACEN  
Access    R/W R/W R/W   R/W R/W R/W  
Reset    0 0 0   0 0 0  
Bit  7 6 5 4 3 2 1 0  
    SELPLUS[2:0]   SELMINUS[2:0]  
Access    R/W R/W R/W   R/W R/W R/W  
Reset    0 0 0   0 0 0  

Bits 2:0 – SELMINUS[2:0]: Selection for Minus Comparator Input

Selection for Minus Comparator Input

0..7: Selects the input to apply on analog comparator SELMINUS comparison input.

ValueNameDescription
0 TS

Select Temperature Sensor (TS) output voltage

1 VREFP

Select VREFP

2 DAC0

Select DAC0

3 DAC1

Select DAC1

4 AFE0_AD0

Select AFE0_AD0

5 AFE0_AD1

Select AFE0_AD1

6 AFE0_AD2

Select AFE0_AD2

7 AFE0_AD3

Select AFE0_AD3

Bits 6:4 – SELPLUS[2:0]: Selection For Plus Comparator Input

Selection For Plus Comparator Input

0..7: Selects the input to apply on analog comparator SELPLUS comparison input.

ValueNameDescription
0 AFE0_AD0

Select AFE0_AD0

1 AFE0_AD1

Select AFE0_AD1

2 AFE0_AD2

Select AFE0_AD2

3 AFE0_AD3

Select AFE0_AD3

4 AFE0_AD4

Select AFE0_AD4

5 AFE0_AD5

Select AFE0_AD5

6 AFE1_AD6

Select AFE1_AD0

7 AFE1_AD7

Select AFE1_AD1

Bit 8 – ACEN: Analog Comparator Enable

Analog Comparator Enable

0 (DIS): Analog comparator disabled.

1 (EN): Analog comparator enabled.

Bits 10:9 – EDGETYP[1:0]: Edge Type

Edge Type

ValueNameDescription
0 RISING

Only rising edge of comparator output

1 FALLING

Falling edge of comparator output

2 ANY

Any edge of comparator output

Bit 12 – INV: Invert Comparator Output

Invert Comparator Output

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

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

Bit 13 – SELFS: Selection Of Fault Source

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.

Bit 14 – FE: Fault Enable

Fault Enable

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

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