Skip to content

Common library

The common library

Configure

``` cpp // 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

cpp 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

cpp hV_HAL_exit();

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