![]() |
Advanced Robot Control System
5.1-REV.51SF170515
|
#include <RPi2GPIO.hh>
公開型 | |
enum | IOmode { IN, OUT } |
公開メンバ関数 | |
RPi2GPIO () | |
~RPi2GPIO () | |
void | SetConfig (int port, IOmode mode) |
void | SetConfig_GPIO9to0 (uint32_t bitdata) |
void | SetConfig_GPIO19to10 (uint32_t bitdata) |
void | SetConfig_GPIO29to20 (uint32_t bitdata) |
void | SetConfig_GPIO39to30 (uint32_t bitdata) |
void | SetConfig_GPIO49to40 (uint32_t bitdata) |
void | SetConfig_GPIO53to50 (uint32_t bitdata) |
void | SetConfig_AllOutput (void) |
void | SetBitDataLo (uint32_t bitdata) |
void | SetBitDataHi (uint32_t bitdata) |
void | BitSet (unsigned int port) |
void | BitClear (unsigned int port) |
uint32_t | GetBitDataLo (void) const |
uint32_t | GetBitDataHi (void) const |
bool | BitGet (unsigned int port) const |
void | SetACTLED (bool onoff) |
void | SetPWRLED (bool onoff) |
非公開メンバ関数 | |
RPi2GPIO (const RPi2GPIO &) | |
const RPi2GPIO & | operator= (const RPi2GPIO &) |
非公開変数類 | |
int | fd |
uint32_t * | IOptr |
静的非公開変数類 | |
static const int | IOREG_SIZE = 4096 |
static const unsigned long | IOREG_ADDRESS = 0x3F200000 |
RPi2GPIO::RPi2GPIO | ( | ) |
RPi2GPIO::~RPi2GPIO | ( | ) |
|
private |
void RPi2GPIO::BitClear | ( | unsigned int | port | ) |
bool RPi2GPIO::BitGet | ( | unsigned int | port | ) | const |
void RPi2GPIO::BitSet | ( | unsigned int | port | ) |
uint32_t RPi2GPIO::GetBitDataHi | ( | void | ) | const |
uint32_t RPi2GPIO::GetBitDataLo | ( | void | ) | const |
void RPi2GPIO::SetACTLED | ( | bool | onoff | ) |
void RPi2GPIO::SetBitDataHi | ( | uint32_t | bitdata | ) |
void RPi2GPIO::SetBitDataLo | ( | uint32_t | bitdata | ) |
void RPi2GPIO::SetConfig | ( | int | port, |
IOmode | mode | ||
) |
void RPi2GPIO::SetConfig_AllOutput | ( | void | ) |
void RPi2GPIO::SetConfig_GPIO19to10 | ( | uint32_t | bitdata | ) |
void RPi2GPIO::SetConfig_GPIO29to20 | ( | uint32_t | bitdata | ) |
void RPi2GPIO::SetConfig_GPIO39to30 | ( | uint32_t | bitdata | ) |
void RPi2GPIO::SetConfig_GPIO49to40 | ( | uint32_t | bitdata | ) |
void RPi2GPIO::SetConfig_GPIO53to50 | ( | uint32_t | bitdata | ) |
void RPi2GPIO::SetConfig_GPIO9to0 | ( | uint32_t | bitdata | ) |
void RPi2GPIO::SetPWRLED | ( | bool | onoff | ) |
|
private |
|
private |
|
staticprivate |
|
staticprivate |