| Electronic Components Datasheet Search |
|
PC87306 Datasheet(PDF) 72 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87306 Datasheet(HTML) 72 Page - National Semiconductor (TI) |
|
72 / 110 page ![]() 80 Parallel Port (Continued) TABLE 8-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 microprocessor 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 port 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 port 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 There are two EPP modes EPP rev 17 is supported when bit 0 of PCR is 1 and bit 1 of PCR is 0 EPP rev 19 (IEEE 1284) is supported when bit 0 of PCR is 1 and bit 1 of PCR is 1 EPP is supported for a parallel port whose base address is 8-bytes aligned (A0 1 2 e 0 0 0) Otherwise unpredictable results occur There are four EPP transfer operations ad- dress write address read data write and data read An EPP transfer operation is composed of a host read or write cycle (from or to an EPP register) and an EPP read or write cycle (from a peripheral device to an EPP register or from an EPP register to a peripheral device) 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 When EPP is enabled the software should writea1tobit5of CTR To meet the EPP 19 specifications the software should write to DTR only when bit 7 of STR is 1 EPP 17 Address Write The following procedure selects a peripheral device or reg- ister See also Figure 8-1 1 The host writes a byte to the EPP address register WR goes low to latch D0 – D7 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 TLC12379 – 42 FIGURE 8-1 EPP 17 Address Write EPP 17 Address Read The following procedure reads from the address register See also Figure 8-2 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 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 |