sarmfsw: SMFSW Toolbox (for ARM & compatible with Arduino platform) 3.7
SMFSW collection of miscellaneous functions & macros (for ARM & compatible with Arduino platform)
|
Common macros for PIC. More...
#include "xc.h"
Macros | |
#define | diInterrupts() __builtin_disable_interrupts() |
Disable interruptions macro. | |
#define | enInterrupts() __builtin_enable_interrupts() |
Enable interruptions macro. | |
#define | HAL_MAX_TICKS ((uint32_t) -1) |
Max Ticks value. | |
#define | HAL_MS_TICKS_FACTOR 1 |
Milliseconds multiplier (depending tick counter frequency) | |
Typedefs | |
typedef enum eResetSource | eResetSource |
Enumerations | |
enum | eResetSource { RST_POR = 1 , RST_UNKNOWN = 0xFF } |
Source of last reset. More... | |
Common macros for PIC.
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 | ( | ) | __builtin_disable_interrupts() |
Disable interruptions macro.
#define enInterrupts | ( | ) | __builtin_enable_interrupts() |
Enable interruptions macro.
#define HAL_MAX_TICKS ((uint32_t) -1) |
Max Ticks value.
#define HAL_MS_TICKS_FACTOR 1 |
Milliseconds multiplier (depending tick counter frequency)
typedef enum eResetSource eResetSource |
enum eResetSource |