unique_id.h File Reference
#include "pico.h"
Include dependency graph for unique_id.h:

Go to the source code of this file.

Data Structures

struct  pico_unique_board_id_t
 Unique board identifierThis struct is suitable for holding the unique identifier of a NOR flash device on an RP2040-based board. It contains an array of PICO_UNIQUE_BOARD_ID_SIZE_BYTES identifier bytes. More...
 

Macros

#define PICO_UNIQUE_BOARD_ID_SIZE_BYTES   8
 

Functions

void pico_get_unique_board_id (pico_unique_board_id_t *id_out)
 Get unique IDGet the unique 64-bit device identifier which was retrieved from the external NOR flash device at boot. More...
 
void pico_get_unique_board_id_string (char *id_out, uint len)
 Get unique ID in string formatGet the unique 64-bit device identifier which was retrieved from the external NOR flash device at boot, formatted as an ASCII hex string. Will always 0-terminate. More...