15.12. nano32 — Nano32

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

Hardware reference: Nano32


Defines

pin_gpio00_dev pin_device[0]
pin_gpio01_dev pin_device[1]
pin_gpio02_dev pin_device[2]
pin_gpio03_dev pin_device[3]
pin_gpio04_dev pin_device[4]
pin_gpio05_dev pin_device[5]
pin_gpio06_dev pin_device[6]
pin_gpio07_dev pin_device[7]
pin_gpio08_dev pin_device[8]
pin_gpio09_dev pin_device[9]
pin_gpio10_dev pin_device[10]
pin_gpio11_dev pin_device[11]
pin_gpio12_dev pin_device[12]
pin_gpio13_dev pin_device[13]
pin_gpio14_dev pin_device[14]
pin_gpio15_dev pin_device[15]
pin_gpio16_dev pin_device[16]
pin_gpio17_dev pin_device[17]
pin_gpio18_dev pin_device[18]
pin_gpio19_dev pin_device[19]
pin_gpio21_dev pin_device[21]
pin_gpio22_dev pin_device[22]
pin_gpio23_dev pin_device[23]
pin_gpio25_dev pin_device[25]
pin_gpio26_dev pin_device[26]
pin_gpio27_dev pin_device[27]
pin_gpio32_dev pin_device[28]
pin_gpio33_dev pin_device[29]
pin_gpio34_dev pin_device[30]
pin_gpio35_dev pin_device[31]
pin_gpio36_dev pin_device[32]
pin_gpio39_dev pin_device[35]
pin_led_dev pin_gpio16_dev
pin_dac1_dev pin_gpio25_dev
pin_dac2_dev pin_gpio26_dev
pin_a0_dev pin_gpio36_dev
pin_a3_dev pin_gpio39_dev
pin_a4_dev pin_gpio32_dev
pin_a5_dev pin_gpio33_dev
pin_a6_dev pin_gpio34_dev
pin_a7_dev pin_gpio35_dev
i2c_dev i2c_device[0]
spi_h_dev spi_device[1]
spi_v_dev spi_device[2]
adc_0_dev adc_device[0]
adc_1_dev adc_device[1]
flash_0_dev flash_device[0]
dac_0_dev dac_device[0]
ADC_PINS_MAX 16

Functions

int board_pin_string_to_device_index(const char *str_p)

Convert given pin string to the pin number.

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