Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

base address of gpio registers

$
0
0

Part Number:AM3358

Tool/software: Linux

I may not be using the correct words but I will do best to describe what I want to do. I want to use mmap() to configure and read/write GPIO. Reference: SPRUH739 page 1512.  I want to set the pin mode of GPMC_AD6////GPIO_06 to INPUT, PULLDOWN, Pulldown Enabled. I understand how to set the individual bits in the register. I know the offset for the pin is 818h (page 1456).

What is the base memory address for the 818h register?

Page 5004 shows GPIO_DATAIN register at offset 138h. What is the base memory address for the GPIO_DATAIN register?

What page number in the manual shows the base address(s)?

Thank you,


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>