Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/doc-src/ip-blocks/apb_gpio.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ RDSTAT offset = 0x34
+------------+-------+------+------------+----------------------------------------------------------------------+
| Field | Bits | Type | Default | Description |
+============+=======+======+============+======================================================================+
| mode | 25:24 | RO | 0x0 | Read the mode control for GPIO[gpio_num] (set gpio_num using SETSEL) |
| DIR | 25:24 | RO | 0x0 | Read the mode control for GPIO[gpio_num] (set gpio_num using SETSEL) |
+------------+-------+------+------------+----------------------------------------------------------------------+
| | 0x0: Input only (output is tri-stated) |
+------------+-------+------+------------+----------------------------------------------------------------------+
Expand All @@ -177,7 +177,7 @@ RDSTAT offset = 0x34
+------------+-------+------+------------+----------------------------------------------------------------------+
| | 0x5 to 0x7: no interrupt |
+------------+-------+------+------------+----------------------------------------------------------------------+
| INTEN | 16:16 | RW | | Enable interrupt for GPIO[gpio_num] |
| INTEN | 16:16 | RO | | Interrupt enable staus for GPIO[gpio_num] |
+------------+-------+------+------------+----------------------------------------------------------------------+
| INPUT | 12:12 | RO | | Input value reported by GPIO[gpio_num] |
+------------+-------+------+------------+----------------------------------------------------------------------+
Expand Down Expand Up @@ -236,8 +236,8 @@ INTACK offset = 0x40
+------------+-------+------+------------+-------------------------------------------------------------+
| Field | Bits | Type | Default | Description |
+============+=======+======+============+=============================================================+
| RESERVED | 31:8 | RW | | Enable interrupt for GPIO[gpio_num] |
| RESERVED | 31:8 | WO | | |
+------------+-------+------+------------+-------------------------------------------------------------+
| gpio_num | 7:0 | RW | | Input value reported by GPIO[gpio_num] |
| gpio_num | 7:0 | WO | | Acknowledge the interrupt from GPIO[gpio_num] |
+------------+-------+------+------------+-------------------------------------------------------------+