| поискавой системы для электроныых деталей |
|
TMP86FS23UG датащи(PDF) 64 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP86FS23UG датащи(HTML) 64 Page - Toshiba Semiconductor |
|
64 / 252 page ![]() Page 52 5. I/O Ports 5.1 Port P1 (P17 to P10) TMP86FS23UG 5.1 Port P1 (P17 to P10) Port P1 is an 8-bit input/output port which can be configured as an input or an output in one-bit unit. Port P1 is also used as a UART input/output, an external interrupt input, a serial PROM mode control input and segment output of LCD. Input/output mode is specified by the P1 control register (P1CR). When used as an input port or a secondary function input pins (UART input or external interrupt input), the corre- sponding bit of P1CR and P1LCR should be cleared to “0”. When used as an output port, the corresponding bit of P1CR should be set to “1”, and the respective P1LCR bit should be cleared to “0”. When used as an UART output pin, the corresponding bit of P1CR and the output latch (P1DR) should be set to “1”, and the respective P1LCR bit should be cleared to “0”. When used as a segment pins of LCD, the respective bit of P1LCR should be set to “1”. During reset, the P1DR, P1CR and P1LCR are initialized to “0”. When the bit of P1CR and P1LCR is “0”, the corresponding bit data by read instruction is a terminal input data. When the bit of P1CR is “0” and that of P1LCR is “1”, the corresponding bit data by read instruction is always “0”. When the bit of P1CR is “1”, the corresponding bit data by read instruction is the value of P1DR. Note: Asterisk (*) indicates “1” or “0” either of which can be selected. Table 5-1 Register Programming for Multi-function Ports Function Programmed Value P1DR P1CR P1LCR Port input, UART input, and external interrupt input *“0” “0” Port “0” output “0” “1” “0” Port “1” output and UART output “1” “1” “0” LCD segment output * * “1” Table 5-2 Values Read from P1DR and Register Programming Conditions Values Read from P1DR P1CR P1LCR “0” “0” Terminal input data “0” “1” “0” “1” “0” Output latch contents “1” |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |