![]() |
nRF5 SDK
v15.0.0
|
Choose documentation: | nRF5 SDK | S112 SoftDevice API | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API |
The Low Power Comparator (LPCOMP) driver includes two layers: the hardware access layer (HAL) and the driver layer (DRV).
The hardware access 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 driver - legacy layer 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 - legacy layer for details.
The LPCOMP Example provides sample code that you can use to quickly get started.