Idma Invocation - Epson S1C33210 Technical Manual

Cmos 32-bit single chip microcomputer
Table of Contents

Advertisement

IDMA Invocation

The triggers by which IDMA is invoked have the following three causes:
1. Interrupt factor in an internal peripheral circuit
2. Trigger in the software application
3. Link setting
Enabling/disabling DMA transfer
The IDMA controller is enabled by writing "1" to the IDMA enable bit IDMAEN (D0) / IDMA enable register
(0x48205), and is ready to accept the triggers described above. However, before enabling a DMA transfer, be
sure to set the base address and the control information for the channel to be invoked correctly. If IDMAEN is
set to "0", no IDMA invocation request is accepted.
IDMA invocation by an interrupt factor in internal peripheral circuits
Some internal peripheral circuits that have an interrupt generating function can invoke IDMA by an interrupt
factor in that circuit. The IDMA channel numbers corresponding to such IDMA invocation are predetermined.
The relationship between the interrupt factors that have this function and the IDMA channels is shown in Table
3.2.
Peripheral circuit
Ports
Port input 0
Port input 1
Port input 2
Port input 3
High-speed DMA
Ch.0, end of transfer
Ch.1, end of transfer
16-bit programmable Timer 0 comparison B
timer
Timer 0 comparison A
Timer 1 comparison B
Timer 1 comparison A
Timer 2 comparison B
Timer 2 comparison A
Timer 3 comparison B
Timer 3 comparison A
Timer 4 comparison B
Timer 4 comparison A
Timer 5 comparison B
Timer 5 comparison A
8-bit programmable
Timer 0 underflow
timer
Timer 1 underflow
Timer 2 underflow
Timer 3 underflow
Serial interface
Ch.0 receive buffer full
Ch.0 transmit buffer empty
Ch.1 receive buffer full
Ch.1 transmit buffer empty
A/D converter
End of A/D conversion
Ports
Port input 4
Port input 5
Port input 6
Port input 7
S1C33210 FUNCTION PART
Table 3.2 Interrupt Factors Used to Invoke IDMA
Interrupt factor
IDMA Ch.
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
EPSON
V DMA BLOCK: IDMA (Intelligent DMA)
IDMA request bit
1
RP0 (D0/0x40290)
2
RP1 (D1/0x40290)
3
RP2 (D2/0x40290)
4
RP3 (D3/0x40290)
5
RHDM0 (D4/0x40290)
6
RHDM1 (D5/0x40290)
7
R16TU0 (D6/0x40290)
8
R16TC0 (D7/0x40290)
9
R16TU1 (D0/0x40291)
R16TC1 (D1/0x40291)
R16TU2 (D2/0x40291)
R16TC2 (D3/0x40291)
R16TU3 (D4/0x40291)
R16TC3 (D5/0x40291)
R16TU4 (D6/0x40291)
R16TC4 (D7/0x40291)
R16TU5 (D0/0x40292)
R16TC5 (D1/0x40292)
R8TU0 (D2/0x40292)
R8TU1 (D3/0x40292)
R8TU2 (D4/0x40292)
R8TU3 (D5/0x40292)
RSRX0 (D6/0x40292)
RSTX0 (D7/0x40292)
RSRX1 (D0/0x40293)
RSTX1 (D1/0x40293)
RADE (D2/0x40293)
RP4 (D4/0x40293)
RP5 (D5/0x40293)
RP4 (D6/0x40293)
RP7 (D7/0x40293)
IDMA enable bit
DEP0 (D0/0x40294)
DEP1 (D1/0x40294)
DEP2 (D2/0x40294)
DEP3 (D3/0x40294)
DEHDM0 (D4/0x40294)
DEHDM1 (D5/0x40294)
DE16TU0 (D6/0x40294)
DE16TC0 (D7/0x40294)
DE16TU1 (D0/0x40295)
DE16TC1 (D1/0x40295)
DE16TU2 (D2/0x40295)
DE16TC2 (D3/0x40295)
DE16TU3 (D4/0x40295)
DE16TC3 (D5/0x40295)
DE16TU4 (D6/0x40295)
DE16TC4 (D7/0x40295)
DE16TU5 (D0/0x40296)
DE16TC5 (D1/0x40296)
DE8TU0 (D2/0x40296)
DE8TU1 (D3/0x40296)
DE8TU2 (D4/0x40296)
DE8TU3 (D5/0x40296)
DESRX0 (D6/0x40296)
DESTX0 (D7/0x40296)
DESRX1 (D0/0x40297)
DESTX1 (D1/0x40297)
DEADE (D2/0x40297)
DEP4 (D4/0x40297)
DEP5 (D5/0x40297)
DEP4 (D6/0x40297)
DEP7 (D7/0x40297)
B-V-3-5

Advertisement

Table of Contents
loading

Table of Contents