Helper layer that provides the common functionality of COMP driver.
More...
|
|
#define | NRFX_COMP_INPUT_NOT_PRESENT UINT32_MAX |
| | Symbol specifying not existing analog input.
|
| |
Helper layer that provides the common functionality of COMP driver.
◆ nrfx_comp_ain_get()
Function for getting the COMP input configuration for given generic analog input.
- Parameters
-
| [in] | input | The generic analog input to get the configuration for. |
- Returns
- The COMP input configuration for the given analog input.
- Note
- The function takes into account the internal and external analog inputs. The function returns NRFX_COMP_INPUT_NOT_PRESENT for analog inputs that are not supported by the given device.
◆ nrfx_comp_ext_ref_get()
Function for getting the COMP external reference input configuration for given generic analog input.
- Parameters
-
| [in] | input | The generic analog input to get the configuration for. |
- Returns
- The COMP external reference input configuration for the given analog input.
- Note
- The function returns NRFX_COMP_INPUT_NOT_PRESENT for reference inputs that are not supported by the given device.
◆ nrfx_comp_external_ain_psels
Initial value:=
{
COMP_EXTERNAL_AIN_PSELS
}
COMP external analog input pins mapping table.
◆ nrfx_comp_external_ref_psels
Initial value:=
{
COMP_EXTERNAL_REF_PSELS
}
COMP external analog reference pins mapping table.
◆ nrfx_comp_internal_ain_psels
Initial value:=
{
}
uint32_t nrf_comp_input_t
COMP analog pin selection.
Definition nrf_comp.h:143
COMP internal inputs mapping table.