Home
last modified time | relevance | path

Searched refs:platform_offset (Results 1 – 4 of 4) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/api/mraa/
Dcommon.h113 unsigned int mraa_get_platform_adc_raw_bits(uint8_t platform_offset);
128 unsigned int mraa_get_platform_adc_supported_bits(int platform_offset);
153 const char* mraa_get_platform_version(int platform_offset);
227 unsigned int mraa_get_platform_pin_count(uint8_t platform_offset);
242 int mraa_get_default_i2c_bus(uint8_t platform_offset);
Dcommon.hpp164 getPlatformVersion(int platform_offset=MRAA_MAIN_PLATFORM_OFFSET) in getPlatformVersion() argument
166 std::string ret_val(mraa_get_platform_version(platform_offset)); in getPlatformVersion()
/hardware/bsp/intel/peripheral/libmraa/src/
Dmraa.c432 mraa_get_platform_adc_raw_bits(uint8_t platform_offset) in mraa_get_platform_adc_raw_bits() argument
434 if (platform_offset == MRAA_MAIN_PLATFORM_OFFSET) in mraa_get_platform_adc_raw_bits()
461 mraa_get_platform_adc_supported_bits(int platform_offset) in mraa_get_platform_adc_supported_bits() argument
463 if (platform_offset == MRAA_MAIN_PLATFORM_OFFSET) in mraa_get_platform_adc_supported_bits()
483 mraa_get_platform_version(int platform_offset) in mraa_get_platform_version() argument
488 if (platform_offset == MRAA_MAIN_PLATFORM_OFFSET) { in mraa_get_platform_version()
528 mraa_get_platform_pin_count(uint8_t platform_offset) in mraa_get_platform_pin_count() argument
530 if (platform_offset == MRAA_MAIN_PLATFORM_OFFSET) in mraa_get_platform_pin_count()
563 mraa_get_default_i2c_bus(uint8_t platform_offset) in mraa_get_default_i2c_bus() argument
567 if (platform_offset == MRAA_MAIN_PLATFORM_OFFSET) { in mraa_get_default_i2c_bus()
/hardware/bsp/intel/peripheral/libmraa/examples/
Dmraa-gpio.c63 list_platform_pins(uint8_t platform_offset) in list_platform_pins() argument
65 int pin_count = mraa_get_platform_pin_count(platform_offset); in list_platform_pins()
68 int pin_id = platform_offset > 0 ? mraa_get_sub_platform_id(i) : i; in list_platform_pins()