| Motore di ricerca datesheet componenti elettronici |
|
R8C Scheda tecnica(PDF) 40 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R8C Scheda tecnica(HTML) 40 Page - Renesas Technology Corp |
|
40 / 199 page ![]() R8C/10 Group 7. Protection Rev.1.20 Jan 27, 2006 page 30 of 180 REJ09B0019-0120 7. Protection In the event that a program runs out of control, this function protects the important registers so that they will not be rewritten easily. Figure 7.1 shows the PRCR register. The following lists the registers protected by the PRCR register. • Registers protected by PRC0 bit: CM0, CM1, and OCD registers • Registers protected by PRC1 bit: PM0 and PM1 registers • Registers protected by PRC2 bit: PD0 register 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 will occur between the instruction in which the PRC2 bit is set to “1” and the next instruction. The PRC0 and PRC1 bits are not automatically set to “0” by writing to any address. They can only be set to “0” in a program. Figure 7.1 PRCR Register Protect register Symbol Address After reset PRCR 000A16 00XXX0002 Bit name Bit symbol b7 b6 b5 b4 b3 b2 b1 b0 0 : Write protected 1 : Write enabled PRC1 PRC0 Function RW NOTES: 1. The PRC2 bit is set to “0” by writing to any address after setting it to “1”. Other bits are not set to “0” by writing to any address, and must therefore be set to “0” in a program. RW RW Protect bit 0 Protect bit 1 Protect bit 2 Enable write to CM0, CM1, OCD registers 0 : Write protected 1 : Write enabled Enable write to PM0, PM1 registers 0 : Write protected 1 : Write enabled1 Enable write to PD0 register 0 0 0 RW When read, its content is “0”. (b7-b6) Reserved bit When write, must set to "0" (b5-b3) Reserved bit RO PRC2 RW |
|
Link URL |
| Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | Collegamento alla scheda tecnica | scambio Link | Ricerca produttore All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |