| Electronic Components Datasheet Search |
|
PC87332 Datasheet(PDF) 72 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87332 Datasheet(HTML) 72 Page - National Semiconductor (TI) |
|
72 / 98 page ![]() 70 Parallel Port (Continued) TABLE 7-5 EPP Register Addresses A2 A1 A0 Address Register Access Description 0 0 0 0 Data (DTR) RW A write to this register sets the state of the eight data pins on the 25-pin D-shell connector 0 0 1 1 Status (STR) R A read from this register presents the system micro-processor with the real- time status of five pins on the 25-pin D-shell connector and the IRQ 0 1 0 2 Control (CTR) RW A write operation to this register sets the state of four pins on the 25-pin D-shell connector and controls both the parallel port interrupt enable and direction 0 1 1 3 Address RW A write operation to this register initiates an EPP deviceregister selection operation 1 0 0 4 Data Port 0 RW Accesses to this port initiate device read or write operations with bits 0 – 7 1 0 1 5 Data Port 1 RW This port is only accessed to transfer bits 8 to 15 of a 16-bit read or write to data port 0 1 1 0 6 Data Port 2 RW This port is only accessed to transfer bits 16 to 23 of a 32-bit read or write to data port 0 1 1 1 7 Data Port 3 RW This port is only accessed to transfer bits 24 to 31 of a 32-bit read or write to data port 0 The software must write zero to bits 0 1 and 3 of the CTR register before accessing the EPP registers since the pins controlled by these bits are controlled by hardware during EPP access Once these bits are written with zero the soft- ware may issue multiple EPP access cycles The software must set bit 7 of the PTR register to 1 if bit 5 of CTR is to control direction To meet the EPP 19 specifications the software should change direction (bit 5 of CTR) only when bit 7 of STR is 1 (ie change direction at EPP Idle Phase as defined in the IEEE 1284 document) When bit 7 of PTR is 0 EPP cycles to the external device are generated by invoking read or write cycles to the EPP When bit 7 of PTR is 1 1 Reading an EPP register during forward direction (bit 5 of CTR is 0) is allowed only in EPP 17 It returns the regis- ter latched value (not the PD0 – 7 pins’ value) and does not generate an EPP read cycle 2 Writing to an EPP register during backward direction (bit 5 of CTR is 1) updates the register data and does not generate an EPP write cycle EPP 17 Address Write The following procedure selects a peripheral device or reg- ister See also Figure 7-1 1 The host writes a byte to the EPP address register WR goes low to latch D0 – 7 into the address register The latch drives the address register onto PD0 – 7 and the EPP pulls WRITE low 2 The EPP pulls ASTRB low to indicate that data has been sent 3 If WAIT is low during the host write cycle IOCHRDY goes low When WAIT goes high the EPP pulls IOCHRDY high 4 When IOCHRDY goes high it causes WR to go high If WAIT is high during the host write cycle then the EPP does not pull IOCHRDY to low 5 When WR goes high it causes the EPP to pull WRITE and ASTRB to high Only when WRITE and ASTRB are high can the EPP change PD0 – 7 TLC11930 – 15 FIGURE 7-1 EPP 17 Address Write 72 |
|
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 |