Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
comp_nrf_lpcomp_config Struct Reference

Configuration structure. More...

#include <zephyr/drivers/comparator/nrf_lpcomp.h>

Data Fields

uint8_t psel
 Positive input selection defined by the NRF_COMP_AIN defines.
uint8_t extrefsel
 External reference input selection defined by the NRF_COMP_AIN defines.
enum comp_nrf_lpcomp_refsel refsel
 Reference selection.
bool enable_hyst
 Hysteresis configuration.

Detailed Description

Configuration structure.

Note
extrefsel is only used if refsel == COMP_NRF_LPCOMP_REFSEL_AREF

Field Documentation

◆ enable_hyst

bool comp_nrf_lpcomp_config::enable_hyst

Hysteresis configuration.

◆ extrefsel

uint8_t comp_nrf_lpcomp_config::extrefsel

External reference input selection defined by the NRF_COMP_AIN defines.

◆ psel

uint8_t comp_nrf_lpcomp_config::psel

Positive input selection defined by the NRF_COMP_AIN defines.

◆ refsel

enum comp_nrf_lpcomp_refsel comp_nrf_lpcomp_config::refsel

Reference selection.


The documentation for this struct was generated from the following file: