<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Simple ADC Code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46716/simple-adc-code</link><description>Hello, 
 I am want to read Analog value from LDR sensor. I am unable to find ADC Input pin in nrf52840 Dongle datasheet but I got it in nrf52840 chip datasheet (page -576) which is - P0.31 . But as a newly bid I don&amp;#39;t know how to read analog input. Can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Apr 2022 15:33:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46716/simple-adc-code" /><item><title>RE: Simple ADC Code</title><link>https://devzone.nordicsemi.com/thread/362650?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 15:33:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5dc1459b-aad9-4f38-a26c-e9acfa68a2b8</guid><dc:creator>ChrtistophAT</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;gt; Executing task: nRF Connect: Generate config nrf5340dk_nrf5340_cpuapp for c:\nordicsemi\myapps\nrfx_saadc &amp;lt;

Building nrfx_saadc
west build --build-dir c:\nordicsemi\myapps\nrfx_saadc\build_nrf5340DK c:\nordicsemi\myapps\nrfx_saadc --pristine --board nrf5340dk_nrf5340_cpuapp -- -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING=&amp;quot;NONE&amp;quot;

-- west build: generating a build system
Including boilerplate (Zephyr base): C:/nordicsemi/v1.9.1/zephyr/cmake/app/boilerplate.cmake
-- Application: C:/nordicsemi/myapps/nrfx_saadc
-- Zephyr version: 2.7.99 (C:/nordicsemi/v1.9.1/zephyr), build: v2.7.99-ncs1-1
-- Found Python3: C:/nordicsemi/v1.9.1/toolchain/opt/bin/python.exe (found suitable exact version &amp;quot;3.8.2&amp;quot;) found components: Interpreter 
-- Found west (found suitable version &amp;quot;0.12.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Board: nrf5340dk_nrf5340_cpuapp
-- Cache files will be written to: C:/nordicsemi/v1.9.1/zephyr/.cache
-- Found dtc: C:/nordicsemi/v1.9.1/toolchain/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found toolchain: gnuarmemb (c:/nordicsemi/v1.9.1/toolchain/opt)
-- Found BOARD.dts: C:/nordicsemi/v1.9.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts
-- Generated zephyr.dts: C:/nordicsemi/myapps/nrfx_saadc/build_nrf5340DK/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: C:/nordicsemi/myapps/nrfx_saadc/build_nrf5340DK/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: C:/nordicsemi/myapps/nrfx_saadc/build_nrf5340DK/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: C:/nordicsemi/myapps/nrfx_saadc/build_nrf5340DK/zephyr/dts.cmake
Parsing C:/nordicsemi/myapps/nrfx_saadc/Kconfig
Loaded configuration &amp;#39;C:/nordicsemi/v1.9.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_defconfig&amp;#39;
Merged configuration &amp;#39;C:/nordicsemi/myapps/nrfx_saadc/prj.conf&amp;#39;
Configuration saved to &amp;#39;C:/nordicsemi/myapps/nrfx_saadc/build_nrf5340DK/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;C:/nordicsemi/myapps/nrfx_saadc/build_nrf5340DK/zephyr/include/generated/autoconf.h&amp;#39;
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- The ASM compiler identification is GNU
-- Found assembler: C:/nordicsemi/v1.9.1/toolchain/opt/bin/arm-none-eabi-gcc.exe
CMake Warning at C:\nordicsemi\v1.9.1\zephyr\CMakeLists.txt:1687 (message):
  __ASSERT() statements are globally ENABLED


-- Configuring done
-- Generating done
-- Build files have been written to: C:/nordicsemi/myapps/nrfx_saadc/build_nrf5340DK
-- west build: building application
[1/166] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[2/166] Generating include/generated/driver-validation.h
[3/166] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[4/166] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/166] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[6/166] Generating include/generated/offsets.h
[7/166] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
[8/166] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
[9/166] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
[10/166] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[11/166] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[12/166] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
[13/166] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
[14/166] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
[15/166] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
[16/166] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
[17/166] Generating linker_zephyr_pre0.cmd
[18/166] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
[19/166] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
[20/166] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
[21/166] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
[22/166] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
[23/166] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
[24/166] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fpu.c.obj
[25/166] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
[26/166] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
[27/166] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/cmse/CMakeFiles/arch__arm__core__aarch32__cortex_m__cmse.dir/arm_core_cmse.c.obj
[28/166] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
[29/166] Linking C static library zephyr\arch\arch\arm\core\aarch32\libarch__arm__core__aarch32.a
[30/166] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
[31/166] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_core_mpu.c.obj
[32/166] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
[33/166] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
[34/166] Linking C static library zephyr\arch\common\libisr_tables.a
[35/166] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj
[36/166] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\cmse\libarch__arm__core__aarch32__cortex_m__cmse.a
[37/166] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_mpu.c.obj
[38/166] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj
[39/166] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
[40/166] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
[41/166] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
[42/166] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/qsort.c.obj
[43/166] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
[44/166] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\libarch__arm__core__aarch32__cortex_m.a
[45/166] Linking C static library zephyr\arch\common\libarch__common.a
[46/166] Linking C static library zephyr\arch\arch\arm\core\aarch32\mpu\libarch__arm__core__aarch32__mpu.a
[47/166] Linking C static library zephyr\lib\posix\liblib__posix.a
[48/166] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/abort.c.obj
[49/166] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
[50/166] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
[51/166] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
[52/166] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
[53/166] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
[54/166] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
[55/166] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
[56/166] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
[57/166] Building C object zephyr/soc/arm/common/cortex_m/CMakeFiles/soc__arm__common__cortex_m.dir/arm_mpu_regions.c.obj
[58/166] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
[59/166] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[60/166] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/nordicsemi/v1.9.1/modules/hal/nordic/nrfx/mdk/system_nrf5340_application.c.obj
[61/166] Linking C static library zephyr\soc\arm\common\cortex_m\libsoc__arm__common__cortex_m.a
[62/166] Linking C static library zephyr\lib\libc\minimal\liblib__libc__minimal.a
[63/166] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_control_nrf.c.obj
[64/166] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj
[65/166] Building C object modules/nrf/drivers/hw_cc310/CMakeFiles/..__nrf__drivers__hw_cc310.dir/hw_cc310.c.obj
[66/166] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj
[67/166] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/nrf_rtc_timer.c.obj
[68/166] Linking C static library zephyr\drivers\console\libdrivers__console.a
[69/166] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/nordicsemi/v1.9.1/modules/hal/nordic/nrfx/helpers/nrfx_flag32_allocator.c.obj
[70/166] Linking C static library zephyr\drivers\clock_control\libdrivers__clock_control.a
[71/166] Linking C static library modules\nrf\drivers\hw_cc310\lib..__nrf__drivers__hw_cc310.a
[72/166] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/nrfx_glue.c.obj
[73/166] Linking C static library zephyr\drivers\gpio\libdrivers__gpio.a
[74/166] Linking C static library zephyr\drivers\serial\libdrivers__serial.a
[75/166] Linking C static library zephyr\drivers\timer\libdrivers__timer.a
[76/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[77/166] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/nordicsemi/v1.9.1/modules/hal/nordic/nrfx/drivers/src/nrfx_clock.c.obj
[78/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[79/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[80/166] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/nordicsemi/v1.9.1/modules/hal/nordic/nrfx/drivers/src/nrfx_saadc.c.obj
[81/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[82/166] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/nordicsemi/v1.9.1/modules/hal/nordic/nrfx/drivers/src/nrfx_gpiote.c.obj
[83/166] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/nordicsemi/v1.9.1/modules/hal/nordic/nrfx/drivers/src/nrfx_dppi.c.obj
[84/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32c_sw.c.obj
[85/166] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/nordicsemi/v1.9.1/modules/hal/nordic/nrfx/drivers/src/nrfx_timer.c.obj
[86/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[87/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[88/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[89/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[90/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[91/166] Linking C static library modules\hal_nordic\nrfx\libmodules__hal_nordic__nrfx.a
[92/166] Building C object CMakeFiles/app.dir/src/main.c.obj
FAILED: CMakeFiles/app.dir/src/main.c.obj 
C:\nordicsemi\v1.9.1\toolchain\opt\bin\arm-none-eabi-gcc.exe -DBUILD_VERSION=v2.7.99-ncs1-1 -DKERNEL -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=0 -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/nordicsemi/v1.9.1/zephyr/include -Izephyr/include/generated -IC:/nordicsemi/v1.9.1/zephyr/soc/arm/nordic_nrf/nrf53 -IC:/nordicsemi/v1.9.1/zephyr/soc/arm/nordic_nrf/common/. -IC:/nordicsemi/v1.9.1/nrf/include -IC:/nordicsemi/v1.9.1/modules/hal/cmsis/CMSIS/Core/Include -IC:/nordicsemi/v1.9.1/modules/hal/nordic/nrfx -IC:/nordicsemi/v1.9.1/modules/hal/nordic/nrfx/drivers/include -IC:/nordicsemi/v1.9.1/modules/hal/nordic/nrfx/mdk -IC:/nordicsemi/v1.9.1/zephyr/modules/hal_nordic/nrfx/. -isystem C:/nordicsemi/v1.9.1/zephyr/lib/libc/minimal/include -isystem c:/nordicsemi/v1.9.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include -isystem c:/nordicsemi/v1.9.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed -isystem C:/nordicsemi/v1.9.1/nrfxlib/crypto/nrf_cc312_platform/include -Os -imacros C:/nordicsemi/myapps/nrfx_saadc/build_nrf5340DK/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee -imacros C:/nordicsemi/v1.9.1/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=C:/nordicsemi/myapps/nrfx_saadc=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/nordicsemi/v1.9.1/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/nordicsemi/v1.9.1=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles\app.dir\src\main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj -c ../src/main.c
In file included from C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\drivers\include\nrfx_ppi.h:38,
                 from c:\nordicsemi\myapps\nrfx_saadc\src\main.c:10:
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:54:25: error: &amp;#39;PPI_CHEN_CH0_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH0_Pos&amp;#39;?
   54 |     NRF_PPI_CHANNEL0  = PPI_CHEN_CH0_Pos,  /**&amp;lt; Channel 0. */
      |                         ^~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH0_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:55:25: error: &amp;#39;PPI_CHEN_CH1_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH1_Pos&amp;#39;?
   55 |     NRF_PPI_CHANNEL1  = PPI_CHEN_CH1_Pos,  /**&amp;lt; Channel 1. */
      |                         ^~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH1_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:56:25: error: &amp;#39;PPI_CHEN_CH2_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH2_Pos&amp;#39;?
   56 |     NRF_PPI_CHANNEL2  = PPI_CHEN_CH2_Pos,  /**&amp;lt; Channel 2. */
      |                         ^~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH2_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:57:25: error: &amp;#39;PPI_CHEN_CH3_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH3_Pos&amp;#39;?
   57 |     NRF_PPI_CHANNEL3  = PPI_CHEN_CH3_Pos,  /**&amp;lt; Channel 3. */
      |                         ^~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH3_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:58:25: error: &amp;#39;PPI_CHEN_CH4_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH4_Pos&amp;#39;?
   58 |     NRF_PPI_CHANNEL4  = PPI_CHEN_CH4_Pos,  /**&amp;lt; Channel 4. */
      |                         ^~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH4_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:59:25: error: &amp;#39;PPI_CHEN_CH5_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH5_Pos&amp;#39;?
   59 |     NRF_PPI_CHANNEL5  = PPI_CHEN_CH5_Pos,  /**&amp;lt; Channel 5. */
      |                         ^~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH5_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:60:25: error: &amp;#39;PPI_CHEN_CH6_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH6_Pos&amp;#39;?
   60 |     NRF_PPI_CHANNEL6  = PPI_CHEN_CH6_Pos,  /**&amp;lt; Channel 6. */
      |                         ^~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH6_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:61:25: error: &amp;#39;PPI_CHEN_CH7_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH7_Pos&amp;#39;?
   61 |     NRF_PPI_CHANNEL7  = PPI_CHEN_CH7_Pos,  /**&amp;lt; Channel 7. */
      |                         ^~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH7_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:62:25: error: &amp;#39;PPI_CHEN_CH8_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH8_Pos&amp;#39;?
   62 |     NRF_PPI_CHANNEL8  = PPI_CHEN_CH8_Pos,  /**&amp;lt; Channel 8. */
      |                         ^~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH8_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:63:25: error: &amp;#39;PPI_CHEN_CH9_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH9_Pos&amp;#39;?
   63 |     NRF_PPI_CHANNEL9  = PPI_CHEN_CH9_Pos,  /**&amp;lt; Channel 9. */
      |                         ^~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH9_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:78:25: error: &amp;#39;PPI_CHEN_CH20_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH20_Pos&amp;#39;?
   78 |     NRF_PPI_CHANNEL20 = PPI_CHEN_CH20_Pos, /**&amp;lt; Channel 20. */
      |                         ^~~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH20_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:79:25: error: &amp;#39;PPI_CHEN_CH21_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH21_Pos&amp;#39;?
   79 |     NRF_PPI_CHANNEL21 = PPI_CHEN_CH21_Pos, /**&amp;lt; Channel 21. */
      |                         ^~~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH21_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:80:25: error: &amp;#39;PPI_CHEN_CH22_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH22_Pos&amp;#39;?
   80 |     NRF_PPI_CHANNEL22 = PPI_CHEN_CH22_Pos, /**&amp;lt; Channel 22. */
      |                         ^~~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH22_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:81:25: error: &amp;#39;PPI_CHEN_CH23_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH23_Pos&amp;#39;?
   81 |     NRF_PPI_CHANNEL23 = PPI_CHEN_CH23_Pos, /**&amp;lt; Channel 23. */
      |                         ^~~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH23_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:82:25: error: &amp;#39;PPI_CHEN_CH24_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH24_Pos&amp;#39;?
   82 |     NRF_PPI_CHANNEL24 = PPI_CHEN_CH24_Pos, /**&amp;lt; Channel 24. */
      |                         ^~~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH24_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:83:25: error: &amp;#39;PPI_CHEN_CH25_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH25_Pos&amp;#39;?
   83 |     NRF_PPI_CHANNEL25 = PPI_CHEN_CH25_Pos, /**&amp;lt; Channel 25. */
      |                         ^~~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH25_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:84:25: error: &amp;#39;PPI_CHEN_CH26_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH26_Pos&amp;#39;?
   84 |     NRF_PPI_CHANNEL26 = PPI_CHEN_CH26_Pos, /**&amp;lt; Channel 26. */
      |                         ^~~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH26_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:85:25: error: &amp;#39;PPI_CHEN_CH27_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH27_Pos&amp;#39;?
   85 |     NRF_PPI_CHANNEL27 = PPI_CHEN_CH27_Pos, /**&amp;lt; Channel 27. */
      |                         ^~~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH27_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:86:25: error: &amp;#39;PPI_CHEN_CH28_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH28_Pos&amp;#39;?
   86 |     NRF_PPI_CHANNEL28 = PPI_CHEN_CH28_Pos, /**&amp;lt; Channel 28. */
      |                         ^~~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH28_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:87:25: error: &amp;#39;PPI_CHEN_CH29_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH29_Pos&amp;#39;?
   87 |     NRF_PPI_CHANNEL29 = PPI_CHEN_CH29_Pos, /**&amp;lt; Channel 29. */
      |                         ^~~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH29_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:88:25: error: &amp;#39;PPI_CHEN_CH30_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH30_Pos&amp;#39;?
   88 |     NRF_PPI_CHANNEL30 = PPI_CHEN_CH30_Pos, /**&amp;lt; Channel 30. */
      |                         ^~~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH30_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:89:25: error: &amp;#39;PPI_CHEN_CH31_Pos&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH31_Pos&amp;#39;?
   89 |     NRF_PPI_CHANNEL31 = PPI_CHEN_CH31_Pos  /**&amp;lt; Channel 31. */
      |                         ^~~~~~~~~~~~~~~~~
      |                         DPPIC_CHEN_CH31_Pos
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:108:31: error: &amp;#39;PPI_CHG_CH0_Excluded&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHG_CH0_Excluded&amp;#39;?
  108 |     NRF_PPI_CHANNEL_EXCLUDE = PPI_CHG_CH0_Excluded, /**&amp;lt; Channel excluded from a group. */
      |                               ^~~~~~~~~~~~~~~~~~~~
      |                               DPPIC_CHG_CH0_Excluded
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:109:31: error: &amp;#39;PPI_CHG_CH0_Included&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHG_CH0_Included&amp;#39;?
  109 |     NRF_PPI_CHANNEL_INCLUDE = PPI_CHG_CH0_Included  /**&amp;lt; Channel included in a group. */
      |                               ^~~~~~~~~~~~~~~~~~~~
      |                               DPPIC_CHG_CH0_Included
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:115:32: error: &amp;#39;PPI_CHEN_CH0_Disabled&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH0_Disabled&amp;#39;?
  115 |     NRF_PPI_CHANNEL_DISABLED = PPI_CHEN_CH0_Disabled, /**&amp;lt; Channel disabled. */
      |                                ^~~~~~~~~~~~~~~~~~~~~
      |                                DPPIC_CHEN_CH0_Disabled
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:116:32: error: &amp;#39;PPI_CHEN_CH0_Enabled&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DPPIC_CHEN_CH0_Enabled&amp;#39;?
  116 |     NRF_PPI_CHANNEL_ENABLED  = PPI_CHEN_CH0_Enabled   /**&amp;lt; Channel enabled. */
      |                                ^~~~~~~~~~~~~~~~~~~~
      |                                DPPIC_CHEN_CH0_Enabled
In file included from C:\nordicsemi\v1.9.1\zephyr\include\kernel_includes.h:16,
                 from C:\nordicsemi\v1.9.1\zephyr\include\kernel.h:17,
                 from C:\nordicsemi\v1.9.1\zephyr\include\zephyr.h:18,
                 from c:\nordicsemi\myapps\nrfx_saadc\src\main.c:7:
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:122:38: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;
  122 |     NRF_PPI_TASK_CHG0_EN  = offsetof(NRF_PPI_Type, TASKS_CHG[0].EN),  /**&amp;lt; Task for enabling channel group 0. */
      |                                      ^~~~~~~~~~~~
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:123:38: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;
  123 |     NRF_PPI_TASK_CHG0_DIS = offsetof(NRF_PPI_Type, TASKS_CHG[0].DIS), /**&amp;lt; Task for disabling channel group 0. */
      |                                      ^~~~~~~~~~~~
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:124:38: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;
  124 |     NRF_PPI_TASK_CHG1_EN  = offsetof(NRF_PPI_Type, TASKS_CHG[1].EN),  /**&amp;lt; Task for enabling channel group 1. */
      |                                      ^~~~~~~~~~~~
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:125:38: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;
  125 |     NRF_PPI_TASK_CHG1_DIS = offsetof(NRF_PPI_Type, TASKS_CHG[1].DIS), /**&amp;lt; Task for disabling channel group 1. */
      |                                      ^~~~~~~~~~~~
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:126:38: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;
  126 |     NRF_PPI_TASK_CHG2_EN  = offsetof(NRF_PPI_Type, TASKS_CHG[2].EN),  /**&amp;lt; Task for enabling channel group 2. */
      |                                      ^~~~~~~~~~~~
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:127:38: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;
  127 |     NRF_PPI_TASK_CHG2_DIS = offsetof(NRF_PPI_Type, TASKS_CHG[2].DIS), /**&amp;lt; Task for disabling channel group 2. */
      |                                      ^~~~~~~~~~~~
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:128:38: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;
  128 |     NRF_PPI_TASK_CHG3_EN  = offsetof(NRF_PPI_Type, TASKS_CHG[3].EN),  /**&amp;lt; Task for enabling channel group 3. */
      |                                      ^~~~~~~~~~~~
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:129:38: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;
  129 |     NRF_PPI_TASK_CHG3_DIS = offsetof(NRF_PPI_Type, TASKS_CHG[3].DIS), /**&amp;lt; Task for disabling channel group 3. */
      |                                      ^~~~~~~~~~~~
In file included from C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\drivers\include\nrfx_ppi.h:38,
                 from c:\nordicsemi\myapps\nrfx_saadc\src\main.c:10:
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:147:47: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  147 | NRF_STATIC_INLINE void nrf_ppi_channel_enable(NRF_PPI_Type * p_reg, nrf_ppi_channel_t channel);
      |                                               ^~~~~~~~~~~~
      |                                               NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:157:48: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  157 | NRF_STATIC_INLINE void nrf_ppi_channel_disable(NRF_PPI_Type * p_reg, nrf_ppi_channel_t channel);
      |                                                ^~~~~~~~~~~~
      |                                                NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:171:71: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  171 | NRF_STATIC_INLINE nrf_ppi_channel_enable_t nrf_ppi_channel_enable_get(NRF_PPI_Type const * p_reg,
      |                                                                       ^~~~~~~~~~~~
      |                                                                       NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:179:53: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  179 | NRF_STATIC_INLINE void nrf_ppi_channels_disable_all(NRF_PPI_Type * p_reg);
      |                                                     ^~~~~~~~~~~~
      |                                                     NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:187:48: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  187 | NRF_STATIC_INLINE void nrf_ppi_channels_enable(NRF_PPI_Type * p_reg, uint32_t mask);
      |                                                ^~~~~~~~~~~~
      |                                                NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:195:49: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  195 | NRF_STATIC_INLINE void nrf_ppi_channels_disable(NRF_PPI_Type * p_reg, uint32_t mask);
      |                                                 ^~~~~~~~~~~~
      |                                                 NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:205:55: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  205 | NRF_STATIC_INLINE void nrf_ppi_channel_endpoint_setup(NRF_PPI_Type *    p_reg,
      |                                                       ^~~~~~~~~~~~
      |                                                       NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:217:53: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  217 | NRF_STATIC_INLINE void nrf_ppi_event_endpoint_setup(NRF_PPI_Type *    p_reg,
      |                                                     ^~~~~~~~~~~~
      |                                                     NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:228:52: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  228 | NRF_STATIC_INLINE void nrf_ppi_task_endpoint_setup(NRF_PPI_Type *    p_reg,
      |                                                    ^~~~~~~~~~~~
      |                                                    NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:270:57: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  270 | NRF_STATIC_INLINE void nrf_ppi_channel_include_in_group(NRF_PPI_Type *          p_reg,
      |                                                         ^~~~~~~~~~~~
      |                                                         NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:283:58: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  283 | NRF_STATIC_INLINE void nrf_ppi_channels_include_in_group(NRF_PPI_Type *          p_reg,
      |                                                          ^~~~~~~~~~~~
      |                                                          NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:296:58: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  296 | NRF_STATIC_INLINE void nrf_ppi_channel_remove_from_group(NRF_PPI_Type *          p_reg,
      |                                                          ^~~~~~~~~~~~
      |                                                          NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:309:59: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  309 | NRF_STATIC_INLINE void nrf_ppi_channels_remove_from_group(NRF_PPI_Type *          p_reg,
      |                                                           ^~~~~~~~~~~~
      |                                                           NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:319:44: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  319 | NRF_STATIC_INLINE void nrf_ppi_group_clear(NRF_PPI_Type * p_reg, nrf_ppi_channel_group_t group);
      |                                            ^~~~~~~~~~~~
      |                                            NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:327:45: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  327 | NRF_STATIC_INLINE void nrf_ppi_group_enable(NRF_PPI_Type * p_reg, nrf_ppi_channel_group_t group);
      |                                             ^~~~~~~~~~~~
      |                                             NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:335:46: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  335 | NRF_STATIC_INLINE void nrf_ppi_group_disable(NRF_PPI_Type * p_reg, nrf_ppi_channel_group_t group);
      |                                              ^~~~~~~~~~~~
      |                                              NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:343:45: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  343 | NRF_STATIC_INLINE void nrf_ppi_task_trigger(NRF_PPI_Type * p_reg, nrf_ppi_task_t ppi_task);
      |                                             ^~~~~~~~~~~~
      |                                             NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:353:53: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  353 | NRF_STATIC_INLINE uint32_t nrf_ppi_task_address_get(NRF_PPI_Type const * p_reg,
      |                                                     ^~~~~~~~~~~~
      |                                                     NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:364:66: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  364 | NRF_STATIC_INLINE uint32_t nrf_ppi_task_group_enable_address_get(NRF_PPI_Type const *    p_reg,
      |                                                                  ^~~~~~~~~~~~
      |                                                                  NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:375:67: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  375 | NRF_STATIC_INLINE uint32_t nrf_ppi_task_group_disable_address_get(NRF_PPI_Type const *    p_reg,
      |                                                                   ^~~~~~~~~~~~
      |                                                                   NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:386:64: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  386 | NRF_STATIC_INLINE nrf_ppi_task_t nrf_ppi_group_enable_task_get(NRF_PPI_Type const * p_reg,
      |                                                                ^~~~~~~~~~~~
      |                                                                NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:397:65: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  397 | NRF_STATIC_INLINE nrf_ppi_task_t nrf_ppi_group_disable_task_get(NRF_PPI_Type const * p_reg,
      |                                                                 ^~~~~~~~~~~~
      |                                                                 NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:403:47: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  403 | NRF_STATIC_INLINE void nrf_ppi_channel_enable(NRF_PPI_Type * p_reg, nrf_ppi_channel_t channel)
      |                                               ^~~~~~~~~~~~
      |                                               NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:408:48: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  408 | NRF_STATIC_INLINE void nrf_ppi_channel_disable(NRF_PPI_Type * p_reg, nrf_ppi_channel_t channel)
      |                                                ^~~~~~~~~~~~
      |                                                NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:413:71: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  413 | NRF_STATIC_INLINE nrf_ppi_channel_enable_t nrf_ppi_channel_enable_get(NRF_PPI_Type const * p_reg,
      |                                                                       ^~~~~~~~~~~~
      |                                                                       NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:426:53: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  426 | NRF_STATIC_INLINE void nrf_ppi_channels_disable_all(NRF_PPI_Type * p_reg)
      |                                                     ^~~~~~~~~~~~
      |                                                     NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:431:48: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  431 | NRF_STATIC_INLINE void nrf_ppi_channels_enable(NRF_PPI_Type * p_reg, uint32_t mask)
      |                                                ^~~~~~~~~~~~
      |                                                NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:436:49: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  436 | NRF_STATIC_INLINE void nrf_ppi_channels_disable(NRF_PPI_Type * p_reg, uint32_t mask)
      |                                                 ^~~~~~~~~~~~
      |                                                 NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:441:55: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  441 | NRF_STATIC_INLINE void nrf_ppi_channel_endpoint_setup(NRF_PPI_Type *    p_reg,
      |                                                       ^~~~~~~~~~~~
      |                                                       NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:450:53: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  450 | NRF_STATIC_INLINE void nrf_ppi_event_endpoint_setup(NRF_PPI_Type *    p_reg,
      |                                                     ^~~~~~~~~~~~
      |                                                     NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:457:52: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  457 | NRF_STATIC_INLINE void nrf_ppi_task_endpoint_setup(NRF_PPI_Type *    p_reg,
      |                                                    ^~~~~~~~~~~~
      |                                                    NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:484:57: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  484 | NRF_STATIC_INLINE void nrf_ppi_channel_include_in_group(NRF_PPI_Type *          p_reg,
      |                                                         ^~~~~~~~~~~~
      |                                                         NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:491:58: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  491 | NRF_STATIC_INLINE void nrf_ppi_channels_include_in_group(NRF_PPI_Type *          p_reg,
      |                                                          ^~~~~~~~~~~~
      |                                                          NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:498:58: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  498 | NRF_STATIC_INLINE void nrf_ppi_channel_remove_from_group(NRF_PPI_Type *          p_reg,
      |                                                          ^~~~~~~~~~~~
      |                                                          NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:505:59: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  505 | NRF_STATIC_INLINE void nrf_ppi_channels_remove_from_group(NRF_PPI_Type *          p_reg,
      |                                                           ^~~~~~~~~~~~
      |                                                           NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:512:44: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  512 | NRF_STATIC_INLINE void nrf_ppi_group_clear(NRF_PPI_Type * p_reg, nrf_ppi_channel_group_t group)
      |                                            ^~~~~~~~~~~~
      |                                            NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:517:45: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  517 | NRF_STATIC_INLINE void nrf_ppi_group_enable(NRF_PPI_Type * p_reg, nrf_ppi_channel_group_t group)
      |                                             ^~~~~~~~~~~~
      |                                             NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:522:46: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  522 | NRF_STATIC_INLINE void nrf_ppi_group_disable(NRF_PPI_Type * p_reg, nrf_ppi_channel_group_t group)
      |                                              ^~~~~~~~~~~~
      |                                              NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:527:45: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  527 | NRF_STATIC_INLINE void nrf_ppi_task_trigger(NRF_PPI_Type * p_reg, nrf_ppi_task_t ppi_task)
      |                                             ^~~~~~~~~~~~
      |                                             NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:532:53: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  532 | NRF_STATIC_INLINE uint32_t nrf_ppi_task_address_get(NRF_PPI_Type const * p_reg,
      |                                                     ^~~~~~~~~~~~
      |                                                     NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:538:66: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  538 | NRF_STATIC_INLINE uint32_t nrf_ppi_task_group_enable_address_get(NRF_PPI_Type const *    p_reg,
      |                                                                  ^~~~~~~~~~~~
      |                                                                  NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:544:67: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  544 | NRF_STATIC_INLINE uint32_t nrf_ppi_task_group_disable_address_get(NRF_PPI_Type const *    p_reg,
      |                                                                   ^~~~~~~~~~~~
      |                                                                   NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:550:64: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  550 | NRF_STATIC_INLINE nrf_ppi_task_t nrf_ppi_group_enable_task_get(NRF_PPI_Type const * p_reg,
      |                                                                ^~~~~~~~~~~~
      |                                                                NRF_GPIO_Type
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\hal\nrf_ppi.h:558:65: error: unknown type name &amp;#39;NRF_PPI_Type&amp;#39;; did you mean &amp;#39;NRF_GPIO_Type&amp;#39;?
  558 | NRF_STATIC_INLINE nrf_ppi_task_t nrf_ppi_group_disable_task_get(NRF_PPI_Type const * p_reg,
      |                                                                 ^~~~~~~~~~~~
      |                                                                 NRF_GPIO_Type
In file included from c:\nordicsemi\myapps\nrfx_saadc\src\main.c:10:
C:/nordicsemi/v1.9.1/modules/hal/nordic/nrfx/drivers/include/nrfx_ppi.h: In function &amp;#39;nrfx_ppi_task_addr_get&amp;#39;:
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\drivers\include\nrfx_ppi.h:330:12: warning: implicit declaration of function &amp;#39;nrf_ppi_task_address_get&amp;#39;; did you mean &amp;#39;nrf_dppi_task_address_get&amp;#39;? [-Wimplicit-function-declaration]
  330 |     return nrf_ppi_task_address_get(NRF_PPI, task);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~
      |            nrf_dppi_task_address_get
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\drivers\include\nrfx_ppi.h:330:37: error: &amp;#39;NRF_PPI&amp;#39; undeclared (first use in this function); did you mean &amp;#39;NRF_SPU&amp;#39;?
  330 |     return nrf_ppi_task_address_get(NRF_PPI, task);
      |                                     ^~~~~~~
      |                                     NRF_SPU
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\drivers\include\nrfx_ppi.h:330:37: note: each undeclared identifier is reported only once for each function it appears in
C:/nordicsemi/v1.9.1/modules/hal/nordic/nrfx/drivers/include/nrfx_ppi.h: In function &amp;#39;nrfx_ppi_task_addr_group_enable_get&amp;#39;:
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\drivers\include\nrfx_ppi.h:335:12: warning: implicit declaration of function &amp;#39;nrf_ppi_task_group_enable_address_get&amp;#39;; did you mean &amp;#39;nrf_dppi_group_enable_task_get&amp;#39;? [-Wimplicit-function-declaration]
  335 |     return nrf_ppi_task_group_enable_address_get(NRF_PPI, group);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |            nrf_dppi_group_enable_task_get
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\drivers\include\nrfx_ppi.h:335:50: error: &amp;#39;NRF_PPI&amp;#39; undeclared (first use in this function); did you mean &amp;#39;NRF_SPU&amp;#39;?
  335 |     return nrf_ppi_task_group_enable_address_get(NRF_PPI, group);
      |                                                  ^~~~~~~
      |                                                  NRF_SPU
C:/nordicsemi/v1.9.1/modules/hal/nordic/nrfx/drivers/include/nrfx_ppi.h: In function &amp;#39;nrfx_ppi_task_addr_group_disable_get&amp;#39;:
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\drivers\include\nrfx_ppi.h:340:12: warning: implicit declaration of function &amp;#39;nrf_ppi_task_group_disable_address_get&amp;#39;; did you mean &amp;#39;nrf_dppi_group_disable_task_get&amp;#39;? [-Wimplicit-function-declaration]
  340 |     return nrf_ppi_task_group_disable_address_get(NRF_PPI, group);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |            nrf_dppi_group_disable_task_get
C:\nordicsemi\v1.9.1\modules\hal\nordic\nrfx\drivers\include\nrfx_ppi.h:340:51: error: &amp;#39;NRF_PPI&amp;#39; undeclared (first use in this function); did you mean &amp;#39;NRF_SPU&amp;#39;?
  340 |     return nrf_ppi_task_group_disable_address_get(NRF_PPI, group);
      |                                                   ^~~~~~~
      |                                                   NRF_SPU
[93/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[94/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[95/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[96/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[97/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[98/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[99/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[100/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[101/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: &amp;#39;c:\nordicsemi\v1.9.1\toolchain\opt\bin\cmake.EXE&amp;#39; --build &amp;#39;c:\nordicsemi\myapps\nrfx_saadc\build_nrf5340DK&amp;#39;
The terminal process terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple ADC Code</title><link>https://devzone.nordicsemi.com/thread/362646?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 15:16:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae53b259-69bb-4968-b7c4-a7c97d7c3c0a</guid><dc:creator>ChrtistophAT</dc:creator><description>&lt;p&gt;Thank you haakonsh!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple ADC Code</title><link>https://devzone.nordicsemi.com/thread/362572?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 11:44:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c81baca7-d6ec-4911-911f-ea37a96c7a16</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrfx_5F00_saadc.zip"&gt;devzone.nordicsemi.com/.../nrfx_5F00_saadc.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Try this sample. You&amp;#39;ll need to create a new build config for the nRF5340DK, but the code should work for both nRF52 and 53 series devices.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple ADC Code</title><link>https://devzone.nordicsemi.com/thread/361453?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 09:54:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d8290d0-73ad-425b-8016-1beedbfddb82</guid><dc:creator>ChrtistophAT</dc:creator><description>&lt;p&gt;Hi haakonsh,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;can you explain where these SAADC examples are in the new SDK v1.9.1 ? Cant find them through VS code &amp;quot;browse example&amp;quot; and I cant find too the directory and the new SDK. Also not possible to downgrade to the SDK where the SAADC Example is described in&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1649065778407v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The zephyr/samples/driver/adc example is throwing many build errors when built for nrf5340DK cuapp.&lt;/p&gt;
&lt;p&gt;I am using nRF5340DK and would like to adc some analog signal from my opamp pcb circuit , so at the end everything is decoupled from any noise (50Hz) causing device.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Many thanks for any help,&lt;/p&gt;
&lt;p&gt;Christoph&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple ADC Code</title><link>https://devzone.nordicsemi.com/thread/184966?ContentTypeID=1</link><pubDate>Thu, 02 May 2019 15:15:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57ee88bd-bce0-4d4f-a181-fc1095d2006a</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;It&amp;#39;s probably easier to understand the code by seeing it running in the DK ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple ADC Code</title><link>https://devzone.nordicsemi.com/thread/184963?ContentTypeID=1</link><pubDate>Thu, 02 May 2019 15:09:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea8b20d2-af44-4a73-b155-8b20ccad286e</guid><dc:creator>parman</dc:creator><description>&lt;p&gt;thank you so much for your guidance Mr. awneil. First I want to understand the codes of all project in-depth. After learning that I will go for the DK kit.&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple ADC Code</title><link>https://devzone.nordicsemi.com/thread/184681?ContentTypeID=1</link><pubDate>Wed, 01 May 2019 08:54:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0513dc25-bdc4-4998-b7b8-b772bc959291</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Think about this line:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#include &amp;quot;nrf_drv_adc.h&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You have given just the &lt;em&gt;name&lt;/em&gt; of the file - but how does the compiler (or, strictly, the &lt;em&gt;preprocessor&lt;/em&gt;) know &lt;em&gt;&lt;strong&gt;where&lt;/strong&gt;&lt;/em&gt; to find it?&lt;/p&gt;
&lt;p&gt;The problem is that it doesn&amp;#39;t - so it says:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrf_drv_adc.h: No such file or directory&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The way you tell it where to find your header files is via the &lt;strong&gt;Include Paths&lt;/strong&gt; setting in your Project; for SES:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1556700573464v1.png" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1556700594497v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that this is standard &amp;#39;C&amp;#39; (and C++) programming stuff - not specific to Nordic or embedded.&lt;/p&gt;
&lt;p&gt;And, while the detail of where to find the setting is specific to SES, the concept is common to &lt;em&gt;&lt;strong&gt;all&lt;/strong&gt; &lt;/em&gt;IDEs; eg, in Keil:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1556701091946v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;or Eclipse:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1556701261868v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;The setting is passed through to the command line of the underlying toolchain; eg, for GCC:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://gcc.gnu.org/onlinedocs/cpp/Search-Path.html"&gt;https://gcc.gnu.org/onlinedocs/cpp/Search-Path.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT&lt;/p&gt;
&lt;p&gt;For SES, see also:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/add_content_ses.html"&gt;https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/add_content_ses.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;#IncludePaths&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple ADC Code</title><link>https://devzone.nordicsemi.com/thread/184674?ContentTypeID=1</link><pubDate>Wed, 01 May 2019 08:04:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93d06e44-7277-42bd-8396-e638afed27a4</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Why don&amp;#39;t you just start with one of the ready-made SAADC examples?&lt;/p&gt;
&lt;p&gt;And, as &lt;a href="https://devzone.nordicsemi.com/members/haakonsh"&gt;haakonsh&lt;/a&gt; said, it really is better to start your development on a DK rather than a dongle.&lt;/p&gt;
&lt;p&gt;A dongle is great for deploying stuff that you know already works. But, as the name suggests, a &lt;span style="text-decoration:underline;"&gt;&lt;em&gt;&lt;strong&gt;Development&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt; &lt;strong&gt;Kit&lt;/strong&gt; (DK) is the place to do your development and learning.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How to properly post source code:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0830._5F00_Insert-Code-_2D00_-Nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple ADC Code</title><link>https://devzone.nordicsemi.com/thread/184672?ContentTypeID=1</link><pubDate>Wed, 01 May 2019 07:51:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6294d605-4e09-4fe0-8a87-dd59031c5990</guid><dc:creator>parman</dc:creator><description>&lt;p&gt;Hello haakonsh,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Glad to hear from you,&lt;/p&gt;
&lt;p&gt;I found the simple code see -&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;#include &amp;quot;nrf.h&amp;quot;&lt;br /&gt;#include &amp;lt;stdbool.h&amp;gt;&lt;br /&gt;#include &amp;lt;stdint.h&amp;gt;&lt;br /&gt;#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;#include &amp;quot;nrf_drv_adc.h&amp;quot;&lt;br /&gt;#include &amp;quot;nordic_common.h&amp;quot;&lt;br /&gt;#include &amp;quot;boards.h&amp;quot;&lt;br /&gt;#include &amp;quot;nrf_log.h&amp;quot;&lt;br /&gt;#include &amp;quot;app_error.h&amp;quot;&lt;br /&gt;#include &amp;quot;nrf_delay.h&amp;quot;&lt;br /&gt;#include &amp;quot;app_util_platform.h&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;static nrf_adc_value_t adc_value; /**&amp;lt; ADC buffer. */&lt;br /&gt;static nrf_drv_adc_channel_t m_channel_config = NRF_DRV_ADC_DEFAULT_CHANNEL(NRF_ADC_CONFIG_INPUT_2);&lt;/p&gt;
&lt;p&gt;/**&lt;br /&gt; * @brief Function for main application entry.&lt;br /&gt; */&lt;br /&gt;int main(void)&lt;br /&gt;{&lt;br /&gt; UNUSED_RETURN_VALUE(NRF_LOG_INIT());&lt;br /&gt; NRF_LOG_PRINTF(&amp;quot;ADC example\r\n&amp;quot;);&lt;/p&gt;
&lt;p&gt;while (true)&lt;br /&gt; {&lt;br /&gt; nrf_drv_adc_sample_convert(&amp;amp;m_channel_config,&amp;amp;adc_value);&lt;br /&gt; NRF_LOG_PRINTF(&amp;quot;ADC buffer: %d\r\n&amp;quot;,adc_value);&lt;br /&gt; nrf_delay_ms(100);&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;/** @} */&lt;/p&gt;
&lt;p&gt;///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But I got some error for compiling it for - PCA10059. See -&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Rebuilding &amp;lsquo;blinky_pca10059_mbr&amp;rsquo; from solution &amp;lsquo;blinky_pca10059_mbr&amp;rsquo; in configuration &amp;lsquo;Release&amp;rsquo;&lt;br /&gt; Assembling &amp;lsquo;thumb_crt0.s&amp;rsquo;&lt;br /&gt; Compiling &amp;lsquo;nrf_log_frontend.c&amp;rsquo;&lt;br /&gt; Compiling &amp;lsquo;nrf_log_str_formatter.c&amp;rsquo;&lt;br /&gt; Compiling &amp;lsquo;boards.c&amp;rsquo;&lt;br /&gt; Compiling &amp;lsquo;app_error.c&amp;rsquo;&lt;br /&gt; Compiling &amp;lsquo;app_error_handler_gcc.c&amp;rsquo;&lt;br /&gt; Compiling &amp;lsquo;app_error_weak.c&amp;rsquo;&lt;br /&gt; Compiling &amp;lsquo;app_util_platform.c&amp;rsquo;&lt;br /&gt; Compiling &amp;lsquo;nrf_assert.c&amp;rsquo;&lt;br /&gt; Compiling &amp;lsquo;nrf_atomic.c&amp;rsquo;&lt;br /&gt; Compiling &amp;lsquo;nrf_balloc.c&amp;rsquo;&lt;br /&gt; Compiling &amp;lsquo;nrf_fprintf.c&amp;rsquo;&lt;br /&gt; Compiling &amp;lsquo;nrf_fprintf_format.c&amp;rsquo;&lt;br /&gt; Compiling &amp;lsquo;nrf_memobj.c&amp;rsquo;&lt;br /&gt; Compiling &amp;lsquo;nrf_ringbuf.c&amp;rsquo;&lt;br /&gt; Compiling &amp;lsquo;nrf_strerror.c&amp;rsquo;&lt;br /&gt; Compiling &amp;lsquo;nrfx_atomic.c&amp;rsquo;&lt;br /&gt; Compiling &amp;lsquo;main.c&amp;rsquo;&lt;br /&gt; nrf_drv_adc.h: No such file or directory&lt;br /&gt; Assembling &amp;lsquo;ses_startup_nrf52840.s&amp;rsquo;&lt;br /&gt; Assembling &amp;lsquo;ses_startup_nrf_common.s&amp;rsquo;&lt;br /&gt;Build failed&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;Kindly help me to figure out.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Waiting for your quick response&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple ADC Code</title><link>https://devzone.nordicsemi.com/thread/184246?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2019 09:10:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ef7776a-b47d-4ad4-97ec-0f94d6cc8773</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;You can use p0.02, p0.29, and p0.31 as analog inputs on the PCA10059 dongle. I suggest you use the PCA10056 DK for any HW interface development (Like an analog input), the dongles as great for when you need more than one prototype, but you don&amp;#39;t want to buy 10 PCA10056DKs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;See the&amp;nbsp;&lt;a title="SAADC Example" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/nrf_dev_saadc_example.html?cp=5_0_4_6_33"&gt;SAADC Example&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/saadc.html?cp=3_0_0_5_22"&gt;SAADC — Successive approximation analog-to-digital converter&lt;/a&gt;&amp;nbsp;HW documentation.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>