spi_flash_encryption_hal_prepare() function
Prepare flash encryption before operation.
Syntax
void spi_flash_encryption_hal_prepare(uint32_t address,
const uint32_t* buffer,
uint32_t size);
Arguments
address
The destination address in flash for the write operation.
buffer
Data for programming
Notes
address and buffer must be 8-word aligned.