28.2.75 __builtin_write_RPCON
Description
Initiates a write to RPCON register by issuing the correct unlock sequence and setting the RPCON register. Interrupts may need to be disabled for proper operation.
Prototype
void __builtin_write_RPCON(unsigned int value);
Argument
value
– Specified value to save to RPCON register
Return Value
None
Assembler Operator/Machine Instruction
mov #0x55, Wn
mov Wn, _NVMKEY
mov #0xAA, Wn
mov Wn, _NVMKEY
mov value, _RPCON
Error Messages
None