| 数据搜索系统,热门电子元器件搜索 |
|
TMP86FS49AIUG 数据表(PDF) 66 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP86FS49AIUG 数据表(HTML) 66 Page - Toshiba Semiconductor |
|
66 / 296 page ![]() Page 50 5. I/O Ports 5.1 Port P0 (P07 to P00) TMP86FS49AIUG 5.1 Port P0 (P07 to P00) Port P0 is an 8-bit input/output port. Port P0 is also used as an external interrupt input, Serial PROM mode control input, a serial interface input/output and an UART input/output. When used as an input port, an external interrupt input, a serial interface input/output and an UART input/output, the corresponding output latch (P0DR) should be set to "1". During reset, the P0DR is initialized to "1", and the P0OUTCR is initialized to "0". It can be selected whether output circuit of P0 port is a C-MOS output or a sink open drain individually, by setting P0OUTCR. When a corresponding bit of P0OUTCR is "0". the output circuit is selected to a sink open drain and when a corresponding bit of P0OUTCR is "1", the output circuit is selected to a C-MOS output. When used as an input port, an external interrupt input, a serial interface input and an UART input, the corre- sponding output control (P0OUTCR) should be set to "0" after P0DR is set to "1". P0 port output latch (P0DR) and P0 port terminal input (P0PRD) are located on their respective address. When read the output latch data, the P0DR should be read. When read the terminal input data, the P0PRD register should be read. Note: i = 7 to 0 Figure 5-2 Port 0 and P0OUTCR Table 5-1 Register Programming for Multi-function Ports (P07 to P00) Function Programmed Value P0DR P0OUTCR Port input, external input, serial interface input or UART input, Serial PROM mode cotrol input “1” “0” Port “0” output “0” Programming for each applica- tions Port “1” output, serial interface output or UART output “1” Data output (P0DR) Control output STOP OUTEN P0OUTCRi DQ P0i P0OUTCRi input Data input (P0PRD) Output latch read (P0DR) Control input DQ Output latch |
|
链接网址 |
| 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 |