M30622ECTFP MITSUBISHI [Mitsubishi Electric Semiconductor], M30622ECTFP Datasheet - Page 49

no-image

M30622ECTFP

Manufacturer Part Number
M30622ECTFP
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Protection
Protection
Figure 1.13.6. Protect register
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 1.13.6 shows the protect register. The values in the processor
mode register 0 (address 0004
ister 0 (address 0006
dress 03F3
only be changed when the respective bit in the protect register is set to “1”. Therefore, important outputs
can be allocated to port P9.
If, after “1” (write-enabled) has been written to the port P9 direction register and SI/Oi control register
(i=3,4) write-enable bit (bit 2 at address 000A
reverts to “0” (write-inhibited). However, the system clock control registers 0 and 1 write-enable bit (bit 0 at
000A
to “0” after a value has been written to an address. The program must therefore be written to return these
bits to “0”.
Protect register
b7
16
Tentative Specifications REV.A
b6
) and processor mode register 0 and 1 write-enable bit (bit 1 at 000A
S
b5
pecifications in this manual are tentative and subject to change.
16
b4
) , SI/O3 control register (address 0362
b3
b2
b1
16
), system clock control register 1 (address 0007
b0
Note 1: Writing a value to an address after “1” is written to this bit returns the bit
Bit symbol
Nothing is assigned.
In an attempt to write to these bits, write “0”. The value, if read, turns out to be
indeterminate.
PRC0
PRC1
PRC2
Symbol
PRCR
16
to “0” . Other bits do not automatically return to “0” and they must therefore
be reset by the program.
), processor mode register 1 (address 0005
Enables writing to processor mode
registers 0 and 1 (addresses 0004
and 0005
Enables writing to port P9 direction
register (address 03F3
Enables writing to system clock
control registers 0 and 1 (addresses
0006
16
and 0007
16
16
)
), a value is written to any address, the bit automatically
Address
Bit name
000A
49
16
16
)
16
) and SI/O4 control register (address 0366
16
) (Note 1
XXXXX000
When reset
)
16
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
0 : Write-inhibited
1 : Write-enabled
0 : Write-inhibited
1 : Write-enabled
0 : Write-inhibited
1 : Write-enabled
2
16
), port P9 direction register (ad-
16
16
) do not automatically return
), system clock control reg-
Function
Mitsubishi microcomputers
M16C / 62T Group
R
16
W
) can

Related parts for M30622ECTFP