| Electronic Components Datasheet Search |
|
R5F3640DDFB Datasheet(PDF) 119 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R5F3640DDFB Datasheet(HTML) 119 Page - Renesas Technology Corp |
|
119 / 398 page ![]() REJ09B0392-0064 Rev.0.64 Oct 12, 2007 Page 98 of 373 Under development Preliminary Specification Specification in this preliminary version is subject to change. M16C/64 Group 11. Protection 11. 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 11.1 shows the PRCR Register. The following lists the registers protected by the PRCR register. • The PRC0 bit protects registers CM0, CM1, CM2, PLC0, and PCLKR. • The PRC1 bit protects registers PM0, PM1, PM2, TB2SC, INVC0, and INVC1. • The PRC2 bit protects registers PD9, S3C, and S4C. • The PRC3 bit protects registers VCR2, D4INT, and VW0C. • The PRC6 bit protects the PRG2C register. Set the PRC2 bit to 1 (write enabled) and then write to given SFR address, and the PRC2 bit will be cleared 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 DMA transfers will occur between the instruction in which the PRC2 bit is set to 1 and the next instruction. Bits PRC0, PRC1, PRC3, and PRC6 are not auto- matically cleared to 0 by writing to given SFR address. They can only be cleared in a program. Figure 11.1 PRCR Register b7 0 0 0 b6 b5 b4 b1 b2 b3 Protect Register (1) Symbol PRCR Address 000Ah Bit Symbol Bit Name RW After Reset 00h NOTE : 1. The PRC2 bit is set to 0 by writing to given SFR address after setting it to 1. Other bits are not set to 0 automatically by the same token. Therefore, set them to 0 in a program. b0 Function — (b5-b4) RW Reserved bits Set to 0 PRC6 RW Protect bit 6 Enable write to the PRG2C register 0 : Write protected 1 : Write enabled — (b7) RW Reserved bit Set to 0 PRC0 RW Protect bit 0 Enable write to registers CM0, CM1, CM2, PLC0 and PCLKR 0 : Write protected 1 : Write enabled PRC1 RW Protect bit 1 Enable write to registers PM0, PM1, PM2, TB2SC, INVC0, and INVC1 0 : Write protected 1 : Write enabled PRC2 RW Protect bit 2 Enable write to registers PD9, S3C, and S4C 0 : Write protected 1 : Write enabled PRC3 RW Protect bit 3 Enable write to registers VCR2, D4INT, and VW0C 0 : Write protected 1 : Write enabled |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |