Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
|
4.1.99 |
#include <zephyr/drivers/comparator.h>
Go to the source code of this file.
Data Structures | |
struct | comp_nrf_lpcomp_config |
Configuration structure. More... | |
Functions | |
int | comp_nrf_lpcomp_configure (const struct device *dev, const struct comp_nrf_lpcomp_config *config) |
Configure comparator. | |
enum comp_nrf_lpcomp_psel |
Positive input selection.
Reference selection.
int comp_nrf_lpcomp_configure | ( | const struct device * | dev, |
const struct comp_nrf_lpcomp_config * | config ) |
Configure comparator.
dev | Comparator device instance |
config | Configuration |
0 | if successful |
negative | errno-code otherwise |