EM6607 EM Microelectronic, EM6607 Datasheet - Page 14

no-image

EM6607

Manufacturer Part Number
EM6607
Description
Ultra-low power microcontroller
Manufacturer
EM Microelectronic
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
EM6607TP16B
Quantity:
20 000
Part Number:
EM6607TP16B
Manufacturer:
NUVOTON
Quantity:
1 200
Figure 7.
Additionally, PA3 can also be used as the input terminal for the event counter.
The input port PA(0:3) has also individually selectable interrupts. Each port has its own interrupt mask bit in the MPortA
register. When an interrupt occurs, reading of the IRQpA and the IntRq registers allows identifying the source of the
interrupt. The IRQpA register is automatically cleared by reading the register or by a RESET,. Reading IRQpA register also
clears the INTPA flag in IntRq register. At initial RESET the MPortA is set to 0, thus disabling any input interrupts.
See paragraph 9 for further details about the interrupt controller.
7.1.1
Table 13.
Table 14.
Table 15.
Copyright © 2005, EM Microelectronic-Marin SA
Debounced PA0 is connected to CPU TestVar1
Debounced PA1 is connected to CPU TestVar2
Debounced PA2 is connected to CPU TestVar3
Bit
3
2
1
0
Bit
3
2
1
0
Bit
3
2
1
0
PortA registers
PA[3:0]
PortA input status register - PortA
PortA Interrupt request register - IRQpA
PortA interrupt mask register - MportA
R
Name
PA3
PA2
PA1
PA0
Name
IRQpa3
IRQpa2
IRQpa1
IRQpa0
Name
MPA3
MPA2
MPA1
MPA0
Port A
1
0
option
option
Mask
Mask
Vdd
Reset
-
-
-
-
Reset
0
0
0
0
Reset
0
0
0
0
Debouncer
R/W
R
R
R
R
R/W
R
R
R
R
R/W
R/W
R/W
R/W
R/W
DebCK
debPAN
1
0
Description
PA3 input status
PA2 input status
PA1 input status
PA0 input status
Description
input PA3 interrupt request flag
input PA2 interrupt request flag
input PA1 interrupt request flag
input PA0 interrupt request flag
Description
interrupt mask for input PA3
interrupt mask for input PA2
interrupt mask for input PA1
interrupt mask for input PA0
14
IRQedgeR
1
0
PortA RD
Interrupt
Request
Testvar
IRQpA
CPU
www.emmicroelectronic.com
EM6607

Related parts for EM6607