MB95630H Series
592
FUJITSU SEMICONDUCTOR LIMITED
MN702-00009-1v0-E
CHAPTER 27 COMPARATOR
27.2 Configuration
●
Comparator
The comparator monitors the voltages of two external analog inputs and compares them. Using
the voltage of the non-inverting analog input (positive input) as a reference voltage, the
comparator outputs "H" if the voltage of the inverting analog input (negative input) is lower
than the reference voltage; otherwise, it outputs "L".
●
Edge detection circuit
Except in stop mode, watch mode or time-base timer mode, upon detection of a rising edge or
falling edge of comparator output, the edge detection circuit automatically raises an interrupt
flag (CMR0C:IF).
●
Comparator control register (CMR0C)
This register has the following functions:
•
To power up or power down the comparator (CMR0C:PD)
•
To enable or disable comparator output (CMR0C:VCOE)
•
To enable or disable comparator analog input (CMR0C:VCID)
Except in stop mode, watch mode or time-base timer mode, if CMR0C:IE has been set to "1",
upon detection of a rising edge or falling edge of comparator output, the comparator generates
an interrupt request and the interrupt flag bit (CMR0C:IF) is automatically set to "1" at the
same time.
The output status of a comparator can be read through the OS bit in the comparator control
register (CMR0C).
Содержание MB95630H Series
Страница 2: ......
Страница 4: ......
Страница 8: ...iv ...
Страница 20: ...xvi ...
Страница 106: ...MB95630H Series 86 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 1v0 E CHAPTER 6 I O PORT 6 2 Configuration and Operations ...
Страница 282: ...MB95630H Series 262 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 1v0 E CHAPTER 14 LIN UART 14 8 Notes on Using LIN UART ...
Страница 642: ...MB95630H Series 622 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 1v0 E APPENDIX A Instruction Overview A 5 Instruction Map ...
Страница 644: ......