nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ board_version_get()

int board_version_get ( struct board_version * board_rev)

Get the board/HW version.

Note
This function will init the ADC, perform a reading, and return the HW version.
Parameters
board_revPointer to container for board version
Returns
0 on success. Error code on fault or -ESPIPE if no valid version found