数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

M16C/1N 数据表(PDF) 52 Page - Renesas Technology Corp

部件名 M16C/1N
功能描述  RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/10 SERIES
PDF  238 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  RENESAS [Renesas Technology Corp]
网页  http://www.renesas.com
标志 RENESAS - Renesas Technology Corp

M16C/1N 数据表(HTML) 52 Page - Renesas Technology Corp

Back Button M16C/1N Datasheet HTML 48Page - Renesas Technology Corp M16C/1N Datasheet HTML 49Page - Renesas Technology Corp M16C/1N Datasheet HTML 50Page - Renesas Technology Corp M16C/1N Datasheet HTML 51Page - Renesas Technology Corp M16C/1N Datasheet HTML 52Page - Renesas Technology Corp M16C/1N Datasheet HTML 53Page - Renesas Technology Corp M16C/1N Datasheet HTML 54Page - Renesas Technology Corp M16C/1N Datasheet HTML 55Page - Renesas Technology Corp M16C/1N Datasheet HTML 56Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 52 / 238 page
background image
Rev.1.00
Oct 20, 2004
page 40 of 222
M16C/1N Group
7. Protection
REJ09B0007-0100Z
7. Protection
The protection function is provided so that the values in important registers cannot be changed in the event
that the program runs out of control. Figure 7.1 shows the protect register. The values in the processor
mode register 0 (address 000416), processor mode register 1 (address 000516), system clock control reg-
ister 0 (address 000616), system clock control register 1 (address 000716) and port P0 direction register
(address 00E216) can only be changed when the respective bit in the protect register is set to "1". There-
fore, important outputs can be allocated to port P0.
If, after "1" (write-enabled) has been written to bit "enables writing to port P0 direction register" (bit 2 at
address 000A16), a value is written to any address, the bit automatically reverts to "0" (write-inhibited).
Make sure no interrupts will generate between the instruction in which the PRC2 bit to "1" and the next
instruction. The system clock control registers 0 and 1 and oscillation stop detection register write-enable
bit (bit 0 at address 000A16) and processor mode register 0 and 1 write-enable bit (bit 1 at address 000A16)
do not automatically return to "0" after a value has been written to an address. The program must therefore
be written to return these bits to "0".
b7
b6
b5
b4
b3
b2
b1
b0
Enables writing to system clock
control registers 0 and 1 (addresses
000616 and 000716), oscillation stop
detection register (address 000C16)
and CAN0 clock select register
(address 025F16)
Enables writing to processor mode
registers 0 and 1 (addresses 000416
and 000516)
Enables writing to port P0 direction
register (address 00E216) and
CAN0 I/O port select register
(address 00F816) (Note 1
)
Note 1: Writing a value to an address after "1" is written to this bit returns the bit to "0".
Other bits do not automatically return to "0" and they must therefore be reset by the program.
Protect register
Symbol
PRCR
Address
000A16
When reset
XXXXX0002
RW
RW
RW
RW
RW
Function
Bit name
Bit symbol
PRC0
0 : Write-inhibited
1 : Write-enabled
PRC1
0 : Write-inhibited
1 : Write-enabled
PRC2
0 : Write-inhibited
1 : Write-enabled
Reserved bit
Nothing is assigned.
In an attempt to write to these bits, write "0". The value, if read, turns out to be
indeterminate.
Set to
"0"
00 0
Figure 7.1 Protect register



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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