Last active
August 29, 2015 14:04
-
-
Save danasf/105086bf449ba76c742a to your computer and use it in GitHub Desktop.
Useful Beaglebone Memory Locations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define GPIO0 0x44e07000 // GPIO0 Controller | |
| #define GPIO1 0x4804c000 // GPIO1 Controller | |
| #define GPIO2 0x481ac000 // GPIO2 Controller | |
| #define GPIO3 0x481ae000 // GPIO3 Controller | |
| #define GPIO_SET_OUT 0x194 // Set 1s to OUT | |
| #define GPIO_SET_CLEAR 0x190 // Set 1s to CLEAR | |
| #define GPIO_DATAOUT 0x13c // SET ALL bits to state specified | |
| #define GPIO_DATAIN 0x138 // Read state of all pins? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment