Helper layer that provides the common functionality of LPCOMP driver.
More...
|
|
#define | NRFX_LPCOMP_INPUT_NOT_PRESENT UINT32_MAX |
| | Symbol specifying not existing analog input.
|
| |
Helper layer that provides the common functionality of LPCOMP driver.
◆ nrfx_lpcomp_ain_get()
Function for getting the LPCOMP input configuration for given generic analog input.
- Parameters
-
| [in] | input | The generic analog input to get the configuration for. |
- Returns
- The LPCOMP input configuration for the given analog input.
- Note
- The function returns NRFX_LPCOMP_INPUT_NOT_PRESENT for analog inputs that are not supported by the given device.
◆ nrfx_lpcomp_ext_ref_get()
Function for getting the LPCOMP external reference input configuration for given generic analog input.
- Parameters
-
| [in] | input | The generic analog input to get the configuration for. |
- Returns
- The LPCOMP external reference input configuration for the given analog input.
- Note
- The function returns NRFX_LPCOMP_INPUT_NOT_PRESENT for reference inputs that are not supported by the given device.
◆ nrfx_lpcomp_external_ref_psels
Initial value:=
{
LPCOMP_EXTERNAL_REF_PSELS
}
LPCOMP external analog reference pins mapping table.
◆ nrfx_lpcomp_psels
Initial value:=
{
LPCOMP_EXTERNAL_AIN_PSELS
}
LPCOMP external analog input pins mapping table.