nRF Connect SDK API 2.8.0
|
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).
[in] | addr | The address to check. The block containing this address will be checked. |
0 | If not protected |
1 | If only write protected |
2 | If only read protected |
3 | If write and read protected |