| Electronic Components Datasheet Search |
|
TMP88CS38FG Datasheet(PDF) 45 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP88CS38FG Datasheet(HTML) 45 Page - Toshiba Semiconductor |
|
45 / 226 page ![]() TMP88CS38/CM38A/CP38A 2007-09-12 88CS38-45 When reading an I/O port except programmable I/O ports, whether the pin input data or the output latch contents are read depends on the instructions, as shown below: (1) Instructions that read the output latch contents 1. XCH r, (src) 2. SET/CLR/CPL (src).b 3. SET/CLR/CPL (pp).g 4. LD (src).b, CF 5. LD (pp).b, CF 6. ADD/ADDC/SUB/SUBB/AND/OR/XOR (src), n 7. (src) side of ADD/ADDC/SUB/SUBB/AND/OR/XOR (src), (HL) (2) Instructions that read the pin input data 1. Instructions other than the above (1) 2. (HL) side of ADD/ADDC/SUB/SUBB/AND/OR/XOR (src), (HL) 2.2.1 Port P2 (P20) Port P2 is a 1bit input/output port. It is also used as an external interrupt input, and a STOP mode release signal input. When used as an input port, or a secondary function pin, the output latch should be set to “1”. During reset, the output latch is initialized to “1”. It is recommended that pin P20 should be used as an external interrupt input, a STOP mode release signal input, or an input port. If used as an output port, the interrupt latch is set on the falling edge of the P20 output pulse. When a read instruction for port P2 is executed, bits 7 to 1 in P2 are read in as undefined data. 7 6 5 4 3 2 1 0 P2 (00002H) P20 5 INT STOP (Initial value: **** ***1) Note: *: Don’t care Figure 2.2.2 Port P2 Data input SET/CLR/CPI/others D Q STOP OUTEN Data input Control input Output latch P20 ( 5 INT / STOP ) |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |