nRF5 SDK v15.3.0
Data Fields
nrfx_comp_config_t Struct Reference

COMP configuration. More...

#include <nrfx_comp.h>

Data Fields

nrf_comp_ref_t reference
 
nrf_comp_ext_ref_t ext_ref
 
nrf_comp_main_mode_t main_mode
 
nrf_comp_th_t threshold
 
nrf_comp_sp_mode_t speed_mode
 
nrf_comp_hyst_t hyst
 
nrf_isource_t isource
 
nrf_comp_input_t input
 
uint8_t interrupt_priority
 

Detailed Description

COMP configuration.

Field Documentation

nrf_comp_ext_ref_t nrfx_comp_config_t::ext_ref

External analog reference selection.

nrf_comp_hyst_t nrfx_comp_config_t::hyst

Comparator hysteresis.

nrf_comp_input_t nrfx_comp_config_t::input

Input to be monitored.

uint8_t nrfx_comp_config_t::interrupt_priority

Interrupt priority.

nrf_isource_t nrfx_comp_config_t::isource

Current source selected on analog input.

nrf_comp_main_mode_t nrfx_comp_config_t::main_mode

Main operation mode.

nrf_comp_ref_t nrfx_comp_config_t::reference

Reference selection.

nrf_comp_sp_mode_t nrfx_comp_config_t::speed_mode

Speed and power mode.

nrf_comp_th_t nrfx_comp_config_t::threshold

Structure holding THDOWN and THUP values needed by the COMP_TH register.


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

Documentation feedback | Developer Zone | Subscribe | Updated