Hello, I have a TCP server I wrote using the old Beagle Board that controlled a device in an area that could not be occupied when a particle accelerator was running. As the Beagle Board is no longer available, I'm now porting the server to the Bone. I used mmap to create access to the GPIO registers. The new docs are different, and I'm trying to check that I understand them. So, if I want to set bits in GPIO 1, would I add 0x4804c000 (gpio1 offset) and 0x194 (setdataout) to create the address of the set data register?
For mmap, you'd open a region at 4804c000, and then use an index of 194/4 for word access or 194/2 for halfword access. Is this right? (The original version set up the port mapping with pinconf, now I can use devicetree.) Thanks very much, Jon -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/5cd26a07-41fd-44c6-8938-fc95bfb9a038%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
