- 61 -
Appendix
delay(3000);
printf(“Digital I/O pin 6,4,2,0 LED OFF ...\n”);
/*
Index 11, GPIO1x Output Data value
*/
SMB_Byte_WRITE(SMB_PORT_AD,SMB_DEVICE_ADD,0x11,0x55);
delay(1500);
}
SMB_Byte_READ(int SMPORT, int DeviceID, int REG_INDEX)
{
outportb(02, 0x00); /* clear */
outportb(00, 0xff); /* clear */
delay(10);
outportb(04, D1); /* clear */
outportb(03, REG_INDEX); /* clear */
outportb(02, 0x48); /* read_byte */
delay(10);
printf(“ %02x “,inportb(05));
}
SMB_Byte_WRITE(int SMPORT, int DeviceID, int REG_INDEX, int REG_DATA)
{
outportb(02, 0x00); /* clear */
outportb(00, 0xff); /* clear */
delay(10);
outportb(04, DeviceID);
/* clear */
outportb(03, REG_INDEX); /* clear */
outportb(05, REG_DATA); /* read_byte */
outportb(02, 0x48); /* read_byte */
/* delay(10);
printf(“ %02x “,inportb(05)); */
}
Содержание EmETXe-i250C
Страница 1: ...EmETXe i250C COM Express Type 6 CPU Module User s Manual Version 1 1 2016 09...
Страница 2: ...This page is intentionally left blank...
Страница 5: ...1 Introduction 1 Chapter 1 Introduction Chapter 1 Introduction...
Страница 13: ...9 Installation 2 Chapter 2 Installation Chapter 2 Installation...
Страница 21: ...17 BIOS 3 Chapter 3 BIOS Chapter 3 BIOS...
Страница 35: ...31 BIOS Memory Frequency and Timing 3 3 1 Host Bridge Parameters...
Страница 36: ...32 BIOS Enable or disable MRC fast boot MRC Fast Boot Enable or disable Dyn SR Dyn SR...
Страница 57: ...53 Appendix Appendix Appendix...