Data Transfer Enable Registers A To D (Dtea To Dted); Assignment Of Data Transfer Enable Registers - Hitachi H8/500 Series Hardware Manual

Table of Contents

Advertisement

The data transfer count register is a 16-bit register that counts the number of bytes or words of
data remaining to be transferred. The initial count can be set from 1 to 65,536. A register value of
0 designates an initial count of 65,536.
The data transfer count register is decremented automatically after each byte or word is
transferred. When its value reaches 0, indicating that the designated number of bytes or words
have been transferred, a CPU interrupt is generated with the vector of the interrupt that requested
the data transfer.

6.2.5 Data Transfer Enable Registers A to D (DTEA to DTED)

These four registers designate whether an interrupt starts the DTC. The bits in these registers are
assigned to interrupts as indicated in table 6-3. No bits are assigned to the NMI, FOVI, OVI, and
ERI interrupts, which cannot request data transfers.
Bit
Initial value
Read/Write
Table 6-3 Assignment of Data Transfer Enable Registers
Interrupt Source
Register Module
DTEA
IRQ
DTEB
16-Bit FRT1
DTEC
16-Bit FRT3
DTED
SCI
Note: Bits marked "—" should always be cleared to "0."
If the bit for a certain interrupt is set to "1," that interrupt is regarded as a request for DTC service.
If the bit is cleared to "0," the interrupt is regarded as a CPU interrupt request.
Only the 16 interrupts indicated in table 6-3 can request DTC service. DTE bits not assigned to
any interrupt (indicated by "—" in table 6-3) should be left cleared to "0."
Downloaded from
Elcodis.com
electronic components distributor
7
6
0
0
R/W
R/W
Bits 7 to 4
7
6
0
OCIB OCIA
OCIB OCIA
TXI
5
4
3
0
0
0
R/W
R/W
R/W
Interrupt Source
Module
5
4
IRQ
IRQ
0
1
ICI
16-Bit FRT2
ICI
8-Bit Timer
RXI
A/D converter
117
2
1
0
0
0
0
R/W
R/W
R/W
Bits 3 to 0
3
2
1
OCIB OCIA
CMIB CMIA
0
IRQ
1
ICI
ADI

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/532

Table of Contents