Skip to content

Common libraries

The common libraries

Configure

Main code
// SDK and configuration
#include "PDLS_Common.h"

The pre-processor statement calls the common libraries. The PDLS_Common umbrella header file includes the SDK with the peripherals library, the utilities, the constants and the configuration.

Use

Main code
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

Main code
hV_HAL_exit();
hV_HAL_exit()
displays the code value, and enters an endless loop for micro-controllers.