CHAPTER 15:12-/10-/8-bit Analog to Digital Converter
290
S6J3200 Series Hardware Manual Document Number: 002-04852 Rev. *G
4.7.
Range Comparator
Figure 4-8 shows the example of range comparator operation.
Figure 4-8 Range Comparator (Channel i)
Start of range comparator
(channel i)
Detect range comparator
interrupt?
Yes
No
Read range comparator interrupt flag
of channel i
(ADC12Bn_RCIRQ0~1.RCIRQ)
Checks for
"inside range" or "outside range"
of channel i?
(ADC12Bn_CHCTRLi.RCINVSEL)
Checks for "inside range"
(RCINVSEL = "1")
Checks for "outside range"
(RCINVSEL = "0")
Read range comparator interrupt flag
of channel i
(ADC12Bn_RCOTF0~1.RCOTF)
Clear range comparator interrupt flag
of channel i
(ADC12Bn_RCIRQC0~1.RCIRQC = "1")
Continue operation of
range comparator?
Continue
Finish
Set as range comparator disable
of channel i
(ADC12Bn_CHCTRLi.RCEN = "0")
End of range comparator
(channel i)
Summary of Contents for S6J3200 Series
Page 1041: ...CHAPTER 28 LCD Controller 1040 S6J3200 Series Hardware Manual Document Number 002 04852 Rev G...
Page 1044: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1043...
Page 1047: ...CHAPTER 28 LCD Controller 1046 S6J3200 Series Hardware Manual Document Number 002 04852 Rev G...
Page 1050: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1049...
Page 1084: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1083...
Page 1086: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1085...
Page 1088: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1087...