Core Library
Core library functions initialize µC/CPU, handle software exceptions, and include features such as counting the leading or trailing zeros in a word. These features are configured in cpu_cfg.h
and defined in cpu_core.c
.
Core Library Configuration
The following core µC/CPU configurations must be configured in cpu_cfg.h
:
CPU_CFG_LEAD_ZEROS_ASM_PRESENT
Implements counting leading zeros functionality in assembly (see CPU_CntLeadZerosXX). This feature is enabled if the macro is #define'd
in cpu_cfg.h
(or cpu.h
).
CPU_CFG_TRAIL_ZEROS_ASM_PRESENT
Implements counting trailing zeros functionality in assembly (see CPU_CntTrailZerosXX). This feature is enabled if the macro is #define'd
in cpu_cfg.h
(or cpu.h
).