PSoC 4000 Family: PSoC 4 Architecture TRM, Document No. 001-89309 Rev. *D 157
Nonvolatile Memory Programming
Return
19.5.11 Resume Non-Blocking
This function completes the additional phases of erase and program that were started using the non-blocking write row and
non-blocking program row system calls. This function must be called thrice following a call to Non-Blocking Write Row or once
following a call to Non-Blocking Program Row from the SPC ISR. No other system calls can execute until all phases of the
program or erase operation are complete. More details on the procedure of using the non-blocking functions are explained in
Blocking and Non-Blocking System Calls on page 148.
Parameters
Return
Bits [31:0] 32’hYY
32-bit word-aligned address of the SRAM that stores the first
function parameter (key1)
CPUSS_SYSREQ register
Bits [15:0] 0x0008 Non-Blocking Program Row opcode
Bits [31:16] 0x8000 Set SYSCALL_REQ bit
Address Return Value Description
CPUSS_SYSARG register
Bits [31:28] 0xA Success status code
Bits [27:0] 0xXXXXXXX Not used (don’t care)
Address Value to be Written Description
SRAM Address 32’hYY (32-bit wide, word-aligned SRAM address)
Bits [7:0] 0xB6 Key1
Bits [15:8] 0xDC Key2
Bits [31:16] 0xXXXX Don’t care. Not used by SROM
CPUSS_SYSARG register
Bits [31:0] 32’hYY
32-bit word-aligned address of the SRAM that stores the first
function parameter (key1)
CPUSS_SYSREQ register
Bits [15:0] 0x0009 Resume Non-Blocking opcode
Bits [31:16] 0x8000 Set SYSCALL_REQ bit
Address Return Value Description
CPUSS_SYSARG register
Bits [31:28] 0xA Success status code
Bits [27:0] 0xXXXXXXX Not used (don’t care)
Address Value to be Written Description