TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | _EMBEDDED_GPIO |
struct | _GPIO_CONTROLLER |
struct | _PLATFORM_GPIO_CONTROLLER |
Macros | |
#define | GPIO(Port, Pin) ((EMBEDDED_GPIO_PIN)(((Port) << (16)) | (Pin))) |
#define | GPIO_PIN(x) ((EMBEDDED_GPIO_PIN)(x) & (0xFFFF)) |
#define | GPIO_PORT(x) ((EMBEDDED_GPIO_PIN)(x) >> (16)) |
Typedefs | |
typedef struct _EMBEDDED_GPIO | EMBEDDED_GPIO |
typedef UINTN | EMBEDDED_GPIO_PIN |
typedef EFI_STATUS(EFIAPI * | EMBEDDED_GPIO_GET) (IN EMBEDDED_GPIO *This, IN EMBEDDED_GPIO_PIN Gpio, OUT UINTN *Value) |
typedef EFI_STATUS(EFIAPI * | EMBEDDED_GPIO_SET) (IN EMBEDDED_GPIO *This, IN EMBEDDED_GPIO_PIN Gpio, IN EMBEDDED_GPIO_MODE Mode) |
typedef EFI_STATUS(EFIAPI * | EMBEDDED_GPIO_GET_MODE) (IN EMBEDDED_GPIO *This, IN EMBEDDED_GPIO_PIN Gpio, OUT EMBEDDED_GPIO_MODE *Mode) |
typedef EFI_STATUS(EFIAPI * | EMBEDDED_GPIO_SET_PULL) (IN EMBEDDED_GPIO *This, IN EMBEDDED_GPIO_PIN Gpio, IN EMBEDDED_GPIO_PULL Direction) |
typedef struct _GPIO_CONTROLLER | GPIO_CONTROLLER |
typedef struct _PLATFORM_GPIO_CONTROLLER | PLATFORM_GPIO_CONTROLLER |
Variables | |
EFI_GUID | gEmbeddedGpioProtocolGuid |
EFI_GUID | gPlatformGpioProtocolGuid |
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file EmbeddedGpio.h.
#define GPIO | ( | Port, | |
Pin | |||
) | ((EMBEDDED_GPIO_PIN)(((Port) << (16)) | (Pin))) |
Definition at line 22 of file EmbeddedGpio.h.
#define GPIO_PIN | ( | x | ) | ((EMBEDDED_GPIO_PIN)(x) & (0xFFFF)) |
Definition at line 23 of file EmbeddedGpio.h.
#define GPIO_PORT | ( | x | ) | ((EMBEDDED_GPIO_PIN)(x) >> (16)) |
Definition at line 24 of file EmbeddedGpio.h.
typedef struct _EMBEDDED_GPIO EMBEDDED_GPIO |
Definition at line 15 of file EmbeddedGpio.h.
typedef EFI_STATUS(EFIAPI * EMBEDDED_GPIO_GET) (IN EMBEDDED_GPIO *This, IN EMBEDDED_GPIO_PIN Gpio, OUT UINTN *Value) |
Definition at line 48 of file EmbeddedGpio.h.
typedef EFI_STATUS(EFIAPI * EMBEDDED_GPIO_GET_MODE) (IN EMBEDDED_GPIO *This, IN EMBEDDED_GPIO_PIN Gpio, OUT EMBEDDED_GPIO_MODE *Mode) |
Definition at line 100 of file EmbeddedGpio.h.
typedef UINTN EMBEDDED_GPIO_PIN |
Definition at line 20 of file EmbeddedGpio.h.
typedef EFI_STATUS(EFIAPI * EMBEDDED_GPIO_SET) (IN EMBEDDED_GPIO *This, IN EMBEDDED_GPIO_PIN Gpio, IN EMBEDDED_GPIO_MODE Mode) |
Definition at line 74 of file EmbeddedGpio.h.
typedef EFI_STATUS(EFIAPI * EMBEDDED_GPIO_SET_PULL) (IN EMBEDDED_GPIO *This, IN EMBEDDED_GPIO_PIN Gpio, IN EMBEDDED_GPIO_PULL Direction) |
Definition at line 126 of file EmbeddedGpio.h.
typedef struct _GPIO_CONTROLLER GPIO_CONTROLLER |
Definition at line 160 of file EmbeddedGpio.h.
typedef struct _PLATFORM_GPIO_CONTROLLER PLATFORM_GPIO_CONTROLLER |
Definition at line 161 of file EmbeddedGpio.h.
enum EMBEDDED_GPIO_MODE |
Definition at line 26 of file EmbeddedGpio.h.
enum EMBEDDED_GPIO_PULL |
Definition at line 38 of file EmbeddedGpio.h.