RV32 SoC DS UG
High-Perf RV32 SoC DS UG
RV64 SoC DS UG API and Examples
Embedded IDE UG
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 88 of file gpio.h.

Field Documentation

◆ INPUT

u32 gpio_hwreg_t::INPUT

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

Definition at line 89 of file gpio.h.

◆ INTERRUPT_FALL_ENABLE

u32 gpio_hwreg_t::INTERRUPT_FALL_ENABLE

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

Definition at line 94 of file gpio.h.

◆ INTERRUPT_HIGH_ENABLE

u32 gpio_hwreg_t::INTERRUPT_HIGH_ENABLE

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

Definition at line 95 of file gpio.h.

◆ INTERRUPT_LOW_ENABLE

u32 gpio_hwreg_t::INTERRUPT_LOW_ENABLE

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

Definition at line 96 of file gpio.h.

◆ INTERRUPT_RISE_ENABLE

u32 gpio_hwreg_t::INTERRUPT_RISE_ENABLE

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

Definition at line 93 of file gpio.h.

◆ OUTPUT

u32 gpio_hwreg_t::OUTPUT

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

Definition at line 90 of file gpio.h.

◆ OUTPUT_ENABLE

u32 gpio_hwreg_t::OUTPUT_ENABLE

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

Definition at line 91 of file gpio.h.

◆ RESERVED0

u32 gpio_hwreg_t::RESERVED0[5]

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

Definition at line 92 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