| Electronic Components Datasheet Search |
|
PC87332VLJ Datasheet(PDF) 71 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87332VLJ Datasheet(HTML) 71 Page - National Semiconductor (TI) |
|
71 / 98 page ![]() 70 Parallel Port (Continued) In the Extended mode if CTR4 e 1 then this bit is latched low when the ACK signal makes a transition from low to high Reading this bit sets it to a 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 Bit 4 This bit represents the current state of the printer select signal (SLCT) The printer sets this bit high when it is selected This bit follows the state of the SLCT pin Bit 5 This bit represents the current state of the printer paper end signal (PE) The printer sets this bit high when it detects the end of the paper This bit follows the state of the PE pin Bit 6 This bit represents the current state of the printer acknowledge signal (ACK) The printer pulses this signal low after it has received a character and is ready to receive another one This bit follows the state of the ACK pin Bit 7 This bit represents the current state of the printer busy signal (BUSY) The printer sets this bit low when it is busy and cannot accept another character This bit is the inverse of the (BUSYWAIT) pin 74 CONTROL REGISTER (CTR) TLC11930 – 14 This register provides all output signals to control the print- er Except for bit 5 it is a read and write register Bit 0 This bit (STB) directly controls the data strobe sig- nal to the printer via the STB pin This bit is the inverse of the STB pin Bit 1 This bit (AFD) directly controls the automatic feed XT signal to the printer via the AFD pin Setting this bit high causes the printer to automatically feed after each line is printed This bit is the inverse of the AFD pin Bit 2 This bit (INIT) directly controls the signal to initial- ize the printer via the INIT pin Setting this bit to low initializes the printer This bit follows the INIT pin Note This bit must be set to 1 before enabling the EPP or ECP modes via bits 0 or 2 of the PCR register Bit 3 This bit directly controls the select-in (SLIN) signal to the printer via the SLIN pin Setting this bit high selects the printer It is the inverse of the SLIN pin Bit 4 This bit controls the interrupt generated by the ACK signal Its function changes slightly depend- ing on the parallel port mode selected In ECP mode this bit should be set to 0 In the following description IRQx indicates either IRQ5 or IRQ7 (based upon PTR3) Compatible mode when bit 4 e 0 IRQx is floated when bit 4 e 1 IRQx follows ACK transitions Extended mode when bit 4 e 0 IRQx is floated when bit 4 e 1 IRQx becomes active on ACK trail- ing edge EPP mode when bit 4 e 0 IRQx is floated when bit 4 e 1 IRQx is pulsed when ACK is acti- vated or an EPP timeout occurs Bit 5 This bit determines the parallel port direction when bit 7 of PTR is 1 The default condition results in the parallel port being in the output mode This is a ReadWrite bit in EPP mode In SPP mode it is a write only bit a read from it will return 1 See Table 7-3 for further details Bits 6 7 Reserved These bits are always 1 Normally when the Control Register is read the bit values are provided by the internal output data latch These bit values can be superseded by the logic level of the STB AFD INIT and SLIN pins if these pins are forced high or low by an external voltage In order to force these pins high or low the corresponding bits should be set to their inactive state (eg AFD e STB e SLIN e 0 INIT e 1) See Table 7-4 TABLE 7-4 Parallel Port Reset States Signal Reset Control State after Reset SLIN MR TRI-STATE INIT MR Zero AFD MR TRI-STATE STB MR TRI-STATE IRQ57 MR TRI-STATE 75 ENHANCED PARALLEL PORT OPERATION EPP mode provides for greater throughput and more com- plexity than the Compatible or Extended modes by support- ing faster transfer times and a mechanism that allows the host to address peripheral device registers directly Faster transfers are achieved by automatically generating the ad- dress and data strobes EPP is compatible with both Com- patible and Extended mode parallel-port devices It consists of eight (0 – 7) single-byte registers (See Table 7-5) 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 278h or 378h but not for a parallel port whose base ad- dress is 3BCh (there are no EPP registers at 3BFh) There are four EPP transfer operations address 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) 71 |
|
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 |