nrf-softdevice-s113

Crates

git

Versions

default

Flavors

pub unsafe fn sd_softdevice_disable() -> u32
Expand description

@brief Disables the SoftDevice and by extension the protocol stack.

Idempotent function to disable the SoftDevice.

@post SoC library and protocol stack APIs are made unavailable. @post All interrupts that was protected by the SoftDevice will be disabled and initialized to priority 0 (highest). @post All peripherals used by the SoftDevice will be reset to default values. @post All of RAM become available. @post All interrupts are forwarded to the application. @post LFCLK source chosen in ::sd_softdevice_enable will be left running.

@retval ::NRF_SUCCESS