The Pedigree Project
0.1
|
#include <Gpio.h>
Static Public Member Functions | |
static Gpio & | instance () |
Private Member Functions | |
void | initspecific (int n, volatile uint32_t *gpio) |
Initialises a specific GPIO to a given set of defaults. | |
volatile uint32_t * | getGpioForPin (int pin, int *bit) |
Private Attributes | |
MemoryRegion | m_Gpio1 |
MemoryRegion | m_Gpio2 |
MemoryRegion | m_Gpio3 |
MemoryRegion | m_Gpio4 |
MemoryRegion | m_Gpio5 |
MemoryRegion | m_Gpio6 |
Static Private Attributes | |
static Gpio | m_Instance |
|
private |
Gets the correct GPIO MMIO range for a given GPIO pin. The base indicates which bit represents this pin in registers, where relevant
Definition at line 137 of file Gpio.cc.
References MemoryRegion::virtualAddress().