|
HD6475328-CP10 Datasheet, PDF (135/459 Pages) Hitachi Semiconductor – original Hitachi CMOS microcomputer unit (MCU) | |||
|
◁ |
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
7
6
5
4
3
2
1
0
Initial value
Read/Write
0
0
0
0
0
0
0
0
R/W R/W R/W R/W R/W R/W R/W R/W
Table 6-3 Assignment of Data Transfer Enable Registers
Interrupt Source
Register Module Bits 7 to 4
7
6
DTEA IRQ0
ââ
Interrupt Source
Module
Bits 3 to 0
5
4
3
2
â IRQ0 IRQ1
ââ
1
0
â IRQ1
DTEB 16-Bit FRT1 â OCIB OCIA ICI 16-Bit FRT2 â OCIB OCIA ICI
DTEC 16-Bit FRT3 â OCIB OCIA ICI 8-Bit Timer
â â CMIB CMIA
DTED SCI
â TXI RXI â A/D converter â â â ADI
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.â
117
|
▷ |