4.9. Hardware Abstraction Layer (HAL)¶
The HAL is used by the MCAF to decouple all knowledge of device-specific hardware registers, via well-known function calls. At this time of writing, the HAL is hand-coded to work with the dsPICDEM® MCLV‑2 Development Board, but future versions are intended to utilize Microchip’s MPLAB® Code Configurator and MPLAB® Harmony Configurator.
As long as the HAL function names and semantics are preserved, the HAL component can be swapped out and replaced with an alternative implementation.
More information is available in the HAL documentation.