ST92185B STMicroelectronics, ST92185B Datasheet - Page 67
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
ST92185B
Manufacturer Part Number
ST92185B
Description
16k/24k/32k Rom Hcmos Mcu With On-screen-display
Manufacturer
STMicroelectronics
Datasheet
1.ST92185B.pdf
(178 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ST92185BJ2B1/0BE
Manufacturer:
ST
Quantity:
122
Company:
Part Number:
ST92185BN4B1/PBI
Manufacturer:
ST
Quantity:
35
6 I/O PORTS
6.1 INTRODUCTION
ST9 devices feature flexible individually program-
mable multifunctional input/output lines. Refer to
the Pin Description Chapter for specific pin alloca-
tions. These lines, which are logically grouped as
8-bit ports, can be individually programmed to pro-
vide digital input/output and analog input, or to
connect input/output signals to the on-chip periph-
erals as alternate pin functions. All ports can be in-
dividually configured as an input, bi-directional,
output or alternate function. In addition, pull-ups
can be turned off for open-drain operation, and
weak pull-ups can be turned on in their place, to
avoid the need for off-chip resistive pull-ups. Ports
configured as open drain must never have voltage
on the port pin exceeding V
cal Characteristics section). Depending on the
specific port, input buffers are software selectable
to be TTL or CMOS compatible, however on Sch-
mitt trigger ports, no selection is possible.
Figure 36. I/O Register Map
E5h
E4h
E3h
E2h
E1h
E0h
GROUP E
Registers
System
P5DR
P4DR
P3DR
P2DR
P1DR
P0DR
DD
R229
R228
R227
R226
R225
R224
(refer to the Electri-
FEh
FDh
FCh
FBh
FAh
FFh
F9h
F8h
F7h
F6h
F5h
F4h
F3h
F2h
F1h
F0h
GROUP F
Reserved
Reserved
Reserved
Reserved
PAGE 2
P3C2
P3C1
P3C0
P2C2
P2C1
P2C0
P1C2
P1C1
P1C0
P0C2
P0C1
P0C0
6.2 SPECIFIC PORT CONFIGURATIONS
Refer to the Pin Description chapter for a list of the
specific port styles and reset values.
6.3 PORT CONTROL REGISTERS
Each port is associated with a Data register
(PxDR) and three Control registers (PxC0, PxC1,
PxC2). These define the port configuration and al-
low dynamic configuration changes during pro-
gram execution. Port Data and Control registers
are mapped into the Register File as shown in
ure
just like any other general purpose register. There
are no special instructions for port manipulation:
any instruction that can address a register, can ad-
dress the ports. Data can be directly accessed in
the port register, without passing through other
memory or “accumulator” locations.
1. Port Data and Control registers are treated
GROUP F
Reserved
Reserved
PAGE 3
P7DR
P6DR
P7C2
P7C1
P7C0
P6C2
P6C1
P6C0
P5C2
P5C1
P5C0
P4C2
P4C1
P4C0
ST92185B - I/O PORTS
GROUP F
PAGE 43
Reserved
P9DR
P8DR
P9C2
P9C1
P9C0
P8C2
P8C1
P8C0
R255
R254
R253
R252
R251
R250
R249
R248
R247
R246
R245
R244
R243
R242
R241
R240
67/178
Fig-