| Electronic Components Datasheet Search |
|
PC87322VF Datasheet(PDF) 56 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87322VF Datasheet(HTML) 56 Page - National Semiconductor (TI) |
|
56 / 84 page ![]() 70 Parallel Port 71 INTRODUCTION This parallel interface is designed to provide all of the sig- nals and registers needed to communicate through a stan- dard parallel printer port as found in the IBM PC AT PS2 and Centronics systems The address decoding of the regis- ters utilizing A0 and A1 is shown in Table 7-1 Table 7-3 shows the Reset states of Parallel port registers and pin signals All bits in these registers are located in the same positions and have the same functions as the registers of the systems listed above These registers are shown in Sec- tion 7-2 to Section 7-4 TABLE 7-1 Parallel Interface Register Addresses A1 A0 Address Register Access 0 0 0 Data ReadWrite 0 1 1 Status Read 1 0 2 Control ReadWrite 1 1 3 TRI-STATE Special circuitry provides protection against damage that might be caused when the printer is powered but the PC87322VF is not There are two Standard Parallel Port (SPP) modes of opera- tion (Compatible and Extended see Table 7-2) and two Enhanced Parallel Port (EPP) modes of operation (17 19) In Compatible Mode a write operation causes the data to be presented on pins PD0 – PD7 A read operation in this mode causes the Data Register to present the last data written to it by the CPU TABLE 7-2 SPP Data Register Read and Write Modes PTR7 PDIR CTR5 RD WR Result 0 0 X 1 0 Data Written to PD0 – PD7 0 1 X 1 0 Data Written is Latched 0 0 X 0 1 Data Read from the Output Latch 0 1 X 0 1 Data Read from PD0 – PD7 1 X 0 1 0 Data Written to PD0 – PD7 1 X 1 1 0 Data Written is Latched 1 X 0 0 1 Data Read from the Output Latch 1 X 1 0 1 Data Read from PD0 – PD7 In the Extended Mode a write operation to the data register causes the data to be latched If the Data Port Direction bit (CTR5) is 0 the latched data is presented to the pins if it is 1 the data is only latched In the Extended Mode when Data Port Direction bit (CTR5) is 0 a read operation to this regis- ter allows the CPU to read the last data it wrote to the port In the Extended Mode with the Data Port Direction bit set to 1 (read) a read operation to this register causes the port to present the data on pins PD0 – PD7 Port Function PTR7 Compatible 0 Extended 1 72 DATA REGISTER (DTR) TLC11870 – 19 This is a bidirectional data port that transfers 8-bit data The direction is determined by the logic state of PDIR pins the PTR7 and the CTR5 bits When PTR7 is high the CTR5 bit will determine the data direction in conjunction with the Read and Write strobes When PTR7 bit is low the PDIR pin will also be sensed during reset and it will determine the port direction See PTR7 bit CTR5 bit POE and PDIR pins for further information 73 STATUS REGISTER (STR) TLC11870 – 20 This register provides status for the signals listed below It is a read only register Writing to it is an invalid operation that has no effect Bit 0 When in EPP mode this is the timeout status bit When this bit is 0 no timeout When this bit is 1 timeout occurred on EPP cycle (min 10 msec) It is cleared to 0 after STR is read ie consecutive reads (after the first read) always return 0 It is also cleared to 0 when EPP is enabled (bit 0 of PCR is changed from 0 to 1) When not in EPP mode this bit is 1 Bit 1 Reserved this bit is always 1 Bit 2 In the compatible mode (bit 7 of PTR is 0) or in EPP mode (bit 4 of PCR is 0) this bit is always one In the Extended Mode (bit 7 of PTR is 1) it is the IRQ STATUS bit In the Extended mode if bit 4 of CTR is 1 or in EPP mode if bit 4 of PCR is 1 this bit is latched low when the ACK signal makes a transition from low to high Reading this bit sets it to 1 Bit 3 This bit represents the current state of the printer error signal (ERROR) The printer sets this bit low when there is a printer error This bit follows the state of the ERR pin 56 |
|
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 |