參數(shù)資料
型號: CD1284
廠商: Intel Corp.
英文描述: IEEE 1284-Compatible Parallel Interface Controller with Two High-Speed Asynchronous Serial Ports
中文描述: 符合IEEE 1284兼容并行接口控制器兩個高速異步串行端口
文件頁數(shù): 101/176頁
文件大小: 2255K
代理商: CD1284
IEEE 1284-Compatible Parallel Interface Controller
CD1284
Datasheet
101
The routine below shows one way of implementing the poll-mode service activation using the first
method.
service_par( )
{
char
save_pir, save_car, livr_val;
save_pir = inportb(PIR);
value */
save_car = inportb(CAR);
outportb(CAR, save_pir);
*/
livr_val = inportb(LIVR) & 0x07;
switch (livr_val) {
case 4:
request is active */
service_par_chan();
break;
case 5:
active */
service_pipeline();
break;
case 6:
service_par_chan();
service_pipeline();
break;
default:
break;
}
outportb(PIR, save_pir & 0x00);
clearing bit 7 */
outportb(CAR, save_car);
return(0);
}
/* retrieve and save parallel interrupt
/* save CAR for restore */
/* switch CD1284 to service ack. context
/* just the parallel channel state-machine
/* just the data path pipeline request is
/* both requests are active */
/* terminate service ack. sequence by
/* restore original CAR*/
It is not necessary for the CPU on the parallel channel to actually copy the contents of the PIR into
the CAR. Since it is known that the parallel channel is always channel 0, the CPU may switch the
context by simply writing a x
00 into the CAR after first saving the previous state of the CAR, if
desired. At the end of the service, the interrupt context can be returned by toggling the IntEn bit in
the PFCR within the data pipeline. Hardware in that block of logic detects the toggle operation and
clears the PPireq bit itself. The CPU can restore the CAR, if desired, and exit the routine. Just as it
would in the other poll-mode case, once the MPU has detected the clearing of the parallel interrupt
source bits (PPort and Pipeline) and the PPIreq bit. It cleans up the PIR and LIVR.
service_par( )
{
char
save_car, livr_val;
save_car = inportb(CAR);
outportb(CAR, 0x00);
/* save CAR for restore (if desired) */
/* switch CD1284 to service ack. context
*/
livr_val = inportb(LIVR) & 0x07;
switch (livr_val) {
case 4:
request is active */
service_par_chan();
break;
case 5:
active */
service_pipeline();
break;
case 6:
service_par_chan();
service_pipeline();
break;
default:
/* get the vector (Not from the PIVR) */
/* just the parallel channel state-machine
/* just the data path pipeline request is
/* both requests are active */
相關(guān)PDF資料
PDF描述
CD13002 NPN SILICON PLANAR EPITAXIAL, HIGH VOLTAGE FAST SWITCHING POWER TRANSISTOR
CD14538 CMOS DUAL PRECISION MONOSTABLE MULTIVIBRATOR
CD14538BMS CMOS Dual Precision Monostable Multivibrator
CD15B-15MB CD105B
CD105B CD105B
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
CD-12AFFM-QL8D01 功能描述:MIDDLE 制造商:amphenol ltw 系列:* 零件狀態(tài):在售 標(biāo)準(zhǔn)包裝:10
CD-12AFFM-QR8D01 功能描述:MIDDLE 制造商:amphenol ltw 系列:* 零件狀態(tài):在售 標(biāo)準(zhǔn)包裝:10
CD-12AMMM-QL8D01 功能描述:MIDDLE 制造商:amphenol ltw 系列:* 零件狀態(tài):在售 標(biāo)準(zhǔn)包裝:10
CD-12BFFA-LL7001 功能描述:MIDDLE 制造商:amphenol ltw 系列:* 零件狀態(tài):在售 標(biāo)準(zhǔn)包裝:10
CD-12BFFA-QL8SP0 功能描述:CONN PLUG FMALE 12POS CRIMP 制造商:amphenol ltw 系列:X-Lok 包裝:散裝 零件狀態(tài):在售 連接器類型:插頭,母型插口 針腳數(shù):12(數(shù)據(jù)) 外殼尺寸 - 插件:C 外殼尺寸,MIL:- 安裝類型:自由懸掛 端接:壓接 緊固類型:推挽式 朝向:帶標(biāo)記 侵入防護(hù):IP68 - 防塵,防水 外殼材料,鍍層:聚酰胺(PA),尼龍,玻璃纖維增強(qiáng)型 觸頭鍍層:金 特性:后殼,應(yīng)力消除 電壓 - 額定:- 額定電流:5A 觸頭鍍層厚度:- 工作溫度:-20°C ~ 80°C 標(biāo)準(zhǔn)包裝:1