6
6-23
Ver.0.10
INTERNAL MEMORY
6.5 Programming of the Internal Flash Memory
(2) Entering flash E/W enable mode
Flash E/W enable mode can be entered only when the device is operating in single-chip mode or
extended external mode. Namely, you can enter flash E/W enable mode only when the FP pin =
high and the Flash Control Register 1 (FCNT1) FENTRY bit = 1. You cannot enter flash E/W
enable mode when the device is operating in processor mode or the FP pin = low.
(3) Detecting the MOD0 and MOD1 pin levels
The MOD0 and MOD1 pin levels (high or low) can be verified using the P8 Data Register (Port
Data Register, H'00800 0708) MOD0DT and MOD1DT bits.
■
P8 Data Register (P8DATA)
<Address: H'0080 0708>
D0
1
2
3
4
5
6
D7
MOD0DT MOD1DT
P82DT
P83DT
P84DT
P85DT
P86DT
P87DT
<When reset : Indeterminate>
D
Bit Name
Function
R
W
0
MOD0DT
0 : MOD0 pin = low
—
(MOD0 data)
1 : MOD0 pin = high
1
MOD1DT
0 : MOD1 pin = low
—
(MOD1 data)
1 : MOD1 pin = high
2
P82DT
Depending on how the Port Direction Register is set
(Port P82 data)
• When direction bit = 0 (input mode)
3
P83DT
0: Port input pin = low
(Port P83 data)
1: Port input pin = high
4
P84DT
• When direction bit = 1 (output mode)
(Port P84 data)
0: Port output latch = low
5
P85DT
1: Port output latch = high
(Port P85 data)
6
P86DT
(Port P86 data)
7
P87DT
(Port P87 data)
Summary of Contents for M32170F3VFP
Page 42: ...1 1 24 Ver 0 10 OVERVIEW 1 4 Pin Layout This is a blank page ...
Page 56: ...2 2 14 Ver 0 10 This is a blank page ...
Page 88: ...3 3 32 Ver 0 10 ADDRESS SPACE 3 7 Notes on Address Space This is a blank page ...
Page 270: ...9 9 40 Ver 0 10 DMAC 9 4 Precautions about the DMAC This is a blank page ...
Page 614: ...12 12 64 Ver 0 10 This is a blank page SERIAL I O 12 9 Precautions on Using UART Mode ...
Page 756: ...17 17 10 Ver 0 10 RAM BACKUP MODE 17 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Page 762: ...18 18 6 Ver 0 10 OSCILLATION CIRCUIT 18 2 Clock Generator Circuit This is a blank page ...
Page 831: ...CHAPTER 22 CHAPTER 22 TYPICAL CHARACTERISTICS 22 1 A D Conversion Characteristics ...
Page 833: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Page 841: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...