atam510 ATMEL Corporation, atam510 Datasheet - Page 27
atam510
Manufacturer Part Number
atam510
Description
Marc4 4-bit Mtp Universal Microcontroller
Manufacturer
ATMEL Corporation
Datasheet
1.ATAM510.pdf
(72 pages)
- Current page: 27 of 72
- Download datasheet (2Mb)
3.2.5
Figure 3-4.
3.2.5.1
4711B–4BMCU–01/05
BPx3
BPx2
BPx1
BPx0
Bi-directional Port A and Port B with Port Monitor Function
Connected to Ports A and B (x = A or B)
Port Monitor Interrupt Priority Register (PxIPR)
Port Monitor Module of Port A and Port B
In addition to the standard I/O functions described in section “Bi-directional Port 5, Port 7 and
Port C”, both Port A (BPA3 - BPA0) and Port B (BPB3 - BPB0) are equipped with Schmitt trigger
inputs and a port monitor module. This module is connected across all four port pins (see
3-4) and is intended for monitoring those pins selected by control bits Enx3 - Enx0 and generat-
ing an interrupt when the first pin leaves a preselected logical default idle state. This state is
defined by control bit ITRx. Transitions on other pins will only cause an interrupt if the other pins
have first returned to the idle state. This, for example is useful for interrupt initiated port scanning
without the power consuming task of continuously polling for port activity.
Using the Port Interrupt Control Register (PxICR), pins can be individually selected. A non-
selected pin cannot generate an interrupt. The Port Interrupt Priority Register (PxIPR) allows
masking of each interrupt, definition of the interrupt edge and programming of the interrupt prior-
ity levels. When programming or reprogramming either of the port monitor control registers, any
previously generated interrupt on that port which has not yet been acknowledged by the CPU or
an interrupt generated by the reprogramming itself is automatically cleared. Port A can also be
used for a mask programmable coded reset. For more information see section “Hardware
Reset”.
The Port Interrupt Priority Registers PAIPR and PBIPR are I/O mapped to the primary address
registers of the Port Monitor Module addresses '2'h and '3'h respectively. The Port Interrupt Con-
trol Registers PAICR and PBICR are mapped to the corresponding auxiliary registers.
x = 'A' (Port A) or 'B' (Port B)
IMx
ITRx
PRx2..1
PxICR
PxIPR
ENx3
Interrupt Mask
Interrupt Transition
Interrupt Priority code
ENx2
Bit 3
IMx
ENx1
ENx0
ITRx
Bit 2
IMAx
PRx2
Bit 1
ITRx
PRx1
Bit 0
PRx1
(Port A) Primary register address: '2'hex
(Port B) Primary register address: '3'hex
PRx2
Decoder
2:4
PxIPR
Reset value: 1111b
PRx1 PRx2
0
0
1
1
INT5
INT3
INT7
INT1
ATAM510
1
0
1
0
INT7
INT5
INT3
INT1
Figure
27
Related parts for atam510
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
U6046BREAR WINDOW HEATING TIMER / LONG-TERM TIMER
Manufacturer:
ATMEL Corporation
Datasheet: