tharkun
Posts: 2
Joined: Mon Aug 05, 2013 2:37 am

Libraries for GPIO BCM2835 ARM Peripherals

Mon Aug 05, 2013 3:05 am

Hi There,

Wondering whether anyone can help.

Is there any documentation and/or libraries for the more advanced features of the GPIO? For example, the project to turn the Pi into an FM transmitter, makes use of a programmable oscillator within the GPIO. I have looked at the source code for this project, and have started trying to decipher it (my C is a little rusty...). Similarly I have started looking at the BCM2835 ARM Peripherals document. The later documents the features of the GPIO, but are there any c libraries covering and further documentation on these advanced features of the GPIO? As far as I can see the wiringPi libraries don't cover this (?).

For example, wouldn't it be nice if there was a c function you could call to put out whatever frequency you liked on GPIO4? I guess the FM transmitter code could be modified to do this, but what I would really like is more documentation on what exactly is possible with the GPIO.

Cheers in advance for any help anyone can give.

Tim

Return to “Bare metal, Assembly language”