ATAVRSB202 Atmel, ATAVRSB202 Datasheet - Page 88

no-image

ATAVRSB202

Manufacturer Part Number
ATAVRSB202
Description
KIT BATT MGMT FOR ATMEGA32HVB
Manufacturer
Atmel
Datasheets

Specifications of ATAVRSB202

Main Purpose
*
Embedded
*
Utilized Ic / Part
*
Primary Attributes
*
Secondary Attributes
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
17.7
8042B–AVR–06/10
Output Compare Unit
cleared by software (writing a logical one to the I/O bit location). For measuring frequency only,
the trigger edge change is not required.
Table 17-3.
Note:
Table 17-4.
Note:
The comparator continuously compares the Timer/Counter (TCNTn) with the Output Compare
Registers (OCRnA and OCRnB), and whenever the Timer/Counter equals to the Output Com-
pare Registers, the comparator signals a match. A match will set the Output Compare Flag at
the next timer clock cycle. In 8-bit mode the match can set either the Output Compare Flag
OCFnA or OCFnB, but in 16-bit mode the match can set only the Output Compare Flag OCFnA
as there is only one Output Compare Unit. If the corresponding interrupt is enabled, the Output
Compare Flag generates an Output Compare interrupt. The Output Compare Flag is automati-
cally cleared when the interrupt is executed. Alternatively, the flag can be cleared by software by
writing a logical one to its I/O bit location.
Output Compare unit.
Figure 17-5. Output Compare Unit, Block Diagram
ICS0
ICS1
0
1
0
1
1. See
2. The noise canceler cannot be used with this source.
1. The noise canceller will filter out the input capture and it is therefore not recommended to use
noise canceler with these sources.
Timer/Counter0 Input Capture Source (ICS)
Timer/Counter1 Input Capture Source (ICS)
”OSI – Oscillator Sampling Interface” on page 29
Source
ICP00: Port PB0
ICP01: osi_posedge pin from OSI module
Source
ICP10: Battery Protection Interrupt
ICP11: Voltage Regulator Interrupt
OCRnx
=
(8/16-bit Comparator )
DATA BUS
OCFnx (Int.Req.)
Figure 17-5 on page 88
(1)
(1)
ATmega16HVB/32HVB
(1)(2)
for details.
TCNTn
shows a block diagram of the
88

Related parts for ATAVRSB202