357
XMEGA B [DATASHEET]
8291B–AVR–01/2013
This flag is automatically cleared when the analog comparator 1 interrupt vector is executed. The flag can also be
cleared by writing a one to its bit location.
Bit 0 – AC0IF: Analog Comparator 0 Interrupt Flag
This is the interrupt flag for AC0. AC0IF is set according to the INTMODE setting in the corresponding
Analog Comparator n Control register” on page 353
.
This flag is automatically cleared when the analog comparator 0 interrupt vector is executed. The flag can also be
cleared by writing a one to its bit location.
27.8.7 CURRCTRL – Current Source Control register
Bit 7 – CURRENT: Current Source Enable
Setting this bit to one will enable the constant current source.
Bit 6:2 – Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always write these bits to zero
when this register is written.
Bit 1 – AC1CURR: AC1 Current Source Output Enable
Setting this bit to one will enable the constant current source output on the pin selected by MUXNEG in AC1MUXTRL.
Bit 0 – AC0CURR: AC0 Current Source Output Enable
Setting this bit to one will enable the constant current source output on the pin selected by MUXNEG in AC0MUXTRL.
27.8.8 CURRCALIB – Current Source Calibration register
Bits 7:4 – Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always write these bits to zero
when this register is written.
Bit 3:0 – CALIB[3:0]: Current Source Calibration
The constant current source is calibrated during production. A calibration value can be read from the signature row and
written to the CURRCALIB register from software. Refer to device data sheet for default calibration values and user
calibration range.
Bit
7
6
5
4
3
2
1
0
+0x08
CURRENT
–
–
–
–
–
AC1CURR
AC0CURR
Read/Write
R/W
R
R
R
R
R
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
+0x09
–
–
–
–
CALIB[3:0]
Read/Write
R
R
R
R
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Содержание XMEGA B
Страница 320: ...320 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 12 7 segments Character Table...
Страница 321: ...321 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 13 14 segments Character Table...
Страница 322: ...322 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 14 16 segments Character Table...
Страница 412: ...412 XMEGA B DATASHEET 8291B AVR 01 2013...
Страница 413: ...413 XMEGA B DATASHEET 8291B AVR 01 2013...
Страница 414: ...414 XMEGA B DATASHEET 8291B AVR 01 2013...