COMP configuration. More...
#include <nrf_drv_comp.h>
COMP configuration.
nrf_comp_ext_ref_t nrf_drv_comp_config_t::ext_ref |
External analog reference selection.
nrf_comp_hyst_t nrf_drv_comp_config_t::hyst |
Comparator hysteresis.
nrf_comp_input_t nrf_drv_comp_config_t::input |
Input to be monitored.
uint8_t nrf_drv_comp_config_t::interrupt_priority |
Interrupt priority.
nrf_isource_t nrf_drv_comp_config_t::isource |
Current source selected on analog input.
nrf_comp_main_mode_t nrf_drv_comp_config_t::main_mode |
Main operation mode.
nrf_comp_ref_t nrf_drv_comp_config_t::reference |
Reference selection.
nrf_comp_sp_mode_t nrf_drv_comp_config_t::speed_mode |
Speed and power mode.
nrf_comp_th_t nrf_drv_comp_config_t::threshold |
Structure holding THDOWN and THUP values needed by the COMP_TH register.