
80
MPT-500R/RH Series User Manual
⚫
Digital I/O
extern "C" __declspec(dllexport) int __stdcall IsDioAvailable(int);
Input
: Dummy data and will be ignored
Output : Return 1 if the digital I/O is available, otherwise return 0.
extern "C" __declspec(dllexport) int __stdcall SetDioInputMask(int);
Input: : Hardware parameter for digital I/O input function call.
For example, the 6 GPIO functions:
GPIO_0 to GPIO_2 are mapped as the input functions, and GPIO_4 to
GPIO_6 are mapped as the output functions.
In this case, the parameter for “SetDioInputMask” is 0x07 and it indicates that
GPIO_0 to GPIO_2 are the input functions.
The parameter for “SetDioOutputMask” is 0x70 and it indicates that GPIO_4
to GPIO_6 are the output functions.
Output : Dummy data and should be ignored.
extern "C" __declspec(dllexport) int __stdcall SetDioOutputMask(int);
Input
: Hardware parameter for digital I/O output function call
For further information, refer to the following
explanation of “SetDioInputMask”
routine.
Summary of Contents for MPT-500R
Page 1: ...MPT 500R RH Intelligent Railway Gateway System User s Manual Version 1 0 October 2022...
Page 8: ......
Page 18: ...10 MPT 500R RH Series User Manual 1 8 Dimensions Unit mm...
Page 27: ...Hardware Configuration MPT 500R RH Series User Manual 19 2 9 RI NC...
Page 48: ...40 MPT 500R RH Series User Manual 2 5 26 J24 J25 USB Type C Flash Connector Factory use only...
Page 61: ...BIOS Setup MPT 500R RH Series User Manual 53 4 4 4 1 CPU Configuration...
Page 62: ...54 MPT 500R RH Series User Manual 4 4 2 PCH FW Configuration...
Page 68: ...60 MPT 500R RH Series User Manual 4 4 7 Network Stack Configuration...