CoffeeLake Intel(R) Firmware Support Package (FSP) Integration Guide: GPIO_CONFIG Struct Reference

CoffeeLake Intel Firmware

CoffeeLake Intel(R) Firmware Support Package (FSP) Integration Guide
GPIO_CONFIG Struct Reference

GPIO configuration structure used for pin programming. More...

#include <GpioConfig.h>

Public Attributes

UINT32 PadMode: 5
 Pad Mode Pad can be set as GPIO or one of its native functions. More...
 
UINT32 HostSoftPadOwn: 2
 Host Software Pad Ownership Set pad to ACPI mode or GPIO Driver Mode. More...
 
UINT32 Direction: 6
 GPIO Direction Can choose between In, In with inversion, Out, both In and Out, both In with inversion and out or disabling both. More...
 
UINT32 OutputState: 2
 Output State Set Pad output value. More...
 
UINT32 InterruptConfig: 9
 GPIO Interrupt Configuration Set Pad to cause one of interrupts (IOxAPIC/SCI/SMI/NMI). More...
 
UINT32 PowerConfig: 8
 GPIO Power Configuration. More...
 
UINT32 ElectricalConfig: 9
 GPIO Electrical Configuration This setting controls pads termination. More...
 
UINT32 LockConfig: 4
 GPIO Lock Configuration This setting controls pads lock. More...
 
UINT32 OtherSettings: 9
 Additional GPIO configuration Refer to definition of GPIO_OTHER_CONFIG for supported settings.
 
UINT32 RsvdBits: 10
 Reserved bits for future extension.
 

Detailed Description

GPIO configuration structure used for pin programming.

Structure contains fields that can be used to configure pad.

Definition at line 36 of file GpioConfig.h.

Member Data Documentation

UINT32 GPIO_CONFIG::Direction

GPIO Direction Can choose between In, In with inversion, Out, both In and Out, both In with inversion and out or disabling both.

Refer to definition of GPIO_DIRECTION for supported settings.

Definition at line 57 of file GpioConfig.h.

UINT32 GPIO_CONFIG::ElectricalConfig

GPIO Electrical Configuration This setting controls pads termination.

Refer to definition of GPIO_ELECTRICAL_CONFIG for supported settings.

Definition at line 83 of file GpioConfig.h.

UINT32 GPIO_CONFIG::HostSoftPadOwn

Host Software Pad Ownership Set pad to ACPI mode or GPIO Driver Mode.

Refer to definition of GPIO_HOSTSW_OWN.

Definition at line 51 of file GpioConfig.h.

UINT32 GPIO_CONFIG::InterruptConfig

GPIO Interrupt Configuration Set Pad to cause one of interrupts (IOxAPIC/SCI/SMI/NMI).

This setting is applicable only if GPIO is in GpioMode with input enabled. Refer to definition of GPIO_INT_CONFIG for supported settings.

Definition at line 71 of file GpioConfig.h.

UINT32 GPIO_CONFIG::LockConfig

GPIO Lock Configuration This setting controls pads lock.

Refer to definition of GPIO_LOCK_CONFIG for supported settings.

Definition at line 89 of file GpioConfig.h.

UINT32 GPIO_CONFIG::OutputState

Output State Set Pad output value.

Refer to definition of GPIO_OUTPUT_STATE for supported settings. This setting takes place when output is enabled.

Definition at line 64 of file GpioConfig.h.

UINT32 GPIO_CONFIG::PadMode

Pad Mode Pad can be set as GPIO or one of its native functions.

When in native mode setting Direction (except Inversion), OutputState, InterruptConfig, Host Software Pad Ownership and OutputStateLock are unnecessary. Refer to definition of GPIO_PAD_MODE. Refer to EDS for each native mode according to the pad.

Definition at line 45 of file GpioConfig.h.

UINT32 GPIO_CONFIG::PowerConfig

GPIO Power Configuration.

This setting controls Pad Reset Configuration. Refer to definition of GPIO_RESET_CONFIG for supported settings.

Definition at line 77 of file GpioConfig.h.


The documentation for this struct was generated from the following file:
Generated on Wed Aug 22 2018 17:48:56 for CoffeeLake Intel(R) Firmware Support Package (FSP) Integration Guide by   doxygen 1.8.10