Hi guys, i'm new to this forum and the Embedded world in general but really want to learn!
My question is regarding the GPIO registers in the raspberry PI. How do i find out which register represent the different GPIO pins, and would it be as simple as changing a simple bit in the specific register to turn the GPIO high? Or is more involved
I've read the BCM2385 ARM Peripherals manual and don't really understand what it's telling me to do or the information it contains.
I've used the WiringPI.h functions to turn GPIO PIN 8 high so i can turn the LED on but ideally i don't want to rely on other peoples functions and want to write everything myself (that's how i know i would've learnt it). I decided to reverse engineer this as well, trying to look at the source code for this library but it's just a header file and no "actual" c code is in it (like the setup function). Any ideas where the setup function .c file is located?
Apologies for rambling, i'm really excited about this new project