32#define HAL_MAX_DELAY 0xFFFFFFFFU
35# error "USE_RTOS should be 0 in the current HAL release"
37# define __HAL_LOCK(__HANDLE__) \
39 if ((__HANDLE__)->Lock == HAL_LOCKED) { \
42 (__HANDLE__)->Lock = HAL_LOCKED; \
46# define __HAL_UNLOCK(__HANDLE__) \
48 (__HANDLE__)->Lock = HAL_UNLOCKED; \
52#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L
53# ifndef VSF_STHAL_ASSERT
54# define VSF_STHAL_ASSERT(__CON) VSF_ASSERT(__CON)
57# ifndef VSF_STHAL_ASSERT
58# define VSF_STHAL_ASSERT(...) VSF_ASSERT(__VA_ARGS__)
HAL_StatusTypeDef
Definition sthal_def.h:65
@ HAL_TIMEOUT
Definition sthal_def.h:69
@ HAL_ERROR
Definition sthal_def.h:67
@ HAL_OK
Definition sthal_def.h:66
@ HAL_BUSY
Definition sthal_def.h:68
HAL_LockTypeDef
Definition sthal_def.h:72
@ HAL_LOCKED
Definition sthal_def.h:74
@ HAL_UNLOCKED
Definition sthal_def.h:73