|
sarmfsw: SMFSW Toolbox (desinged for ARM / compatible with other 8b/16b/32b platforms) 4.0rc
SMFSW collection of miscellaneous functions \& macros (desinged for ARM / compatible with other 8b/16b/32b platforms)
|
Common macros for PIC. More...
#include "xc.h"
Macros | |
| #define | diInterrupts() |
| Disable interruptions macro. | |
| #define | enInterrupts() |
| Enable interruptions macro. | |
| #define | HAL_MAX_TICKS ((uint32_t) -1) |
| Max Ticks value. | |
| #define | HAL_MS_TICKS_FACTOR 1U |
| Milliseconds multiplier (depending tick counter frequency) | |
Enumerations | |
| enum | eResetSource { RST_POR = 1U , RST_UNKNOWN = 0xFFU } |
| Source of last reset. More... | |
Common macros for PIC.
typedef name (misra-c2012-5.6)typedefs name are only defined once (other arm_chip_xxx files are not included at the same time).HAL_GetTick shall be known to sarmfsw. As no specific project header is included yet in this file, external definition is provided.
#undef (misra-c2012-20.5)| #define diInterrupts | ( | ) |
Disable interruptions macro.
| #define enInterrupts | ( | ) |
Enable interruptions macro.
| #define HAL_MAX_TICKS ((uint32_t) -1) |
Max Ticks value.
| #define HAL_MS_TICKS_FACTOR 1U |
Milliseconds multiplier (depending tick counter frequency)
| enum eResetSource |