Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| ctboard:peripherals:gpio_cpld [2022/12/23 11:05] – [Output] ruan | ctboard:peripherals:gpio_cpld [2026/06/25 14:52] (current) – [Programming Example] scbj | ||
|---|---|---|---|
| Line 41: | Line 41: | ||
| \\ | \\ | ||
| - | < | + | < |
| - | ADDR_GPIO_IN | + | .equ ADDR_GPIO_IN, 0x60000410 |
| - | ADDR_GPIO_OUT | + | .equ ADDR_GPIO_OUT, |
| | | ||
| - | LDR | + | ldr r0, =ADDR_GPIO_IN |
| - | | + | |
| - | | + | |
| - | | + | |
| | | ||
| - | LDR | + | ldr r0, =ADDR_GPIO_OUT |
| - | | + | |
| - | | + | |
| - | | + | |
| </ | </ | ||
| \\ | \\ | ||