RTEMS 6.1-rc1
|
This header file defines the GRGPIO register block interface. More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | grgpio |
This structure defines the GRGPIO register block memory map. More... | |
Macros | |
#define | GRGPIO_DATA_DATA_SHIFT 0 |
#define | GRGPIO_DATA_DATA_MASK 0xffffffffU |
#define | GRGPIO_DATA_DATA_GET(_reg) |
#define | GRGPIO_DATA_DATA_SET(_reg, _val) |
#define | GRGPIO_DATA_DATA(_val) |
#define | GRGPIO_OUTPUT_DATA_SHIFT 0 |
#define | GRGPIO_OUTPUT_DATA_MASK 0xffffffffU |
#define | GRGPIO_OUTPUT_DATA_GET(_reg) |
#define | GRGPIO_OUTPUT_DATA_SET(_reg, _val) |
#define | GRGPIO_OUTPUT_DATA(_val) |
#define | GRGPIO_DIRECTION_DIR_SHIFT 0 |
#define | GRGPIO_DIRECTION_DIR_MASK 0xffffffffU |
#define | GRGPIO_DIRECTION_DIR_GET(_reg) |
#define | GRGPIO_DIRECTION_DIR_SET(_reg, _val) |
#define | GRGPIO_DIRECTION_DIR(_val) |
#define | GRGPIO_IMASK_MASK_SHIFT 0 |
#define | GRGPIO_IMASK_MASK_MASK 0xffffffffU |
#define | GRGPIO_IMASK_MASK_GET(_reg) |
#define | GRGPIO_IMASK_MASK_SET(_reg, _val) |
#define | GRGPIO_IMASK_MASK(_val) |
#define | GRGPIO_IPOL_POL_SHIFT 0 |
#define | GRGPIO_IPOL_POL_MASK 0xffffffffU |
#define | GRGPIO_IPOL_POL_GET(_reg) |
#define | GRGPIO_IPOL_POL_SET(_reg, _val) |
#define | GRGPIO_IPOL_POL(_val) |
#define | GRGPIO_IEDGE_EDGE_SHIFT 0 |
#define | GRGPIO_IEDGE_EDGE_MASK 0xffffffffU |
#define | GRGPIO_IEDGE_EDGE_GET(_reg) |
#define | GRGPIO_IEDGE_EDGE_SET(_reg, _val) |
#define | GRGPIO_IEDGE_EDGE(_val) |
#define | GRGPIO_BYPASS_BYPASS_SHIFT 0 |
#define | GRGPIO_BYPASS_BYPASS_MASK 0xffffffffU |
#define | GRGPIO_BYPASS_BYPASS_GET(_reg) |
#define | GRGPIO_BYPASS_BYPASS_SET(_reg, _val) |
#define | GRGPIO_BYPASS_BYPASS(_val) |
#define | GRGPIO_CAP_PU 0x40000U |
#define | GRGPIO_CAP_IER 0x20000U |
#define | GRGPIO_CAP_IFL 0x10000U |
#define | GRGPIO_CAP_IRQGEN_SHIFT 8 |
#define | GRGPIO_CAP_IRQGEN_MASK 0x1f00U |
#define | GRGPIO_CAP_IRQGEN_GET(_reg) |
#define | GRGPIO_CAP_IRQGEN_SET(_reg, _val) |
#define | GRGPIO_CAP_IRQGEN(_val) |
#define | GRGPIO_CAP_NLINES_SHIFT 0 |
#define | GRGPIO_CAP_NLINES_MASK 0x1fU |
#define | GRGPIO_CAP_NLINES_GET(_reg) |
#define | GRGPIO_CAP_NLINES_SET(_reg, _val) |
#define | GRGPIO_CAP_NLINES(_val) |
#define | GRGPIO_IRQMAPR_IRQMAP_I_0_SHIFT 24 |
#define | GRGPIO_IRQMAPR_IRQMAP_I_0_MASK 0x1f000000U |
#define | GRGPIO_IRQMAPR_IRQMAP_I_0_GET(_reg) |
#define | GRGPIO_IRQMAPR_IRQMAP_I_0_SET(_reg, _val) |
#define | GRGPIO_IRQMAPR_IRQMAP_I_0(_val) |
#define | GRGPIO_IRQMAPR_IRQMAP_I_1_SHIFT 16 |
#define | GRGPIO_IRQMAPR_IRQMAP_I_1_MASK 0x1f0000U |
#define | GRGPIO_IRQMAPR_IRQMAP_I_1_GET(_reg) |
#define | GRGPIO_IRQMAPR_IRQMAP_I_1_SET(_reg, _val) |
#define | GRGPIO_IRQMAPR_IRQMAP_I_1(_val) |
#define | GRGPIO_IRQMAPR_IRQMAP_I_2_SHIFT 8 |
#define | GRGPIO_IRQMAPR_IRQMAP_I_2_MASK 0x1f00U |
#define | GRGPIO_IRQMAPR_IRQMAP_I_2_GET(_reg) |
#define | GRGPIO_IRQMAPR_IRQMAP_I_2_SET(_reg, _val) |
#define | GRGPIO_IRQMAPR_IRQMAP_I_2(_val) |
#define | GRGPIO_IRQMAPR_IRQMAP_I_3_SHIFT 0 |
#define | GRGPIO_IRQMAPR_IRQMAP_I_3_MASK 0x1fU |
#define | GRGPIO_IRQMAPR_IRQMAP_I_3_GET(_reg) |
#define | GRGPIO_IRQMAPR_IRQMAP_I_3_SET(_reg, _val) |
#define | GRGPIO_IRQMAPR_IRQMAP_I_3(_val) |
#define | GRGPIO_IAVAIL_IMASK_SHIFT 0 |
#define | GRGPIO_IAVAIL_IMASK_MASK 0xffffffffU |
#define | GRGPIO_IAVAIL_IMASK_GET(_reg) |
#define | GRGPIO_IAVAIL_IMASK_SET(_reg, _val) |
#define | GRGPIO_IAVAIL_IMASK(_val) |
#define | GRGPIO_IFLAG_IFLAG_SHIFT 0 |
#define | GRGPIO_IFLAG_IFLAG_MASK 0xffffffffU |
#define | GRGPIO_IFLAG_IFLAG_GET(_reg) |
#define | GRGPIO_IFLAG_IFLAG_SET(_reg, _val) |
#define | GRGPIO_IFLAG_IFLAG(_val) |
#define | GRGPIO_IPEN_IPEN_SHIFT 0 |
#define | GRGPIO_IPEN_IPEN_MASK 0xffffffffU |
#define | GRGPIO_IPEN_IPEN_GET(_reg) |
#define | GRGPIO_IPEN_IPEN_SET(_reg, _val) |
#define | GRGPIO_IPEN_IPEN(_val) |
#define | GRGPIO_PULSE_PULSE_SHIFT 0 |
#define | GRGPIO_PULSE_PULSE_MASK 0xffffffffU |
#define | GRGPIO_PULSE_PULSE_GET(_reg) |
#define | GRGPIO_PULSE_PULSE_SET(_reg, _val) |
#define | GRGPIO_PULSE_PULSE(_val) |
#define | GRGPIO_LOR_DATA_SHIFT 0 |
#define | GRGPIO_LOR_DATA_MASK 0xffffffffU |
#define | GRGPIO_LOR_DATA_GET(_reg) |
#define | GRGPIO_LOR_DATA_SET(_reg, _val) |
#define | GRGPIO_LOR_DATA(_val) |
#define | GRGPIO_LAND_DATA_SHIFT 0 |
#define | GRGPIO_LAND_DATA_MASK 0xffffffffU |
#define | GRGPIO_LAND_DATA_GET(_reg) |
#define | GRGPIO_LAND_DATA_SET(_reg, _val) |
#define | GRGPIO_LAND_DATA(_val) |
#define | GRGPIO_LXOR_DATA_SHIFT 0 |
#define | GRGPIO_LXOR_DATA_MASK 0xffffffffU |
#define | GRGPIO_LXOR_DATA_GET(_reg) |
#define | GRGPIO_LXOR_DATA_SET(_reg, _val) |
#define | GRGPIO_LXOR_DATA(_val) |
Typedefs | |
typedef struct grgpio | grgpio |
This structure defines the GRGPIO register block memory map. | |
This header file defines the GRGPIO register block interface.