14.5. arduino_uno — Arduino Uno

Source code: src/boards/arduino_uno/board.h, src/boards/arduino_uno/board.c

Hardware reference: Arduino Uno


pin_d2_dev pin_device[2]
pin_d3_dev pin_device[3]
pin_d4_dev pin_device[4]
pin_d5_dev pin_device[5]
pin_d6_dev pin_device[6]
pin_d7_dev pin_device[7]
pin_d8_dev pin_device[8]
pin_d9_dev pin_device[9]
pin_d10_dev pin_device[10]
pin_d11_dev pin_device[11]
pin_d12_dev pin_device[12]
pin_d13_dev pin_device[13]
pin_a0_dev pin_device[14]
pin_a1_dev pin_device[15]
pin_a2_dev pin_device[16]
pin_a3_dev pin_device[17]
pin_a4_dev pin_device[18]
pin_a5_dev pin_device[19]
pin_led_dev pin_d13_dev
exti_d2_dev exti_device[0]
exti_d3_dev exti_device[1]
pwm_d3_dev pwm_device[3]
pwm_d9_dev pwm_device[0]
pwm_d10_dev pwm_device[1]
pwm_d11_dev pwm_device[2]
adc_0_dev adc_device[0]
i2c_0_dev i2c_device[0]


int board_pin_string_to_device_index(const char *str_p)

Convert given pin string to the pin number.

Pin number or negative error code.
  • str_p: Pin as a string.