76
MPT-3000V User Manual
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.
Содержание MPT-3000V
Страница 1: ...MPT 3000V Multi Purpose In Vehicle System User s Manual Version 1 2 Sep 2018...
Страница 16: ...8 MPT 3000V User Manual 1 7 Dimensions Unit mm 1 8 Fuse Dimensions Littlefuse TAC ATO Style Blade 15A 58V DC...
Страница 31: ...Hardware Configuration MPT 3000V User Manual 23 2 MBT 3001V bottom SIO Intel Atom E3845...
Страница 36: ...28 MPT 3000V User Manual 2 5 3 LAN Port CN3 CN4 2 5 4 USB 2 0 Port CN5 CN15 2 5 5 Audio Jack CN6 CN13 CN14...
Страница 59: ...BIOS Setup MPT 3000V User Manual 51 4 4 4 1 CSM Configuration...
Страница 68: ...60 MPT 3000V User Manual 4 4 10 USB Configuration...
Страница 69: ...BIOS Setup MPT 3000V User Manual 61 4 4 5 Chipset Settings 4 5 1 North Bridge...