NCS how to close SPI, I2C, ADC,NVS

Hello,

nRF5340, NCS1.9.99, VSCode

  

adc_dev_ = device_get_binding("ADC_0");
i2c_dev = device_get_binding("I2C_0");
spi_dev = device_get_binding("SPI_3");
rc = nvs_init(&fs, flash_dev->name);
      
how to close those devices before enter sleep mode?
   
Best regards
Parents Reply Children
No Data
Related