参数资料
型号: ZPSD813F3V-20J
元件分类: 微控制器/微处理器
英文描述: 1M X 1 FLASH, 27 I/O, PIA-GENERAL PURPOSE, PQCC52
封装: PLASTIC, LDCC-52
文件页数: 95/132页
文件大小: 513K
代理商: ZPSD813F3V-20J
Preliminary
PSD813F Family
61
The
PSD813F
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 27 and 29 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.
Direction Register Bit
Port Pin Mode
0
Input
1
Output
Table 24. Port Pin Direction Control,
Output Enable P.T. Not Defined
Direction Register Bit
Output Enable P.T.
Port Pin Mode
0
Input
0
1
Output
1
0
Output
1
Output
Table 25. Port Pin Direction Control, Output Enable P.T. Defined
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
000
0
1
Table 26. Port Direction Assignment Example
相关PDF资料
PDF描述
ZDVG10A 7 SEG NUMERIC DISPLAY, GREEN, 10.16 mm
ZMG75W SINGLE COLOR LED, GREEN, 2.3 mm
ZMGUY62M-01 DUAL COLOR LED
Z505 INTERCONNECTION DEVICE
Z410 INTERCONNECTION DEVICE
相关代理商/技术参数
参数描述
ZPSD813F3V-A-15J 制造商:WSI 功能描述:
ZPSD813F4-12JI 制造商:WSI 功能描述:
ZPSD813F4-15J 制造商:WSI 功能描述: 制造商:STMicroelectronics 功能描述:microcontroller peripheral devices 制造商:STMicroelectronics 功能描述:Flash in-system programmable microcontroller peripheral device
ZPSD813F4-90J 制造商:WSI 功能描述:
ZPSD813F5-15J 制造商:WSI 功能描述: