sarmfsw: SMFSW Toolbox (for ARM & compatible with Arduino platform) 3.7
SMFSW collection of miscellaneous functions & macros (for ARM & compatible with Arduino platform)
|
ARM link with CMSIS files. More...
Macros | |
#define | diInterrupts() __disable_irq() |
Disable interruptions macro. | |
#define | enInterrupts() __enable_irq() |
Enable interruptions macro. | |
#define | CORE_CMSIS_VERSION __CM_CMSIS_VERSION |
CMSIS Core version alias. | |
#define | CORTEX_M __CORTEX_M |
ARM Cortex type alias. | |
#define | HALTICKS_PROTOTYPE(func) uint32_t func(void) |
External definition of Ticks getter that shall be implemented in project. | |
#define | HALTicks HAL_GetTick |
Alias for HAL get ticks function. | |
#define | HAL_MS_TICKS_FACTOR 1U |
HAL milliseconds multiplier (depending tick counter frequency) | |
#define | UNUSED(X) (void) (X) |
Unused parameter X (to avoid gcc/g++ warnings) | |
#define | UNUSED_RET (void) |
Explicitly ignore function return (MISRA compliance) | |
Functions | |
HALTICKS_PROTOTYPE (HAL_GetTick) | |
External definition of HAL_GetTick that shall be defined in project. | |
ARM link with CMSIS files.
#define
and #undef
on reserved identifiers (misra-c2012-21.1)#define CORE_CMSIS_VERSION __CM_CMSIS_VERSION |
CMSIS Core version alias.
#define CORTEX_M __CORTEX_M |
ARM Cortex type alias.
#define diInterrupts | ( | ) | __disable_irq() |
Disable interruptions macro.
#define enInterrupts | ( | ) | __enable_irq() |
Enable interruptions macro.
#define HAL_MS_TICKS_FACTOR 1U |
HAL milliseconds multiplier (depending tick counter frequency)
#define HALTicks HAL_GetTick |
Alias for HAL get ticks function.
#define HALTICKS_PROTOTYPE | ( | func | ) | uint32_t func(void) |
External definition of Ticks getter that shall be implemented in project.
func
paramater shall be a function name; raising error otherwise is intended.#define UNUSED | ( | X | ) | (void) (X) |
Unused parameter X
(to avoid gcc/g++ warnings)
#define UNUSED_RET (void) |
Explicitly ignore function return (MISRA compliance)
HALTICKS_PROTOTYPE | ( | HAL_GetTick | ) |
External definition of HAL_GetTick that shall be defined in project.