PDX-057T
DM&P Vortex86DX
Panel PC with 5.7” VGA TFT LCD
22
void BackLightON()
{
// Set register 4AH bit1 to 0 to enable GPIOB
outportb(0x3d4, 0x4a);
unsigned c = inport(0x3d5) & 0xfd;
outportb(0x3d4, 0x4a);
outportb(0x3d5, c);
// Set register 48H bit1
outportb(0x3d4, 0x48);
c = inport(0x3d5) | 0x02;
outportb(0x3d4, 0x48);
outportb(0x3d5, c);
}
void BackLightOFF()
{
// Set register 4AH bit1 to 0 to enable GPIOB
outportb(0x3d4, 0x4a);
unsigned c = inport(0x3d5) & 0xfd;
outportb(0x3d4, 0x4a);
outportb(0x3d5, c);
// Clear register 48H bit1
outportb(0x3d4, 0x48);
c = inport(0x3d5) & 0xfd;
outportb(0x3d4, 0x48);
outportb(0x3d5, c);
}
Содержание PDX-057T-D5A
Страница 5: ...v This page is blank...
Страница 9: ...PDX 057T DM P Vortex86DX Panel PC with 5 7 VGA TFT LCD 4 1 3 Product Dimension...
Страница 20: ...PDX 057T DM P Vortex86DX Panel PC with 5 7 VGA TFT LCD 15 2 6 System Mapping...
Страница 21: ...PDX 057T DM P Vortex86DX Panel PC with 5 7 VGA TFT LCD 16...
Страница 22: ...PDX 057T DM P Vortex86DX Panel PC with 5 7 VGA TFT LCD 17...