PSD813F1 STMICROELECTRONICS [STMicroelectronics], PSD813F1 Datasheet - Page 62

no-image

PSD813F1

Manufacturer Part Number
PSD813F1
Description
Flash In-System Programmable ISP Peripherals For 8-bit MCUs
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PSD813F1-15J
Manufacturer:
ST
0
Part Number:
PSD813F1-70J
Manufacturer:
ST
0
Part Number:
PSD813F1-90J
Manufacturer:
ST
0
Part Number:
PSD813F1-90U
Manufacturer:
ST
0
Part Number:
PSD813F1-90UI
Manufacturer:
ST
0
Part Number:
PSD813F1-A-15J
Manufacturer:
MAXIM
Quantity:
2 500
Part Number:
PSD813F1-A-15JI
0
58
PSD813F1-A
The
PSD813F1
Functional
Blocks
(cont.)
9.4.3.1 Control Register
Any bit set to ‘0’ in the Control Register sets the corresponding Port pin to MCU I/O Mode,
and a ‘1’ sets it to Address Out Mode. The default mode is MCU I/O. Only Ports A and B
have an associated Control Register.
9.4.3.2 Direction Register
The Direction Register, in conjunction with the output enable (except for Port D), controls
the direction of data flow in the I/O Ports. Any bit set to ‘1’ in the Direction Register will
cause the corresponding pin to be an output, and any bit set to ‘0’ will cause it to be an
input. The default mode for all port pins is input.
Figures 26 and 28 show the Port Architecture diagrams for Ports A/B and C, respectively.
The direction of data flow for Ports A, B, and C are controlled not only by the direction
register, but also by the output enable product term from the PLD AND array. If the output
enable product term is not active, the Direction Register has sole control of a given pin’s
direction.
An example of a configuration for a port with the three least significant bits set to output and
the remainder set to input is shown in Table 26. Since Port D only contains three pins, the
Direction Register for Port D has only the three least significant bits active.
Table 25. Port Pin Direction Control, Output Enable P.T. Defined
Table 26. Port Direction Assignment Example
Table 24. Port Pin Direction Control,
Direction Register Bit
Direction Register Bit
Bit 7
0
Output Enable P.T. Not Defined
0
1
0
0
1
1
Bit 6
0
Bit 5
0
Output Enable P.T.
Port Pin Mode
Output
Input
Bit 4
0
1
0
1
0
Bit 3
0
Port Pin Mode
Bit 2
1
Output
Output
Output
Input
Bit 1
1
Preliminary
Bit 0
1

Related parts for PSD813F1