| Electronic Components Datasheet Search |
|
PC87322VF Datasheet(PDF) 58 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87322VF Datasheet(HTML) 58 Page - National Semiconductor (TI) |
|
58 / 84 page ![]() 70 Parallel Port (Continued) TABLE 7-4 EPP Registers Name Offset Mode Type Description SPP 0 SPP RW This is the Data EPP Compatible DTR Extended data register A write to it sets the state of the eight data pins on the 25-pin D-shell connector SPP 1 SPP R This status port is Status EPP read only A read STR from it presents the system microprocessor with the real-time status of five pins on the 25-pin D-shell connector and the IRQ SPP 2 SPP RW This control port is Control EPP readwrite A write CTR operation to it sets the state of four pins on the 25-pin D-shell connector and controls both the parallel port interrupt enable and direction EPP 3 EPP RW This port is read Address write A write operation to it initiates an EPP deviceregister selection operation EPP 4 EPP RW This is a readwrite Data port Accesses to it Port 0 initiate device read or write operations with bits 0 – 7 EPP 5 EPP RW This is the second Data EPP data port It is Port 1 only accessed to transfer bits 8 to 15 of a 16-bit read or write to data port 0 EPP 6 EPP RW This is the third EPP Data data port It is only Port 2 accessed to transfer bits 16 to 23 of a 32- bit read or write to data port 0 EPP 7 EPP RW This the fourth EPP Data data port It is only Port 3 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 (and not the PDIR pin) 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 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 TLC11870 – 22 FIGURE 7-1 EPP 17 Address Write EPP 17 Address Read The following procedure reads from the address register 1 The host reads a byte from the EPP address register RD goes low to gate PD0 – 7 into D0 – 7 2 The EPP pulls ASTRB low to signal the peripheral to start sending data 58 |
|
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 |