15.14. nrf52840_pdk — NRF52840_PDK

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


Defines

pin_p00_dev
pin_p01_dev
pin_p02_dev
pin_p03_dev
pin_p04_dev
pin_p05_dev
pin_p06_dev
pin_p07_dev
pin_p08_dev
pin_p09_dev
pin_p10_dev
pin_p11_dev
pin_p12_dev
pin_p13_dev
pin_p14_dev
pin_p15_dev
pin_p16_dev
pin_p17_dev
pin_p18_dev
pin_p19_dev
pin_p20_dev
pin_p21_dev
pin_p22_dev
pin_p23_dev
pin_p24_dev
pin_p25_dev
pin_p26_dev
pin_p27_dev
pin_p28_dev
pin_p29_dev
pin_p30_dev
pin_p31_dev
pin_ain0_dev
pin_ain1_dev
pin_ain2_dev
pin_ain3_dev
pin_ain4_dev
pin_ain5_dev
pin_ain6_dev
pin_ain7_dev
pin_btn1_dev
pin_btn2_dev
pin_btn3_dev
pin_btn4_dev
pin_led1_dev
pin_led2_dev
pin_led3_dev
pin_led4_dev
pin_led_dev

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.