Common library¶
The common library
- 
provides a light hardware abstraction layer to manage the GPIO, UART, SPI and I²C peripherals. 
- 
shares utilities across the different libraries; 
- 
exposes the parameters to set diverse options; 
- 
defines the structure and lists the pre-configured main controller boards; 
- 
lists the supported screen constants. 
Configure¶
// SDK and configuration
#include "PDLS_Common.h"
The pre-processor statement calls the umbrella PDLS_Common header file, which includes the SDK with the peripherals library, and the configuration with the common library.
Use¶
hV_HAL_begin();
- hV_HAL_begin()
- proceeds with the general initialisation. It configures and starts the peripherals GPIO, UART, SPI, and I²C if needed.
Terminate¶
hV_HAL_exit();
- hV_HAL_exit()
- displays the codevalue, and enters an endless loop for micro-controllers.