BlackDef.h File Reference
#include <string>
Include dependency graph for BlackDef.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 BlackLib
 

Enumerations

enum  BlackLib::direction {
  BlackLib::input = 1,
  BlackLib::output = 2,
  BlackLib::bothDirection = (input|output)
}
 
enum  BlackLib::runValue {
  BlackLib::stop = 0,
  BlackLib::run = 1
}
 
enum  BlackLib::timeType {
  BlackLib::picosecond = -12,
  BlackLib::nanosecond = -9,
  BlackLib::microsecond = -6,
  BlackLib::milisecond = -3,
  BlackLib::second = 1
}
 
enum  BlackLib::openMode {
  BlackLib::ReadOnly = 0,
  BlackLib::WriteOnly = 1,
  BlackLib::ReadWrite = 2,
  BlackLib::Append = 4,
  BlackLib::Truncate = 8,
  BlackLib::NonBlock = 16
}
 

Variables

const std::string BlackLib::DEFAULT_CAPE_MGR_NUMBER = "8"
 If capemgr finding fails, it uses this number. More...
 
const std::string BlackLib::DEFAULT_OCP_NUMBER = "2"
 If ocp finding fails, it uses this number. More...
 
const std::string BlackLib::DEFAULT_HELPER_NUMBER = "14"
 If helper finding fails, it uses this number. More...
 
const std::string BlackLib::DEFAULT_PWM_TEST_NUMBER = "15"
 If pwm_test finding fails, it uses this number. More...
 
const std::string BlackLib::DEFAULT_SPI0_PINMUX = "48030000"
 SPI0 pinmux number. More...
 
const std::string BlackLib::DEFAULT_SPI1_PINMUX = "481a0000"
 SPI1 pinmux number. More...
 
const unsigned int BlackLib::DEFAULT_OPEN_MODE = (ReadWrite)
 Default open mode. More...
 
const std::string BlackLib::PWM_TEST_NAME_NOT_FOUND = "PwmTestNameError"
 If pwm test name could not find, function returns this string. More...
 
const std::string BlackLib::GPIO_PIN_NOT_READY_STRING = "Gpio Pin Isn\'t Ready"
 If gpio pin is not ready, function returns this string. More...
 
const int BlackLib::GPIO_PIN_NOT_READY_INT = -2
 If gpio pin is not ready, function returns this integer. More...
 
const std::string BlackLib::UART_READ_FAILED = "UartReadError"
 If uart read is failed, function returns this string. More...
 
const std::string BlackLib::UART_WRITE_FAILED = "UartWriteError"
 If uart write is failed, function returns this string. More...
 
const std::string BlackLib::SEARCH_DIR_NOT_FOUND = "Not Found"
 If directory searching fails, function returns this string. More...
 
const std::string BlackLib::FILE_COULD_NOT_OPEN_STRING = "File Couldn\'t Open"
 If file could not open, function returns this string. More...
 
const int BlackLib::FILE_COULD_NOT_OPEN_INT = -1
 If file could not open, function returns this integer. More...
 
const float BlackLib::FILE_COULD_NOT_OPEN_FLOAT = -1.0
 If file could not open, function returns this float value. More...