| поискавой системы для электроныых деталей |
|
TMP86CS44UG датащи(PDF) 59 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP86CS44UG датащи(HTML) 59 Page - Toshiba Semiconductor |
|
59 / 172 page ![]() Page 49 TMP86CS44UG 5.2 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 under software control. Input/output mode is specified by the corresponding bit in the port P1 input/output control register (P1CR). Port P1 is configured as an input if its corresponding P1CR bit is cleared to “0”, and as an output if its corresponding P1CR bit is set to “1”. During reset, the P1CR is initialized to “0” and port P1 is input mode. The P1 output latches are also initialized to “0”. Port P1 is also used as an external interrupt input, a timer/counter input/output, and a divider output. When used as an input port, an external interrupt input or a timer/counter input, the corresponding bit of P1CR is cleared to “0”. When used as an output port, a timer/counter output or divider output, the corresponding bit of P1CR is set to “1” and beforehand the corresponding output latch should be set to “1”. Data can be written into the output latch regard- less of P1CR contents, therefore initial output data should be written into the output latch before setting P1CR. Figure 5-3 Port P1 Note: Ports set to the input mode read the pin states. Ports set to the output mode read the output latch. When input pin and out- put pin exist in port P1 together, the contents of the output latch which is specified as an input mode may be rewritten by executing the bit manipulation instructions. P1DR (0001H) R/W 76 543 21 0 P17 P16 TC2 P15 INT3 P14 PPG P13 DVO P12 INT2 TC1 P11 INT1 P10 PWM3 PDO3 TC3 (Initial value: 0000 0000) P1CR (000DH) 76 543 21 0 (Initial value: 0000 0000) P1CR I/O port for P1 port (specified for each bit) 0: Input mode 1: Output mode R/W Output latch P1CRi input Data output Output latch P1CRi Control output STOP OUTEN Data input Control input P1i Note:i=7 to 0 D Q D Q |
|
ссылки 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 |