PDX-057T
DM&P Vortex86DX
Panel PC with 5.7” VGA TFT LCD
25
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);
}
Summary of Contents for PDX-057T-D5A-512
Page 5: ...v This page is blank...
Page 12: ...PDX 057T DM P Vortex86DX Panel PC with 5 7 VGA TFT LCD 7 1 4 Product Dimension...
Page 23: ...PDX 057T DM P Vortex86DX Panel PC with 5 7 VGA TFT LCD 18 2 6 System Mapping...
Page 24: ...PDX 057T DM P Vortex86DX Panel PC with 5 7 VGA TFT LCD 19...
Page 25: ...PDX 057T DM P Vortex86DX Panel PC with 5 7 VGA TFT LCD 20...