поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

SCD1283 датащи(PDF) 49 Page - Intel Corporation

номер детали SCD1283
подробное описание детали  IEEE 1284-Compatible Parallel Interface
PDF  94 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  INTEL [Intel Corporation]
домашняя страница  http://www.intel.com
Logo INTEL - Intel Corporation

SCD1283 датащи(HTML) 49 Page - Intel Corporation

Back Button SCD1283 Datasheet HTML 45Page - Intel Corporation SCD1283 Datasheet HTML 46Page - Intel Corporation SCD1283 Datasheet HTML 47Page - Intel Corporation SCD1283 Datasheet HTML 48Page - Intel Corporation SCD1283 Datasheet HTML 49Page - Intel Corporation SCD1283 Datasheet HTML 50Page - Intel Corporation SCD1283 Datasheet HTML 51Page - Intel Corporation SCD1283 Datasheet HTML 52Page - Intel Corporation SCD1283 Datasheet HTML 53Page - Intel Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 49 / 94 page
background image
IEEE 1284-Compatible Parallel Interface — CD1283
Datasheet
49
The following section of programming code shows a typical initialization sequence preparing the
parallel channel for Compatibility mode data reception and enabling negotiation into all modes,
except EPP. This procedure can also be used as part of a diagnostic test suite. The device will
complete internal initialization within 500
µsec. Therefore, a timer (software or hardware) can be
used to detect that the operation does not complete within this time and that the device may not be
functional.
/* Initialization of the parallel channel consists of setting the SPR, selecting
modes that will be supported during negotiation, stale data timeout value,
initalizing the FIFO, the source for interrupts that will be accepted and other
operational functions. */
par_init()
{
/* First, issue chip reset command */
outportb(GFRCR, 0x00);
/* Clear the GFRCR */
outportb(AER, 0x02);
/* AER must equal 02h or o3h to access RCR*/
while (inportb(RCR) != 0x00)
;
/* Wait for RCR to clear */
outportb(RCR, 0x81);
while (inportb(GFRCR) != 0x00);/* Wait for GFRCR to be cleaared */
while (inportb(GFRCR) != 0x25);/* Wait for GFRCR to be set */
/* Start by initializing the parallel channel */
outportb(AER, 0x00);
/* Set the Access Enable Register */
outportb(SPR, 0x0d);
/* Assume 25MHz clock, set short pulse value */
outportb(NER, 0x4f);
/* Support all modes except EPP */
outportb(OVR, 0x18);
/* Start in Compatibility mode, set status
signals: */
/*
PError = 0 */
/* SELCT = 1 */
/* nFault = 1 */
outportb(PCIER, 0x37);
/* Enable all interrupts except EPP Address
Write */
outportb(PCR, 0x60);
/* Enable 1284 negotiations and transfers */
/* Next, set up the pipeline control registers */
outportb(LIVR, 0x00);
/* Initialize the interrupt vector to 0 */
outportb(PFCR, 0xd8);
/* Enable pipeline DMA, set the direction to
input, */
/* enable interrupts (but not error ints) and
reset*/
/* the FIFO. At reset, it is assumed that the
starting */
/* direction will be input. */
outportb(PFCR, 0x58);
/* Remove Reset */
outportb(PFTR, 0x20);
/* Set the DMA threshold for receive (burst =
32) */
outportb(SDTPR, 0x64);
/* Set the stale data timeout period to 10ms */
outportb(PACR, 0x02);
/* Set asynchronous DMA mode */
}
6.2.2
Service Acknowledge Handling
Service request and acknowledge processing, as well as DMA request and acknowledge
processing, is performed by the internal MPU. It is important to take the behavior of the MPU into
account if interrupts are used. There are two different variations where service requests can be
serviced. One variation uses the SVCACKP*, the other does not. If the SVCACKP* signal is
activated through an input instruction then the device will return the value of the LIVR on the data
bus. This can be used as a vector to the service routine or used in a switch instruction to jump to the
correct routine.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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