CHAPTER 14 PORT FUNCTIONS
708
User’s Manual U14492EJ3V0UD
(2) Setting in I/O mode and control mode
Port CS is set in I/O mode using the port CS mode register (PMCS). In control mode, it is set using the port
CS mode control register (PMCCS).
(a) Port CS mode register (PMCS)
This register can be read/written in 8-bit or 1-bit units.
7
PMCS7
PMCS
6
PMCS6
5
PMCS5
4
PMCS4
3
PMCS3
2
PMCS2
1
PMCS1
0
PMCS0
Address
FFFFF028H
Initial value
FFH
Bit Position
Bit Name
Function
7 to 0
PMCSn
(n = 7 to 0)
Specifies input/output mode of PCSn pin.
0: Output mode (output buffer on)
1: Input mode (output buffer off)
(b) Port CS mode control register (PMCCS)
This register can be read/written in 8-bit or 1-bit units.
7
PMCCS7
PMCCS
6
PMCCS6
5
PMCCS5
4
PMCCS4
3
PMCCS3
2
PMCCS2
1
PMCCS1
0
PMCCS0
Address
FFFFF048H
Initial value
Note
00H/FFH
Note
00H: Single-chip mode 0
FFH: Single-chip mode 1, ROMless mode 0 or 1
Bit Position
Bit Name
Function
7 to 0
PMCCSn
(n = 7 to 0)
Specifies operation mode of PCSn pin.
0: I/O port mode
1: CS7 to CS0 output mode
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...