思澈科技软件开发工具包  2.20

Macros

#define HAL_ASSERT(expr)   ((expr) ? (void)0U : HAL_AssertFailed((char *)__FILE__, __LINE__))
 

Functions

void HAL_AssertFailed (char *file, uint32_t line)
 The assert failure printing. If BSP_USING_FULL_ASSERT is defined, the asser_failed function need to be implemented. More...
 
__STATIC_INLINE void HAL_sw_breakpoint (void)
 Debug function to stop current thread execution. More...
 
__STATIC_INLINE uint32_t HAL_DisableInterrupt (void)
 
__STATIC_INLINE void HAL_EnableInterrupt (uint32_t mask)
 
uint32_t HAL_GetLXTEnabled (void)
 

Detailed Description

HAL_Exported_Functions

Function Documentation

◆ HAL_AssertFailed()

void HAL_AssertFailed ( char *  file,
uint32_t  line 
)

The assert failure printing. If BSP_USING_FULL_ASSERT is defined, the asser_failed function need to be implemented.

Parameters
filefile name of source code for the failed assert
linecode line number for the failed assert
Return values
None

◆ HAL_sw_breakpoint()

__STATIC_INLINE void HAL_sw_breakpoint ( void  )

Debug function to stop current thread execution.

Return values
None