![Nations N32G45 Series Скачать руководство пользователя страница 790](http://html1.mh-extra.com/html/nations/n32g45-series/n32g45-series_user-manual_3410106790.webp)
790
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Comparator (COMP)
The COMP module is used to compare the analog voltages of two inputs and output high/low levels based on the
comparison results. When "INP" input voltage is higher than "INM" input voltage, the comparator output is high
level, when "INP" input voltage is lower than "INM" input voltage, the comparator output is low level.
COMP system connection block diagram
The COMP module supports a maximum of seven independent comparators, which are connected to the APB1 bus..
Figure 26-1 Comparator1 and comparator2 connection diagram
COMP1
+
-
COMP2
+
-
PB1
DAC1/PA4
VREF1
VREF2
DAC2/PA5
PA0
DAC1/PA4
VREF1
VREF2
DAC2/PA5
COMP Interrupt
PA0/PB1/PA11/PB8
COMP Interrupt
PA6/PA7/PA12/PB9
PA1
PB10
PB11
PA7
DA_COMP
1INP_DAC
Window
mode
TIM1_BKIN
TIM1_OCrefClear
TIM1_IC1
TIM2_IC1
TIM2_OCrefClear
TIM3_IC1
TIM3_OCrefClear
TIM8_BKIN
TIM4_IC1
TIM4_OCrefClear
TIMTIM8_BKIN
TIM1_BKIN
TIM1_OCrefClear
TIM1_IC1
TIM2_IC2
TIM2_OCrefClear
TIM3_IC2
TIM3_OCrefClear
TIM8_BKIN
TIM5_IC1
TIMTIM8_BKIN
Polarity Selection
Polarity Selection
PE8