STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
Collaboration diagram for MCU INFO:

Functions

__STATIC_INLINE uint32_t LL_CPUID_GetImplementer (void)
 Get Implementer code @rmtoll SCB_CPUID IMPLEMENTER LL_CPUID_GetImplementer.
__STATIC_INLINE uint32_t LL_CPUID_GetVariant (void)
 Get Variant number (The r value in the rnpn product revision identifier) @rmtoll SCB_CPUID VARIANT LL_CPUID_GetVariant.
__STATIC_INLINE uint32_t LL_CPUID_GetConstant (void)
 Get Constant number @rmtoll SCB_CPUID ARCHITECTURE LL_CPUID_GetConstant.
__STATIC_INLINE uint32_t LL_CPUID_GetParNo (void)
 Get Part number @rmtoll SCB_CPUID PARTNO LL_CPUID_GetParNo.
__STATIC_INLINE uint32_t LL_CPUID_GetRevision (void)
 Get Revision number (The p value in the rnpn product revision identifier, indicates patch release) @rmtoll SCB_CPUID REVISION LL_CPUID_GetRevision.

Detailed Description

Function Documentation

◆ LL_CPUID_GetConstant()

__STATIC_INLINE uint32_t LL_CPUID_GetConstant ( void )

Get Constant number @rmtoll SCB_CPUID ARCHITECTURE LL_CPUID_GetConstant.

Return values
Valueshould be equal to 0xF for Cortex-M7 and Cortex-M4 devices

Definition at line 450 of file stm32h7xx_ll_cortex.h.

References __STATIC_INLINE, READ_BIT, SCB, SCB_CPUID_ARCHITECTURE_Msk, and SCB_CPUID_ARCHITECTURE_Pos.

◆ LL_CPUID_GetImplementer()

__STATIC_INLINE uint32_t LL_CPUID_GetImplementer ( void )

Get Implementer code @rmtoll SCB_CPUID IMPLEMENTER LL_CPUID_GetImplementer.

Return values
Valueshould be equal to 0x41 for ARM

Definition at line 430 of file stm32h7xx_ll_cortex.h.

References __STATIC_INLINE, READ_BIT, SCB, SCB_CPUID_IMPLEMENTER_Msk, and SCB_CPUID_IMPLEMENTER_Pos.

◆ LL_CPUID_GetParNo()

__STATIC_INLINE uint32_t LL_CPUID_GetParNo ( void )

Get Part number @rmtoll SCB_CPUID PARTNO LL_CPUID_GetParNo.

Return values
Valueshould be equal to 0xC27 for Cortex-M7 and equal to 0xC24 for Cortex-M4

Definition at line 460 of file stm32h7xx_ll_cortex.h.

References __STATIC_INLINE, READ_BIT, SCB, SCB_CPUID_PARTNO_Msk, and SCB_CPUID_PARTNO_Pos.

◆ LL_CPUID_GetRevision()

__STATIC_INLINE uint32_t LL_CPUID_GetRevision ( void )

Get Revision number (The p value in the rnpn product revision identifier, indicates patch release) @rmtoll SCB_CPUID REVISION LL_CPUID_GetRevision.

Return values
Valuebetween 0 and 255 (0x1: patch 1)

Definition at line 470 of file stm32h7xx_ll_cortex.h.

References __STATIC_INLINE, READ_BIT, SCB, SCB_CPUID_REVISION_Msk, and SCB_CPUID_REVISION_Pos.

◆ LL_CPUID_GetVariant()

__STATIC_INLINE uint32_t LL_CPUID_GetVariant ( void )

Get Variant number (The r value in the rnpn product revision identifier) @rmtoll SCB_CPUID VARIANT LL_CPUID_GetVariant.

Return values
Valuebetween 0 and 255 (0x0: revision 0)

Definition at line 440 of file stm32h7xx_ll_cortex.h.

References __STATIC_INLINE, READ_BIT, SCB, SCB_CPUID_VARIANT_Msk, and SCB_CPUID_VARIANT_Pos.