|
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)
|
ARM common macros for Atmel SAM families. More...
#include "atmel_start_pins.h"#include "err_codes.h"#include "hpl_reset.h"#include <ARM_CMSIS_INC>
Macros | |
| #define | SAM_HEADER(f) |
concatenate <hri_(f).h> name following sam family f | |
| #define | SAM_CONF_HEADER(f) |
<sam.h> name following sam family f | |
| #define | ARM_CMSIS_INC SAM_HEADER(SAM_FAMILY) |
| Alias for SAM CMSIS include. | |
| #define | ARM_HAL_CFG SAM_CONF_HEADER(SAM_FAMILY) |
| Alias for SAM HAL config include. | |
| #define | HAL_MAX_TICKS ((uint32_t) -1) |
| HAL max Ticks value. | |
| #define | HAL_MS_TICKS_FACTOR 1U |
| HAL milliseconds multiplier (depending tick counter frequency) | |
Enumerations | |
| enum | eResetSource { RST_POR = RESET_REASON_POR , RST_BODCORE = RESET_REASON_BODCORE , RST_BODVDD = RESET_REASON_BODVDD , RST_EXT = RESET_REASON_EXT , RST_WDT = RESET_REASON_WDT , RST_SYST = RESET_REASON_SYST , RST_UNKNOWN = 0xFFU } |
| Source of last reset. More... | |
ARM common macros for Atmel SAM families.
typedef name (misra-c2012-5.6)typedefs name are only defined once (other arm_chip_xxx files are not included at the same time).Please note TIMER_0_start() shall be called at init.
| #define ARM_CMSIS_INC SAM_HEADER(SAM_FAMILY) |
Alias for SAM CMSIS include.
| #define ARM_HAL_CFG SAM_CONF_HEADER(SAM_FAMILY) |
Alias for SAM HAL config include.
| #define HAL_MAX_TICKS ((uint32_t) -1) |
HAL max Ticks value.
| #define HAL_MS_TICKS_FACTOR 1U |
HAL milliseconds multiplier (depending tick counter frequency)
| #define SAM_CONF_HEADER | ( | f | ) |
<sam.h> name following sam family f
| #define SAM_HEADER | ( | f | ) |
| enum eResetSource |