PEX/PIO/PISO-DA Series Card
Analog Output Boards
User Manual/ Ver. 3.1/ Oct. 2013/ PMH-0010-31/ Page: 65
For example:
WORD pio_da16_c0(char cConfig, char cLow, char cHigh)
/*COUNTER_0*/
{
outportb(wBase+0xcc,cConfig);
outportb(wBase+0xc0,cLow);
outportb(wBase+0xc0,cHigh);
return(NoError);
}
WORD pio_da16_c1(char cConfig, char cLow, char cHigh)
/*COUNTER_1*/
{
outportb(wBase+0xcc,cConfig);
outportb(wBase+0xc4,cLow);
outportb(wBase+0xc4,cHigh);
return(NoError);
}
WORD pio_da16_c2(char cConfig, char cLow, char cHigh)
/*COUNTER_2*/
{
outportb(wBase+0xcc,cConfig);
outportb(wBase+0xc8,cLow);
outportb(wBase+0xc8,cHigh);
return(NoError);
}
6.3.8 Read Card ID Register
(Read): wBase+0xd4
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
0
0
0
ID3
ID2
ID1
ID0
For example:
wCardID = inportb(wBase+0xd4);
/* read Card ID(0x0~0x15) */
Note: The Card ID function is only supported by the PEX-DA, PISO-DAxU and
PIO-DAxU(Ver. 1.1 or above)
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru