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);
}
Summary of Contents for PDX-057T-D5A
Page 5: ...v This page is blank...
Page 9: ...PDX 057T DM P Vortex86DX Panel PC with 5 7 VGA TFT LCD 4 1 3 Product Dimension...
Page 20: ...PDX 057T DM P Vortex86DX Panel PC with 5 7 VGA TFT LCD 15 2 6 System Mapping...
Page 21: ...PDX 057T DM P Vortex86DX Panel PC with 5 7 VGA TFT LCD 16...
Page 22: ...PDX 057T DM P Vortex86DX Panel PC with 5 7 VGA TFT LCD 17...