Renesas M16C Laptop User Manual


 
Rev.1.10 Jul 01, 2005 page 285 of 318
REJ09B0124-0110
M16C/6N Group (M16C/6NK, M16C/6NM) 22. Usage Precaution
Under development
This document is under development and its contents are subject to change.
22.6 Protection
Set the PRC2 bit to 1 (write enabled) and then write to any address, and the PRC2 bit will be set to 0
(write protected). The registers protected by the PRC2 bit should be changed in the next instruction after
setting the PRC2 bit to 1. Make sure no interrupts or no DMA transfers will occur between the instruction in
which the PRC2 bit is set to 1 and the next instruction.