atam510 ATMEL Corporation, atam510 Datasheet - Page 24

no-image

atam510

Manufacturer Part Number
atam510
Description
Marc4 4-bit Mtp Universal Microcontroller
Manufacturer
ATMEL Corporation
Datasheet
3.2
Table 3-2.
Notes:
24
Dynamic pull-up/-down typ.
(Ohm)
Static pull-up/-down typ.
(Ohm)
Schmitt trigger inputs
Additional functions
Port Address
Number of bits
Bit wise programmable
direction
Output drivers mask
configurable
(3)
(4)
Bi-directional Ports
1. Either “open drain down”, “open drain up” or CMOS output configuration
2. This output must always be CMOS
3. The Dynamic pull-up/-down transistors are mask programmable and if programmed, are only activated when the associated
4. The static pull-up/-down transistors are mask programmed and if programmed are always active independent of the port
ATAM510
complementary driver transistor is off. i.e.. A dynamic pull up transistor is only active when the port is either in input mode
(both drivers off) or when a logical 1 is written to the port pad (low driver off) in output mode
direction or driven state
(1)
Overview of Port Features
For further data see section “DC Operating Characteristics”.
All Ports (0, 1, 4, 5, 7, A, B and C with the exception of Port 6) are 4 bits wide. Port 6 has a data
width of only 2 bits (bit 0 and bit 1). The ports may be used for data input or output. All ports that
can either directly or indirectly generate an interrupt are equipped with Schmitt trigger inputs. A
variety of mask options are available such as open drain, open source and full complementary
outputs as well as different types of pull-up and pull-down transistors. All Port Data Registers
(PxDAT) are I/O mapped to the primary address register of the respective port address, and the
Port Data Direction Register (PxDDR) to the corresponding auxiliary register.
All bi-directional ports except Port 0 and Port 1, include a bit wise programmable Data Direction
Register (PxDDR) which allows the individual programming of each port bit as input or output. It
is also possible to read the pin condition when in output mode. This is a useful feature for self-
testing and for collision detection on wired-OR bus systems.
There are five different types of bi-directional ports:
• Ports 0 and 1: 4-bit wide, bi-directional ports with automatic full bus width direction switching
• Port 4: 4-bit wide, bit wise programmable bi-directional port also provides the I/O interface to
• Ports 5, 7 and C: 4-bit wide, bit wise programmable high drive I/O ports
• Port 6: 2-bit wide, bit wise programmable bi-directional port with optional static (4 kΩ) pull-
• Ports A and B: 4-bit wide, bit wise programmable bi-directional ports with optional port
no
none
500k
yes
no
Timer 0 and the Buzzer
up/-down and programmable interrupt logic
monitor function
0
4
(2)
(Figure 3-3 on page
500k
none
yes
yes
no
1
4
Timer 0
500k
30k
yes
yes
yes
26)
4
4
500k
yes
yes
30k
no
5
4
External
interrupt
500k
yes
yes
yes
4k
6
2
500k
30k
yes
yes
no
7
4
monitor/
coded
500k
reset
Port
30k
yes
yes
yes
(Figure 3-3 on page
A
4
monitor
500k
Port
yes
yes
30k
yes
B
4
4711B–4BMCU–01/05
26)
500k
30k
yes
yes
no
C
4

Related parts for atam510