MSI MS-98M9 Manual page 59

Industrial computer board
Table of Contents

Advertisement

GPIO WDT Programming
if (val)
else
Example: Get N_GPI3 input value.
val = SMBus_ReadByte (0x9C, 0x42);
val = val & (1<<3);
if (val)
else
A-4
printf ("Input of N_GPI2 is High");
printf ("Input of N_GPI2 is Low");
printf ("Input of N_GPI3 is High");
printf ("Input of N_GPI3 is Low");
// Read value from N_GPI3 port through SMBus.
// Read N_GPI3 address (bit 3).

Advertisement

Table of Contents
loading

Table of Contents