Searched refs:pin_id (Results 1 – 1 of 1) sorted by relevance
68 int pin_id = platform_offset > 0 ? mraa_get_sub_platform_id(i) : i; in list_platform_pins() local69 char* pin_name = mraa_get_pin_name(pin_id); in list_platform_pins()71 fprintf(stdout, "%02d ", pin_id); in list_platform_pins()73 if (mraa_pin_mode_test(pin_id, MRAA_PIN_GPIO)) in list_platform_pins()75 if (mraa_pin_mode_test(pin_id, MRAA_PIN_I2C)) in list_platform_pins()77 if (mraa_pin_mode_test(pin_id, MRAA_PIN_SPI)) in list_platform_pins()79 if (mraa_pin_mode_test(pin_id, MRAA_PIN_PWM)) in list_platform_pins()81 if (mraa_pin_mode_test(pin_id, MRAA_PIN_AIO)) in list_platform_pins()83 if (mraa_pin_mode_test(pin_id, MRAA_PIN_UART)) in list_platform_pins()