
IRU151-I Programmer Guidel
Function Description
33
2.24 EnDIReceiver
Description
Enable the DI receiver.
Definition
int EnDIReceiver(
short
channel,
short
filter,
short
condition
);
Parameters
channel
[in]: Channel. (Bit0-7 indicates channel 0-7)
filter
[in]: DI filter time. (0-250 ms)
condition
[in]: DI trigger condition
0x00 : Raising edge.
0x01 : Falling edge.
0x02 : Both.
Return value
AXIO_OK if success, or other value represents the error. (See Error Code)
Example
short
channel = 0x01;
short
filter = 0x00;
short
condition = 0x02;
int
ret = 0x00;
ret = EnDIReceiver(channel, filter, condition);
if(ret != AXIO_OK)
printf("Enable DI Receiver failure\n");
Содержание IRU151-I
Страница 1: ...IRU151 I Software Development Kit Reference Manual...
Страница 2: ...ii Revision History Version Revised Date Author Description 1 0 2018 12 05 Hank 1st release...
Страница 6: ...vi This page is intentionally left blank...
Страница 10: ...IRU151 I Programmer Guidel 4 Introduction if stop 2 break Close_Device...
Страница 11: ...IRU151 I Programmer Guidel Introduction 5 1 3 The Calibration Flow Chart...
Страница 12: ...IRU151 I Programmer Guidel 6 Introduction This page is intentionally left blank...