nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ fprotect_is_protected()

uint32_t fprotect_is_protected ( uint32_t addr)

#include <include/fprotect.h>

Check whether a block has already been protected.

NB: Only supported on HW platforms with ACL (CONFIG_HAS_HW_NRF_ACL).

Parameters
[in]addrThe address to check. The block containing this address will be checked.
Return values
0If not protected
1If only write protected
2If only read protected
3If write and read protected