nrfx 2.5
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

◆ ext_ref

nrf_comp_ext_ref_t nrfx_comp_config_t::ext_ref

External analog reference selection.

◆ hyst

nrf_comp_hyst_t nrfx_comp_config_t::hyst

Comparator hysteresis.

◆ input

nrf_comp_input_t nrfx_comp_config_t::input

Input to be monitored.

◆ interrupt_priority

uint8_t nrfx_comp_config_t::interrupt_priority

Interrupt priority.

◆ isource

nrf_isource_t nrfx_comp_config_t::isource

Current source selected on analog input.

◆ main_mode

nrf_comp_main_mode_t nrfx_comp_config_t::main_mode

Main operation mode.

◆ reference

nrf_comp_ref_t nrfx_comp_config_t::reference

Reference selection.

◆ speed_mode

nrf_comp_sp_mode_t nrfx_comp_config_t::speed_mode

Speed and power mode.

◆ threshold

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