Renesas M16C/6NN Computer Hardware User Manual


 
Rev.1.02 Jul 01, 2005 page 282 of 314
REJ09B0126-0102
M16C/6N Group (M16C/6NL, M16C/6NN) 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.