|
mraa
1.6.0
Low Level Skeleton Library for Communication on GNU/Linux platforms
|
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 int priority) |
| Platform | getPlatformType () |
| void | printError (Result result) |
| bool | pinModeTest (int pin, Pinmodes mode) |
| unsigned int | adcRawBits () |
| unsigned int | adcSupportedBits () |
| std::string | getPlatformName () |
| std::string | getPlatformVersion (int platform_offset=MRAA_MAIN_PLATFORM_OFFSET) |
| unsigned int | getPinCount () |
| int | getI2cBusCount () |
| int | getI2cBusId (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) |
| int | getDefaultI2cBus (int platform_offset=MRAA_MAIN_PLATFORM_OFFSET) |
| Result | addSubplatform (Platform subplatformtype, std::string uart_dev) |
| Result | removeSubplatform (Platform subplatformtype) |
| template<class T > | |
| T * | initIo (std::string desc) |
| Result | initJsonPlatform (std::string path) |

1.8.6