|
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 Arduino. More...
#include "WProgram.h"#include "pins_arduino.h"
Macros | |
| #define | diInterrupts() |
| Disable interruptions macro. | |
| #define | enInterrupts() |
| Enable interruptions macro. | |
| #define | HAL_MAX_TICKS ((DWORD) -1) |
| Max Ticks value. | |
| #define | HAL_MS_TICKS_FACTOR 1U |
| Milliseconds multiplier (depending tick counter frequency) | |
| #define | HALTicks millis |
| Alias for Arduino get ms ticks function. | |
Enumerations | |
| enum | eResetSource { RST_POR = 1U , RST_UNKNOWN = 0xFFU } |
| Source of last reset. More... | |
Common macros for Arduino.
typedef name (misra-c2012-5.6)typedefs name are only defined once (other arm_chip_xxx files are not included at the same time).| #define diInterrupts | ( | ) |
Disable interruptions macro.
| #define enInterrupts | ( | ) |
Enable interruptions macro.
| #define HAL_MAX_TICKS ((DWORD) -1) |
Max Ticks value.
| #define HAL_MS_TICKS_FACTOR 1U |
Milliseconds multiplier (depending tick counter frequency)
| #define HALTicks millis |
Alias for Arduino get ms ticks function.
| enum eResetSource |
Source of last reset.
#undef (misra-c2012-20.5)| Enumerator | |
|---|---|
| RST_POR | Power On Reset. |
| RST_UNKNOWN | Unknown Reset Source. |