Dtc Vector Register (Dtvecr) - Hitachi H8S/2338 Series Hardware Manual

Table of Contents

Advertisement

Bit n—DTC Activation Enable (DTCEn)
Bit n
DTCEn
Description
0
DTC activation by this interrupt is disabled
[Clearing conditions]
When the DISEL bit is 1 and the data transfer has ended
When the specified number of transfers have ended
1
DTC activation by this interrupt is enabled
[Holding condition]
When the DISEL bit is 0 and the specified number of transfers have not ended
A DTCE bit can be set for each interrupt source that can activate the DTC. The correspondence
between interrupt sources and DTCE bits is shown in table 6-4, together with the vector numbers
generated by the interrupt controller.
For DTCE bit setting, read/write operations must be performed using bit-manipulation instructions
such as BSET and BCLR. For the initial setting only, however, when multiple activation sources
are set at one time, it is possible to disable interrupts and write after executing a dummy read on
the relevant register.
6.2.8

DTC Vector Register (DTVECR)

Bit
:
SWDTE DTVEC6 DTVEC5 DTVEC4 DTVEC3 DTVEC2 DTVEC1 DTVEC0
Initial value :
R/W
:
R/(W)*
Notes: 1. A value of 1 can always be written to the SWDTE bit.
2. Bits DTVEC6 to DTVEC0 can be written to when SWDTE = 0.
DTVECR is an 8-bit readable/writable register that enables or disables DTC activation by
software, and sets a vector number for the software activation interrupt.
DTVECR is initialized to H'00 by a reset and in hardware standby mode.
7
6
0
0
1
2
R/(W)*
R/(W)*
5
4
0
0
2
2
R/(W)*
R/(W)*
3
2
0
0
2
2
R/(W)*
R/(W)*
(Initial value)
(n = 7 to 0)
1
0
0
0
2
2
R/(W)*
207

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2328 seriesH8s/2318 series

Table of Contents