mraa  0.9.0
Low Level Skeleton Library for Communication on GNU/Linux platforms
Namespaces | Functions
common.hpp File Reference

API Description

This file defines the interface for libmraa common functions

Go to the source code of this file.

Namespaces

 mraa
 

Functions

Result init ()
 
std::string getVersion ()
 
int setPriority (const unsigned int priority)
 
Platform getPlatformType ()
 
void printError (Result result)
 
bool pinModeTest (int pin, Pinmodes mode)
 
unsigned int adcRawBits ()
 
unsigned int adcSupportedBits ()
 
std::string getPlatformName ()
 
unsigned int getPinCount ()
 
int getI2cBusCount ()
 
int getI2cBusId (unsigned int i2c_bus)
 
std::string getPinName (int pin)
 
Result setLogLevel (int level)
 
bool hasSubPlatform ()
 
bool isSubPlatformId (int pin_or_bus_id)
 
int getSubPlatformId (int pin_or_bus_index)
 
int getSubPlatformIndex (int pin_or_bus_id)
 
Include dependency graph for common.hpp: