23 #include "periph_conf.h" 
   43     if (
IS_ACTIVE(MODULE_VDD_LC_FILTER_REG1)) {
 
   44         NRF_POWER->DCDCEN = 1;
 
   47 #ifdef POWER_DCDCEN0_DCDCEN_Msk 
   51     if (
IS_ACTIVE(MODULE_VDD_LC_FILTER_REG0) &&
 
   52         (NRF_POWER->MAINREGSTATUS == POWER_MAINREGSTATUS_MAINREGSTATUS_High)) {
 
   53         NRF_POWER->DCDCEN0 = 1;
 
Common macros and compiler attributes/pragmas configuration.
 
#define IS_ACTIVE(macro)
Allows to verify a macro definition outside the preprocessor.
 
static void nrfx_dcdc_init(void)
Enable the internal DC/DC power converter for the NRF5x MCU.