-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Jaslo edited this page Oct 31, 2018
·
3 revisions
This library grants easy and fast access to peripherals. The GPIO, PWM and SPI are implemented at the moment.
It was only tested on the Raspberry Pi Zero, but should work on all other Raspberry Pis which use the bcm2835.
Peripherals Implemented at the moment:
- GPIO
- PWM
- Using the clock manager
TODO:
- I2C
- Audio
- bcm2835_peripherals.h and bcm2835_peripherals.c are highly inspired by Pieter Jan's "Low Level Programming of the Raspberry Pi in C".
- BCM2835 ARM Peripherals Datasheet
- There are many errors in the BCM2835 ARM Peripherals Datasheet so the BCM2835 datasheet errata by elinux.org is very useful and important.
- Because the BCM2835 ARM Peripherals Datasheet for some reason does not feature the PWM and PCM clocks, there is this very useful datasheet snippet: BCM2835 Audio clocks