WADE-8210-H110
Copyright © Portwell 2017 WADE-8210-H110 User's Guide
33
/* IpcDIOSetInputMode Funtion
User can setting DIO is input mode ,The input mode can read out DIO status to value.
// MmioOffset – User setting DIO input mode
//Return Value – DIO read out status
*/
int IpcDIOSetInputMode(UINT32 MmioOffset)
{
UINT32 Data = 0;
UINT32 value = 0;
//Input Mode,BIT8 Set 1 & BIT9 Set 0
Data = (MmioRead32(MmioOffset) | (0x00000100)) & ~( 0x00000200);
MmioWrite32( MmioOffset, Data);
//Read out DIO status
value = MmioRead32(MmioOffset);
value = value & 0x00000002;
//Return DIO status
If(value)
return 1; //callback Hgih
else
return 0; //callback Low
}
//Example DIO1 setting input mode:
Содержание WADE-8210-H110
Страница 10: ...WADE 8210 H110 Copyright Portwell 2017 WADE 8210 H110 User s Guide 10 2 2Mechanical Dimensions...
Страница 13: ...WADE 8210 H110 Copyright Portwell 2017 WADE 8210 H110 User s Guide 13 3 Block Diagram...
Страница 46: ...WADE 8210 H110 Copyright Portwell 2017 WADE 8210 H110 User s Guide 46 Smart Fan Function...
Страница 50: ...WADE 8210 H110 Copyright Portwell 2017 WADE 8210 H110 User s Guide 50 ACPI Settings System ACPI Parameters...
Страница 78: ...WADE 8210 H110 Copyright Portwell 2017 WADE 8210 H110 User s Guide 78 DIO Configuration DIO Configuration Help...
Страница 82: ...WADE 8210 H110 Copyright Portwell 2017 WADE 8210 H110 User s Guide 82 PCH Configuration PCH Parameters...
Страница 101: ...WADE 8210 H110 Copyright Portwell 2017 WADE 8210 H110 User s Guide 101 7 2 5 Save Exit...
Страница 104: ...WADE 8210 H110 Copyright Portwell 2017 WADE 8210 H110 User s Guide 104...
Страница 108: ...WADE 8210 H110 Copyright Portwell 2017 WADE 8210 H110 User s Guide 108...
Страница 110: ...WADE 8210 H110 Copyright Portwell 2017 WADE 8210 H110 User s Guide 110...