2 ms·
Addressing this is the general idea behind Hardware Abstraction Layers (HAL). In practice, HALs only work on a limited range of microcontrollers, but you could
by the__alchemist 6y ago
Addressing this is the general idea behind Hardware Abstraction Layers (HAL). In practice, HALs only work on a limited range of microcontrollers, but you could design a HAL that performs the most general functions (like GPIO setting and reading) that works across a diverse range of devices.