AFEC_COCR

AFEC Channel Offset Compensation Register

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

  0x6C 32 Read/Write 0x00000000  

AFEC Channel Offset Compensation 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  
              AOFF[9:8]  
Access              R/W R/W  
Reset              0 0  
Bit  7 6 5 4 3 2 1 0  
  AOFF[7:0]  
Access  R/W R/W R/W R/W R/W R/W R/W R/W  
Reset  0 0 0 0 0 0 0 0  

Bits 9:0 – AOFF[9:0]: Analog Offset

Analog Offset

Defines the analog offset to be used for channel CSEL (configured in the AFEC Channel Selection Register). This value is used as an input value for the DAC included in the AFE.

Note:

The field AOFF must be configured to 512 (mid scale of the DAC) when there is no offset error to compensate. To compensate for an offset error of n LSB (positive or negative), the field AOFF must be configured to 512 + n.