![IBASE Technology MPT-1000V User Manual Download Page 95](http://html1.mh-extra.com/html/ibase-technology/mpt-1000v/mpt-1000v_user-manual_3240887095.webp)
Appendix
MPT-1000V User’s Manual
87
SetDioInputMask:
if ((*lpIsDioAvailable)(0))
{
int DioInput;
printf(" Test for digital IO ....\n");
//Please check digital IO setting in BIOS setup utility
//Here example as follow:
// Digital GPIO [1..3] = Input
// Digital GPIO [4..6] = Output
//set hardware information for GPIO chip
//bit 0..2 : input for GPIO_0 to GPIO_2
//bit 4..6 : output for GPIO_4 to GPIO_6
(*lpSetDioInputMask)(0x07);
(*lpSetDioOutputMask)(0x70);
DioInput = (*lpGetDioInput)(0);
printf(" Current GPIO_0 to GPIO_2 is 0x%X\n", DioInput);
while(1)
{
(*lpSetDioOutput)(0x00);
printf(" Set GPIO_4 to GPIO_6 to LOW\n");
(*lpSetDioOutput)(0x70);
printf(" Set GPIO_4 to GPIO_6 to HIGH\n");
(*lpSetDioOutput)(0x30);
printf(" Set GPIO_4 to GPIO_5 to HIGH\n");
(*lpSetDioOutput)(0x60);
printf(" Set GPIO_5 to GPIO_6 to HIGH\n");
Sleep(500);
if (_kbhit())
{
break;
}//if (kbhit())
}//while(1)
}//if ((*lpIsDioAvailable)(0))
Note:
Be sure to set up the input / output for GPIO bits in BIOS identically with
the GPIO hardware information above.
Summary of Contents for MPT-1000V
Page 1: ...MPT 1000V Multi Purpose In Vehicle System User s Manual Version 1 0 August 2021...
Page 8: ......
Page 16: ...8 MPT 2000V User s Manual Oblique View...
Page 28: ...20 MPT 1000V User s Manual MBT 1002 bottom view...
Page 34: ...26 MPT 1000V User s Manual 2 4 10 SW6 System Reset Button...
Page 36: ...28 MPT 1000V User s Manual 2 5 1 CN1 USB 3 0 Port 2 5 2 CN2 Audio Line Out...
Page 75: ...BIOS Setup MPT 1000V User s Manual 67 4 4 4 6 CSM Configuration 4 4 7 Power Configuration...