| 전자부품 데이터시트 검색엔진 |
|
UPSD323X 데이터시트(PDF) 46 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UPSD323X 데이터시트(HTML) 46 Page - STMicroelectronics |
|
46 / 176 page ![]() µPSD323X 46/176 I/O PORTS (MCU MODULE) The MCU Module has five ports: Port0, Port1, Port2, Port3 and Port 4. (Refer to the PSD Module section on I/O ports A,B,C and D). Ports P0 and P2 are dedicated for the external address and data bus and is not available in the 80 pin package de- vices. Port1 - Port3 are the same as in the standard 8032 micro-controllers, with the exception of the addi- tional special peripheral functions. All ports are bi- directional. Pins of which the alternative function is not used may be used as normal bi-directional I/O. The use of Port1- Port4 pins as alternative func- tions are carried out automatically by the µPSD323X Devices provided the associated SFR Bit is set HIGH. The following SFR registers (Tables 29, 30, and 31) are used to control the mapping of alternate functions onto the I/O port bits. Port 1 alternate functions are controlled using the P1SFS register, except for Timer 2 and the 2nd UART which are enabled by their configuration registers. P1.0 to P1.3 are default to GPIO after reset. Port 3 pins 6 and 7 have been modified from the standard 8032. These pins that were used for READ and WRITE control signals are now GPIO or I2C bus pins. The READ and WRITE pins are assigned to dedicated pins. Port 3 and Port 4 alternate functions are controlled using the P3SFS and P4SFS Special Function Se- lection registers. After a reset, the I/O pins default to GPIO. The alternate function is enabled if the corresponding bit in the PXSFS register is set to ’1.’ Table 28. I/O Port Functions Table 29. P1SFS (91H) Table 30. P3SFS (93H) Table 31. P4SFS (94H) Port Name Main Function Alternate Port 1 GPIO Timer 2 - Bits 0,1 2nd UART - Bits 2,3 ADC - Bits 4..7 Port 3 GPIO UART - Bits 0,1 Interrupt - Bits 2,3 Timers - Bits 4,5 I2C - Bits 6,7 Port 4 GPIO DDC - Bits 0..2 PWM - Bits 3..7 USB +/- USB +/- Only 76543210 0=Port 1.7 1=ACH3 0=Port 1.6 1=ACH2 0=Port 1.5 1=ACH1 0=Port 1.4 1=ACH0 Bits Reserved Bits Reserved 76543210 0 = Port 1.7 1 = SCL from I2Cunit 0 = Port 1.6 1 = SDA from I2C unit Bits are reserved. 76543210 0=Port 4.7 1=PWM 4 0=Port 4.6 1=PWM 3 0=Port 4.5 1=PWM 2 0=Port 4.4 1=PWM 1 0=Port 4.3 1=PWM 0 0=Port 4.2 1=VSYNC 0=Port 4.1 1=DDC - SCL 0=Port 4.0 1=DDC - SDA |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |