EM6603 EM Microelectronic, EM6603 Datasheet - Page 14

no-image

EM6603

Manufacturer Part Number
EM6603
Description
Ultra Low Power Multi I/O Microcontroller
Manufacturer
EM Microelectronic
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
EM6603
Quantity:
92
6.7 PortD
The EM6603 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 Pull-Up/Down resistor can be
selected by metal option which are active only when selected as input.
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.
6.8 PortD registers
Table 20.PortD Input/Output register - PortD
Table 21.Ports control register - CPIOB
Figure 9.Port D
Copyright  2002, EM Microelectronic-Marin SA
Bit
3
2
1
0
Bit
3
2
1
0
Name
PD3
PD2
PD1
PD0
Name
-
CIOPD
CIOPC
PA&C
Reset
0
0
0
0
Reset
-
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
14
Description
not used
I/O PortD select
I/O PortC select
Logical AND of IRQ’s from PortA & PortC
Description
PD3 I/O data
PD2 I/O data
PD1 I/O data
PD0 I/O data
www.emmicroelectronic.com
EM6603
03/02 REV. G/439

Related parts for EM6603