EM6607 EM Microelectronic, EM6607 Datasheet - Page 18

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
7.4
The EM6607 has one all purpose I/O port similar to PortC but without interrupt capability. The PortD register is used to read
input data when an input and to write output data for output. The input line can be pulled Up/Down (metal option) when the
port is used as input. Input mode is set by writing 0 to the I/O control bit CIOPD in register CPIOB, and the terminal becomes
high impedance. On each terminal controlled Pull-Up/Down resistor can be selected by metal option which are active only
when selected as input. Special case is when we want to use internal Strong pull-up resistor also when PortC terminal is
declared as N-channel open drain output and internal pull-up resistor is used to pull up the output (not-controlled pull-up).
This is a special option “sod” = strong pull-up for Open drain- active all the time (when terminal is input or output).
Output mode is set by writing 1 to the control bit CIOPD. Consequently, the terminal follows the status of the bits in the
PortD register. If Serial Write Buffer function is enabled PD0 and PD1 terminals of PortD output serial clock and serial data
respectively. For details see 11.0 Serial Write Buffer.
7.4.1
Table 23.
Table 24.
Figure 10.
If OEDsleepRes bit in Option2 register is set to “1” (Output Hi-Z in SLEEP mode) the active Output will go tri-state when the
circuit goes into SLEEP mode. In the case of OEDsleepRes at “0”, output stay active also in the SLEEP mode.
Copyright © 2005, EM Microelectronic-Marin SA
Bit
3
2
1
0
Bit
3
2
1
0
PortD
PortD registers
PD[3:0]
PortD Input/Output register - PortD
Ports control register - CPIOB
Port D
R
Name
PD3
PD2
PD1
PD0
Name
-
CIOPD
CIOPC
PA&C
0
1
option
option
Mask
Mask
Vdd
Reset
0
0
0
0
Reset
-
0
0
0
R/W
R/W
R/W
R/W
R/W
2Y
2N
R/W
R/W
R/W
R/W
R/W
option
option
Mask
Mask
Description
not used
I/O PortD select
I/O PortC select
Logical AND of IRQ’s from PortA & PortC
PG
NG
Description
PD3 I/O data
PD2 I/O data
PD1 I/O data
PD0 I/O data
OE
D
3Y
3N
18
option
option
Mask
Mask
PortD RD
CIOPD
Port D
OEBsleepRes
Sleep
www.emmicroelectronic.com
EM6607

Related parts for EM6607