166
MC95FG308 / MC95FG208
ABOV Semiconductor Co., Ltd.
11.11.4 Register Map
Name
Address
Dir
Default
Description
ACCSR
F9H
R/W
00H
Analog Comparator Control & Status Register
Table 11.21
Register Map
11.11.5 Analog Comparator Register Description
Analog Comparator Register has one control register, Analog Comparator Control & Status Register (ACCSR). Note
that AMUXENB is the inverted signal of AMUXEN bit which comes from ADC’s ADCM2 register.
11.11.6 Register Description for USI0
ACCSR (Analog Comparator Control & Status Register) : F9H
7
6
5
4
3
2
1
0
ACE
ACBG
ACO
ACIF
ACIE
ACO_OUTEN
ACISM1
ACISM0
R/W
R/W
R
R
R/W
R/W
R/W
R/W
Initial value : 00H
ACE
Enable Analog Comparator (AC).
0
Disable AC (power down)
1
Enable AC
ACBG
Select (-) input source of AC, Band Gap Reference Voltage or AN4.
0
(-) input is from AN4
1
(-) input is from Band Gap Reference Voltage
ACO
This bit represents the value of ACOUT (Output of Analog Comparator).
ACO bit is sampled by SCLK, system clock, twice. When ACE is ‘0’, this
bit is also cleared.
0
Comparator output is LOW
1
Comparator output is HIGH
ACIF
This bit is set when an Analog Comparator Interrupt is generated
according to the ACISM[1:0] bits. This bit is cleared when Analog
Comparator Interrupt is executed or ‘0’ is written to this bit field.
0
No interrupt generated or cleared
1
Interrupt generated
ACIE
Enable Analog Comparator Interrupt.
0
Disable Interrupt, Polling mode operation
1
Enable Interrupt
ACO_OUTEN
Analog Comparator output port Enable
0
Disable
1
Enable
ACISM[1:0]
Select Interrupt Mode of Analog Comparator.
ACISM1
ACISM0
Description
0
0
Reserved
0
1
Interrupt on falling edge of ACOUT
1
0
Interrupt on rising edge of ACOUT
1
1
Interrupt on both edge of ACOUT
Содержание MC95FG208 Series
Страница 14: ...14 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd 4 Package Diagram Figure 4 1 32 Pin SOP Package...
Страница 15: ...15 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 2 32 Pin QFN Package...
Страница 16: ...16 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 3 32 Pin LQFP Package...
Страница 17: ...17 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 4 28 Pin SOP Package...
Страница 18: ...18 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 5 28 Pin SOP Package continue...
Страница 19: ...19 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 6 28 Pin SOP Package...
Страница 20: ...20 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 7 28 Pin TSSOP Package...
Страница 21: ...21 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 8 20 Pin SOP Package...
Страница 22: ...22 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 9 20 Pin TSSOP Package...
Страница 23: ...23 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 10 16 Pin SOP Package...
Страница 24: ...24 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 11 16 Pin TSSOP Package...