at90pwm2 ATMEL Corporation, at90pwm2 Datasheet - Page 9

no-image

at90pwm2

Manufacturer Part Number
at90pwm2
Description
At90pwm2 8-bit Avr Microcontroller With 8k Bytes In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at90pwm2B-16SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
4.2.5
4.2.6
4.2.7
4.2.8
4.3
4317IS–AVR–01/08
About Code Examples
Port D (PD7..PD0)
Port E (PE2..0) RESET/ XTAL1/
XTAL2
AVCC
AREF
Port D is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The
Port D output buffers have symmetrical drive characteristics with both high sink and source
capability. As inputs, Port D pins that are externally pulled low will source current if the pull-up
resistors are activated. The Port D pins are tri-stated when a reset condition becomes active,
even if the clock is not running.
Port D also serves the functions of various special features of the AT90PWM2/2B/3/3B as listed
on
Port E is an 3-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The
Port E output buffers have symmetrical drive characteristics with both high sink and source
capability. As inputs, Port E pins that are externally pulled low will source current if the pull-up
resistors are activated. The Port E pins are tri-stated when a reset condition becomes active,
even if the clock is not running.
If the RSTDISBL Fuse is programmed, PE0 is used as an I/O pin. Note that the electrical char-
acteristics of PE0 differ from those of the other pins of Port C.
If the RSTDISBL Fuse is unprogrammed, PE0 is used as a 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
to generate a Reset.
Depending on the clock selection fuse settings, PE1 can be used as input to the inverting Oscil-
lator amplifier and input to the internal clock operating circuit.
Depending on the clock selection fuse settings, PE2 can be used as output from the inverting
Oscillator amplifier.
The various special features of Port E are elaborated in
77
AVCC is the supply voltage pin for the A/D Converter. It should be externally connected to V
even if the ADC is not used. If the ADC is used, it should be connected to V
pass filter.
This is the analog reference pin for the A/D Converter.
This documentation contains simple code examples that briefly show how to use various parts of
the device. These code examples assume that the part specific header file is included before
compilation. Be aware that not all C compiler vendors include bit definitions in the header files
and interrupt handling in C is compiler dependent. Please confirm with the C compiler documen-
tation for more details.
page
and
“Clock Systems and their Distribution” on page
74.
Table 9-1 on page
29.
“Alternate Functions of Port E” on page
47. Shorter pulses are not guaranteed
AT90PWM2/3/2B/3B
CC
through a low-
CC
9
,

Related parts for at90pwm2