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

◆ otp_copy32()

void otp_copy32 ( uint8_t *restrict  dst,
uint32_t volatile *restrict  src,
size_t  size 
)

#include <include/bl_storage.h>

Copies src into dst. Reads from src are done 32 bits at a time. Writes to dst are done a byte at a time.

Parameters
[out]dstdestination buffer.
[in]srcsource buffer in OTP. Must be 4-byte-aligned.
[in]sizenumber of bytes in src to copy into dst. Must be divisible by 4.