Bela
Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Functions
PinmuxUtils Namespace Reference

Functions

bool check (const std::string &pin, const std::string &desiredState)
 
std::string get (const std::string &pin)
 
void set (const std::string &pin, const std::string &desiredState)
 

Detailed Description

Utilities to manipulate pinmux via bone-pinmux-helper

Function Documentation

bool PinmuxUtils::check ( const std::string &  pin,
const std::string &  desiredState 
)

Check whether the current state of

Parameters
pinmatches
desiredState.
std::string PinmuxUtils::get ( const std::string &  pin)

Check the current state of

Parameters
pin
void PinmuxUtils::set ( const std::string &  pin,
const std::string &  desiredState 
)

Set the state of

Parameters
pin