package
0.0.0-20160912024957-a6de66e7e470
Repository: https://github.com/davecheney/gpio.git
Documentation: pkg.go.dev

# Functions

OpenPin returns a gpio.Pin implementation specalised for the RPi.

# Constants

Size of memory block on RPi.
Base Physical Address of the BSC0 registers.
Base Physical Address of the BSC1 registers.
Base Physical Address of the Clock/timer registers.
GPIO Pin Async.
GPIO Pin Async.
GPIO Pin Async.
GPIO Pin Async.
GPIO Pin Output Clear 0.
GPIO Pin Output Clear 1.
GPIO Pin Event Detect Status 0.
GPIO Pin Event Detect Status 1.
GPIO Pin Falling Edge Detect Enable 0.
GPIO Pin Falling Edge Detect Enable 1.
GPIO Function Select 0.
GPIO Function Select 1.
GPIO Function Select 2.
GPIO Function Select 3.
GPIO Function Select 4.
GPIO Function Select 5.
GPIO Pin High Detect Enable 0.
GPIO Pin High Detect Enable 1.
Base Physical Address of the GPIO registers.
Alternate function 0.
Alternate function 1.
Alternate function 2.
Alternate function 3.
Alternate function 4.
Alternate function 5.
Input.
Output.
Base Physical Address of the Pads registers.
Base Physical Address of the PWM registers.
GPIO Pin Low Detect Enable 0.
GPIO Pin Low Detect Enable 1.
GPIO Pin Level 0.
GPIO Pin Level 1.
GPIO Pin Pull-up/down Enable.
GPIO Pin Pull-up/down Enable Clock 0.
GPIO Pin Pull-up/down Enable Clock 1.
GPIO Pin Rising Edge Detect Enable 0.
GPIO Pin Rising Edge Detect Enable 1.
GPIO Pin Output Set 0.
GPIO Pin Output Set 1.
Size of memory page on RPi.
Base Physical Address of the BCM 2835 peripheral registers.
Base Physical Address of the SPI0 registers.
Base Physical Address of the System Timer registers.