Dtc Vector Register (Dtvecr) - Renesas H8S/2319 series Hardware Manual

Renesas 16-bit single-chip microcomputer
Table of Contents

Advertisement

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

DTC Vector Register (DTVECR)

Bit
:
7
SWDTE DTVEC6 DTVEC5 DTVEC4 DTVEC3 DTVEC2 DTVEC1 DTVEC0
Initial value :
0
R/W
:
R/(W)
Note: * 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.
Bit 7—DTC Software Activation Enable (SWDTE): Enables or disables DTC activation by
software.
Bit 7
SWDTE
Description
0
DTC software activation is disabled
[Clearing conditions]
When the DISEL bit is 0 and the specified number of transfers have not ended
When 0 is written after a software activation data-transfer-complete interrupt is
issued to the CPU
1
DTC software activation is enabled
[Holding conditions]
When the DISEL bit is 1 and data transfer has ended
When the specified number of transfers have ended
During data transfer due to software activation
Bits 6 to 0—DTC Software Activation Vectors 6 to 0 (DTVEC6 to DTVEC0): These bits
specify a vector number for DTC software activation.
The vector address is expressed as H'0400 + ((vector number) << 1). <<1 indicates a one-bit left-
shift. For example, when DTVEC6 to DTVEC0 = H'10, the vector address is H'0420.
6
5
0
0
R/(W) *
R/(W) *
R/(W) *
4
3
2
0
0
0
R/(W) *
R/(W) *
Rev. 5.00, 12/03, page 191 of 1088
1
0
0
0
R/(W) *
R/(W) *
(Initial value)

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2318 series

Table of Contents