Skip to content

Commit 04f7fc5

Browse files
nika-nordiccfriedt
authored andcommitted
drivers: adc: nrfx_saadc: remove VDD and DVDD inputs for nRF54LV10A
MDK 8.72.1 does not specify VDD and DVDD internal analog inputs for this SoC. Signed-off-by: Nikodem Kastelik <[email protected]>
1 parent 2a615c4 commit 04f7fc5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/adc/adc_nrfx_saadc.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static const uint32_t saadc_psels[NRF_SAADC_DVDD + 1] = {
6666
[NRF_SAADC_DVDD] = NRF_SAADC_INPUT_DVDD,
6767
};
6868
#elif defined(NRF54LV10A_ENGA_XXAA)
69-
static const uint32_t saadc_psels[NRF_SAADC_DVDD + 1] = {
69+
static const uint32_t saadc_psels[NRF_SAADC_AIN7 + 1] = {
7070
[NRF_SAADC_AIN0] = NRF_PIN_PORT_TO_PIN_NUMBER(0U, 1),
7171
[NRF_SAADC_AIN1] = NRF_PIN_PORT_TO_PIN_NUMBER(1U, 1),
7272
[NRF_SAADC_AIN2] = NRF_PIN_PORT_TO_PIN_NUMBER(2U, 1),
@@ -75,8 +75,6 @@ static const uint32_t saadc_psels[NRF_SAADC_DVDD + 1] = {
7575
[NRF_SAADC_AIN5] = NRF_PIN_PORT_TO_PIN_NUMBER(10U, 1),
7676
[NRF_SAADC_AIN6] = NRF_PIN_PORT_TO_PIN_NUMBER(11U, 1),
7777
[NRF_SAADC_AIN7] = NRF_PIN_PORT_TO_PIN_NUMBER(12U, 1),
78-
[NRF_SAADC_VDD] = NRF_SAADC_INPUT_VDD,
79-
[NRF_SAADC_DVDD] = NRF_SAADC_INPUT_DVDD,
8078
};
8179
#endif
8280

0 commit comments

Comments
 (0)