Datasheet

4
8024A–AVR–04/08
ATmega8HVA/16HVA
1.3.7 GND
Ground
1.3.8 Port A (PA1..PA0)
Port A serves as a low-voltage 2-bit bi-directional I/O port with internal pull-up resistors (selected
for each bit). As inputs, Port A pins that are externally pulled low will source current if the pull-up
resistors are activated. The Port A pins are tri-stated when a reset condition becomes active,
even if the clock is not running.
Port A also serves the functions of various special features of the ATmega8HVA/16HVA as
listed in ”Alternate Functions of Port A” on page 70.
1.3.9 Port B (PB3..PB0)
Port B is a low-voltage 4-bit bi-directional I/O port with internal pull-up resistors (selected for
each bit). As inputs, Port B pins that are externally pulled low will source current if the pull-up
resistors are activated. The Port B pins are tri-stated when a reset condition becomes active,
even if the clock is not running.
Port B also serves the functions of various special features of the ATmega8HVA/16HVA as
listed in ”Alternate Functions of Port B” on page 71.
1.3.10 PC0
Port C serves the functions of various special features of the ATmega8HVA/16HVA as listed in
”Alternate Functions of Port C” on page 61.
1.3.11 OC
High voltage output to drive Charge FET.
1.3.12 OD
High voltage output to drive Discharge FET.
1.3.13 NI
NI is the filtered negative input from the current sense resistor.
1.3.14 PI
PI is the filtered positive input from the current sense resistor.
1.3.15 NV/PV1/PV2
NV, PV1, and PV2 are the inputs for battery cells 1 and 2.
1.3.16 BATT
Input for detecting when a charger is connected.
1.3.17 RESET
/dw
Reset input. A low level on this pin for longer than the minimum pulse length will generate a
reset, even if the clock is not running. The minimum pulse length is given in Table 11 on page
38. Shorter pulses are not guaranteed to generate a reset. This pin is also used as debugWIRE
communication pin.