STM32L486xx HAL User Manual
Functions
DEVICE ELECTRONIC SIGNATURE
UTILS Exported Functions

Functions

__STATIC_INLINE uint32_t LL_GetUID_Word0 (void)
 Get Word0 of the unique device identifier (UID based on 96 bits)
__STATIC_INLINE uint32_t LL_GetUID_Word1 (void)
 Get Word1 of the unique device identifier (UID based on 96 bits)
__STATIC_INLINE uint32_t LL_GetUID_Word2 (void)
 Get Word2 of the unique device identifier (UID based on 96 bits)
__STATIC_INLINE uint32_t LL_GetFlashSize (void)
 Get Flash memory size.
__STATIC_INLINE uint32_t LL_GetPackageType (void)
 Get Package type.

Function Documentation

__STATIC_INLINE uint32_t LL_GetFlashSize ( void  )

Get Flash memory size.

Note:
This bitfield indicates the size of the device Flash memory expressed in Kbytes. As an example, 0x040 corresponds to 64 Kbytes.
Return values:
FLASH_SIZE[15:0],:Flash memory size

Definition at line 247 of file stm32l4xx_ll_utils.h.

References FLASHSIZE_BASE_ADDRESS.

__STATIC_INLINE uint32_t LL_GetPackageType ( void  )
__STATIC_INLINE uint32_t LL_GetUID_Word0 ( void  )

Get Word0 of the unique device identifier (UID based on 96 bits)

Return values:
UID[31:0],:X and Y coordinates on the wafer expressed in BCD format

Definition at line 218 of file stm32l4xx_ll_utils.h.

References UID_BASE_ADDRESS.

__STATIC_INLINE uint32_t LL_GetUID_Word1 ( void  )

Get Word1 of the unique device identifier (UID based on 96 bits)

Return values:
UID[63:32],:Wafer number (UID[39:32]) & LOT_NUM[23:0] (UID[63:40])

Definition at line 227 of file stm32l4xx_ll_utils.h.

References UID_BASE_ADDRESS.

__STATIC_INLINE uint32_t LL_GetUID_Word2 ( void  )

Get Word2 of the unique device identifier (UID based on 96 bits)

Return values:
UID[95:64],:Lot number (ASCII encoded) - LOT_NUM[55:24]

Definition at line 236 of file stm32l4xx_ll_utils.h.

References UID_BASE_ADDRESS.