Sapphire SoC DS Sapphire SoC UG Sapphire HP SoC DS Sapphire HP SoC UG RISC-V Embedded IDE UG Board Support Package
Loading...
Searching...
No Matches
gpio_hwreg_t Struct Reference

#include <gpio.h>

Data Fields

u32 INPUT
 Address Offset: 0x00 - Input Value *‍/.
u32 OUTPUT
 Address Offset: 0x04 - Output Value *‍/.
u32 OUTPUT_ENABLE
 Address Offset: 0x08 - Output Enable (Direction) *‍/.
u32 RESERVED0 [5]
 Reserved Space (0x0C to 0x1F) *‍/.
u32 INTERRUPT_RISE_ENABLE
 Address Offset: 0x20 - Rising Edge IRQ *‍/.
u32 INTERRUPT_FALL_ENABLE
 Address Offset: 0x24 - Falling Edge IRQ *‍/.
u32 INTERRUPT_HIGH_ENABLE
 Address Offset: 0x28 - High Level IRQ *‍/.
u32 INTERRUPT_LOW_ENABLE
 Address Offset: 0x2C - Low Level IRQ *‍/.

Detailed Description

GPIO hardware register map.

This is the main structure that maps directly onto the GPIO peripheral memory-mapped register layout.

Definition at line 69 of file gpio.h.

Field Documentation

◆ INPUT

u32 gpio_hwreg_t::INPUT

Address Offset: 0x00 - Input Value *‍/.

Definition at line 70 of file gpio.h.

◆ INTERRUPT_FALL_ENABLE

u32 gpio_hwreg_t::INTERRUPT_FALL_ENABLE

Address Offset: 0x24 - Falling Edge IRQ *‍/.

Definition at line 75 of file gpio.h.

◆ INTERRUPT_HIGH_ENABLE

u32 gpio_hwreg_t::INTERRUPT_HIGH_ENABLE

Address Offset: 0x28 - High Level IRQ *‍/.

Definition at line 76 of file gpio.h.

◆ INTERRUPT_LOW_ENABLE

u32 gpio_hwreg_t::INTERRUPT_LOW_ENABLE

Address Offset: 0x2C - Low Level IRQ *‍/.

Definition at line 77 of file gpio.h.

◆ INTERRUPT_RISE_ENABLE

u32 gpio_hwreg_t::INTERRUPT_RISE_ENABLE

Address Offset: 0x20 - Rising Edge IRQ *‍/.

Definition at line 74 of file gpio.h.

◆ OUTPUT

u32 gpio_hwreg_t::OUTPUT

Address Offset: 0x04 - Output Value *‍/.

Definition at line 71 of file gpio.h.

◆ OUTPUT_ENABLE

u32 gpio_hwreg_t::OUTPUT_ENABLE

Address Offset: 0x08 - Output Enable (Direction) *‍/.

Definition at line 72 of file gpio.h.

◆ RESERVED0

u32 gpio_hwreg_t::RESERVED0[5]

Reserved Space (0x0C to 0x1F) *‍/.

Definition at line 73 of file gpio.h.


The documentation for this struct was generated from the following file:
  • C:/Users/JasonLau/Downloads/workspace_local/GitLab/efx_IP/efx_soc_rv64/embedded_sw/software/standalone/driver/gpio/gpio.h