Hal Drivers for L4

Dependents:   BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo

Fork of STM32L4xx_HAL_Driver by Senior Design: Sound Monitor

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 165 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_LQPF100
  • LL_UTILS_PACKAGETYPE_BGA132
  • LL_UTILS_PACKAGETYPE_LQFP144_CSP72

Definition at line 178 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 136 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 145 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[31:24]

Definition at line 154 of file stm32l4xx_ll_utils.h.