h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 221

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
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 7.4, together with the vector number
generated by the interrupt controller in each case.
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.
7.2.8
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.
Bit 7—DTC Software Activation Enable (SWDTE): Specifies enabling or disabling of DTC
software activation. To clear the SWDTE bit by software, read SWDTE when set to 1, then write 0
in the bit.
Bit 7
SWDTE
0
1
Note: *
Bit
Initial value
Read/Write
DTC Vector Register (DTVECR)
A value of 1 can always be written to the SWDTE bit, but 0 can only be written after 1
is read.
Description
DTC software activation is disabled
[Clearing condition]
When the DISEL bit is 0 and the specified number of transfers have not ended
DTC software activation is enabled
[Holding conditions]
SWDTE
R/(W) *
When data transfer ends with the DISEL bit set to 1
When the specified number of transfers end
During software-activated data transfer
7
0
DTVEC6
R/W
6
0
DTVEC5
R/W
5
0
Section 7 Data Transfer Controller [H8S/2138 Group]
DTVEC4
R/W
4
0
Rev. 4.00 Jun 06, 2006 page 167 of 1004
DTVEC3
R/W
3
0
DTVEC2
R/W
2
0
DTVEC1
R/W
REJ09B0301-0400
1
0
(Initial value)
DTVEC0
R/W
0
0

Related parts for h8s-2138