nrfxlib API 3.4.99
Loading...
Searching...
No Matches

◆ nrf_scan_uninit()

void nrf_scan_uninit ( nrf_scan_t const * p_scan)

#include <nrf_scan.h>

Uninitialize the sCAN driver instance.

This function deconfigures the peripheral.

Note
The function deactivates the peripheral instance if it is active. The deactivation process releases the clock requests and the power states restrictions related to VPR.
Parameters
[in]p_scanIdentifier of the sCAN instance to uninitialize.
Note
Initialization restores the default DPPI task/role map and clears every subscription permission: the soft peripheral applies the reset value of its SPSYNC.DPPIMAP register while starting, and this driver resets the matching host-side state. Anything published with nrf_scan_dppi_role_map_set or nrf_scan_dppi_subscribe_enable therefore does not survive an uninit/init cycle and has to be published again afterwards, before the first request. Nothing has to be undone before uninit.