TUKS MCU Introductory course / TUKS-COURSE-2-LED
Embed: (wiki syntax)

« Back to documentation index

DEVICE ELECTRONIC SIGNATURE

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 243 of file stm32l4xx_ll_utils.h.

__STATIC_INLINE uint32_t LL_GetPackageType ( void   )

Get Package type.

Return values:
Returnedvalue can be one of the following values:

  • LL_UTILS_PACKAGETYPE_LQFP64 (*)
  • LL_UTILS_PACKAGETYPE_LQFP100 (*)
  • LL_UTILS_PACKAGETYPE_BGA132 (*)
  • LL_UTILS_PACKAGETYPE_LQFP144_CSP72 (*)
  • LL_UTILS_PACKAGETYPE_UFQFPN32 (*)
  • LL_UTILS_PACKAGETYPE_UFQFPN48 (*)
  • LL_UTILS_PACKAGETYPE_LQFP48 (*)
  • LL_UTILS_PACKAGETYPE_WLCSP49 (*)
  • LL_UTILS_PACKAGETYPE_UFBGA64 (*)
  • LL_UTILS_PACKAGETYPE_UFBGA100 (*)

(*) value not defined in all devices.

Definition at line 264 of file stm32l4xx_ll_utils.h.

__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 214 of file stm32l4xx_ll_utils.h.

__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 223 of file stm32l4xx_ll_utils.h.

__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 232 of file stm32l4xx_ll_utils.h.