Hi everyone,
When we want to enable a module we usually enable it from the sdk_config.h by setting the desired module to 1 (for example #define NRFX_SAADC_ENABLED 1). I am trying to understand how the module is enabled and found that the responsible macro is the following located in nrfx_common.h file
#define NRFX_CHECK(module_enabled) (module_enabled)
How does this macro works? I cannot understand this syntax. How it checks that the module is enables or not?
Thanks in advance
Nick