CHAPTER 19 IEBus CONTROLLER (V850/SB2)
User’s Manual U13850EJ6V0UD
582
(12) IEBus communication count register (CCR)
The IEBus communication count register (CCR) indicates the number of remaining bytes in the
communication byte number specified in the communication mode.
Bits 7 to 0 of the IEBus communication count register (CCR) indicate the number of transfer bytes.
This register reads the count value of the counter that is preset to the maximum number of transmitted bytes
(32 bytes) per frame specified in mode 1. Whereas SCR (IEBus communication success counter) is
decremented during normal communication (ACK), CCR is decremented when 1 byte has been
communicated, regardless of whether ACK or NACK. When the count value has reached “00H”, the frame
end flag (ENDFRAM) is set.
The maximum number of transfer bytes of the preset value of mode 1 per frame is 20H (32 bytes).
After reset: 20H
R
Address: FFFFF3F6H
7
6
5
4
3
2
1
0
CCR
(13) IEBus clock selection register (IECLK)
This register selects the clock of IEBus. The main clock frequencies that can be used are shown below.
Main clock frequencies other than the following cannot be used.
•
6.0 MHz/6.291 MHz
•
12.0 MHz/12.582 MHz
Remark
More IEBus clock types can be selected for the
µ
PD703036H, 703036HY, 70F3036H,
70F3036HY, 703037H, 703037HY, 70F3037H, and 70F3037HY by setting in combination with the
IEBus high-speed clock selection register (IEHCLK).
After reset: 00H
R/W
Address: FFFFF3F8H
7
6
5
4
3
2
1
0
IECLK
0
0
0
0
0
0
0
IECS
IECS
IEBus clock selection
0
@ f
XX
= 6.0 MHz or f
XX
= 6.291 MHz
1
@ f
XX
= 12.0 MHz or f
XX
= 12.582 MHz
Содержание V850/SB1
Страница 2: ...User s Manual U13850EJ6V0UD 2 MEMO ...