
CT-CCV6X Intel Atom D2000/N2000 COM Express Type 6 Module
33
4.16.2.5 PSUEDO CODE
Example 1 Change GPIO2 from output to input
Step1: ByteData = ReadIOByte(0x504) //Read current setting from
configuration register
Step2: ByteData = ByteData | Bit 4 //Set Bit4 1. It means input
Step3: WriteIOByte(0x504, ByteData) //Write back to configuration register
Example2 Set GPIO3 to output LOW
Step1: ByteData = ReadIOByte(0x50C) //Read current setting from Output
Port register
Step2: ByteData =ByteData & 0xDF //Set Bit5 0. It means output low
Step3: WriteIOByte(0x50C, ByteData) //Write back to Output Port
Register
4.17 Power and System Management Signals
Indicates system is suspended to RAM state.
Active low output.
Indicates system is suspended to Disk state.
Active low output.
Indicates system is in Soft Off state.
Indicates imminent suspend operation.
Power button to bring system out of S5 (soft off),
active on rising edge.
Power OK from main power supply
Indicates that external battery is low.
Reset button input. Active low input.
Carrier Board Reset. Active low input.
PCI Express wake up signal.
General purpose wake up signal.
Komentarze do niniejszej Instrukcji