nRF51 SDK - S110 SoftDevice
|
The Low Power Comparator (LPCOMP) driver includes two layers: the hardware abstraction layer (HAL) and the driver layer (DRV).
The hardware abstraction layer provides basic APIs for accessing the registers of the LPCOMP. All functions in this layer are implemented as inline functions. See the API documentation for the LPCOMP HAL for details.
The driver layer provides support for single instances and APIs on a higher level than the HAL. See the API documentation for the LPCOMP driver for details.
The LPCOMP Example provides sample code that you can use to quickly get started.