Datasheet

Figure 52-5. EOCx, GOVRE and OVREx Flag Behavior
EOC0
GOVRE
CH0
(AFEC_CHSR)
(AFEC_ISR1)
(AFEC_ISR1)
Trigger event
EOC1
CH1
(AFEC_CHSR)
(AFEC_ISR1)
OVRE0
(AFEC_OVER)
Undefined Data Data A
Data B
AFEC_LCDR
Undefined Data
Data A
AFEC_CDR0
Undefined Data
Data B
AFEC_CDR1
Data C
Data C
Conversion C
Conversion A
DRDY
(AFEC_ISR1)
Read AFEC_CDR1
Read AFEC_CDR0
Conversion B
Read AFEC_OVER
Read AFEC_SR
OVRE1
(AFEC_OVER)
WARNING
If the corresponding channel is disabled during a conversion, or if it is disabled and then reenabled during
a conversion, its associated data and its corresponding EOCx and GOVRE flags in
AFEC_ISR and
OVREx flags in AFEC_OVER are unpredictable.
52.6.5 Conversion Results Format
The conversion results can be signed (2’s complement) or unsigned depending on the value of the SIGNMODE field
in AFEC_EMR.
Four modes are available:
Results of channels configured in Single-ended mode are unsigned; results of channels configured in Differential
mode are signed.
Results of channels configured in Single-ended mode are signed; results of channels configured in Differential
mode are unsigned.
Results of all channels are unsigned.
Results of all channels are signed.
If conversion results are signed and resolution is less than 16 bits, the sign is extended up to the bit 15 (e.g., 0xF43
for 12-bit resolution will be read as 0xFF43 and 0x467 will be read as 0x0467).
SAM E70/S70/V70/V71 Family
Analog Front-End Controller (AFEC)
© 2019 Microchip T
echnology Inc.
Datasheet
DS60001527D-page 1659