Rev. 1.4E
Manual ME-1000
Function Reference
Page 30
Meilhaus Electronic
➔
Parameters
<BoardNumber>
Board number for ME-1000 to be accessed,
(1
st
: 0, 2
nd
: 1, n
th
<
PortNo
>
Selection of port:
<Port>
Port
PORTA (00Hex)
32 bit port A
PORTB (01Hex)
32 bit port B
PORTC (02Hex)
32 bit port C
PORTD (03Hex)
32 bit port D
<
BitNo
>
Number of input line to be read in; possible values
are:
<BitNo>
Bit number
BIT_0…31 (00…1FHex) 0…31
<
BitValue
>
Pointer to an integer value passing the state of the
selected input line; possible values are:
0: line set to low level
1: line set to high level
Return value
If the function is successfully executed, a '1' is returned. If an error
occurs, a '0' is returned. The cause of the error can be determined
with the function
me1000GetDrvErrMess
✎
Description
Function is used for: ME-1000/64 and ME-1000/128. Port C and D
only for ME-1000/128.
Read in a byte from a port defined as input.
☞
Important Note!
To properly configure the port the function
me1000DIOSetPortDirection
must first be called for the selected
port.
●
Definitions
C:
int me1000DIGetByte (int iBoardNumber, int iPortNo, int
iByteNo, int *piByteValue);
me1000DIGetByte
Содержание ME-1000 Series
Страница 8: ...Rev 1 4E Manual ME 1000 Introduction Page 8 Meilhaus Electronic ...
Страница 10: ...Rev 1 4E Manual ME 1000 Installation Page 10 Meilhaus Electronic ...
Страница 16: ...Rev 1 4E Manual ME 1000 Hardware Page 16 Meilhaus Electronic ...
Страница 40: ...Rev 1 4E Manual ME 1000 Function Reference Page 40 Meilhaus Electronic ...
Страница 46: ...Rev 1 4E Manual ME 1000 Technical Questions Page 46 Meilhaus Electronic ...