libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
#include <libopencm3/stm32/desig.h>
Go to the source code of this file.
Functions | |
uint16_t | desig_get_flash_size (void) |
Read the on board flash size. More... | |
void | desig_get_unique_id (uint32_t *result) |
Read the full 96 bit unique identifier Note: ST specifies that bits 31..16 are also reserved for future use. More... | |
uint16_t desig_get_flash_size | ( | void | ) |
Read the on board flash size.
Definition at line 22 of file desig_common_v1.c.
References DESIG_FLASH_SIZE_BASE.
void desig_get_unique_id | ( | uint32_t * | result | ) |
Read the full 96 bit unique identifier Note: ST specifies that bits 31..16 are also reserved for future use.
result | pointer to at least 3xuint32_ts (96 bits) |
Definition at line 27 of file desig_common_v1.c.
References DESIG_UNIQUE_ID0, DESIG_UNIQUE_ID1, and DESIG_UNIQUE_ID2.
Referenced by desig_get_unique_id_as_dfu(), and desig_get_unique_id_as_string().