V DMA BLOCK: IDMA (Intelligent DMA)
S1C33L03 FUNCTION PART
EPSON
B-V-3-5
A-1
B-V
IDMA
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.
Table 3.2 Interrupt Factors Used to Invoke IDMA
Peripheral circuit
Interrupt factor
IDMA Ch.
IDMA request bit
IDMA enable bit
Ports
Port input 0
1
RP0 (D0/0x40290)
DEP0 (D0/0x40294)
Port input 1
2
RP1 (D1/0x40290)
DEP1 (D1/0x40294)
Port input 2
3
RP2 (D2/0x40290)
DEP2 (D2/0x40294)
Port input 3
4
RP3 (D3/0x40290)
DEP3 (D3/0x40294)
High-speed DMA
Ch.0, end of transfer
5
RHDM0 (D4/0x40290)
DEHDM0 (D4/0x40294)
Ch.1, end of transfer
6
RHDM1 (D5/0x40290)
DEHDM1 (D5/0x40294)
16-bit programmable Timer 0 comparison B
7
R16TU0 (D6/0x40290)
DE16TU0 (D6/0x40294)
timer
Timer 0 comparison A
8
R16TC0 (D7/0x40290)
DE16TC0 (D7/0x40294)
Timer 1 comparison B
9
R16TU1 (D0/0x40291)
DE16TU1 (D0/0x40295)
Timer 1 comparison A
10
R16TC1 (D1/0x40291)
DE16TC1 (D1/0x40295)
Timer 2 comparison B
11
R16TU2 (D2/0x40291)
DE16TU2 (D2/0x40295)
Timer 2 comparison A
12
R16TC2 (D3/0x40291)
DE16TC2 (D3/0x40295)
Timer 3 comparison B
13
R16TU3 (D4/0x40291)
DE16TU3 (D4/0x40295)
Timer 3 comparison A
14
R16TC3 (D5/0x40291)
DE16TC3 (D5/0x40295)
Timer 4 comparison B
15
R16TU4 (D6/0x40291)
DE16TU4 (D6/0x40295)
Timer 4 comparison A
16
R16TC4 (D7/0x40291)
DE16TC4 (D7/0x40295)
Timer 5 comparison B
17
R16TU5 (D0/0x40292)
DE16TU5 (D0/0x40296)
Timer 5 comparison A
18
R16TC5 (D1/0x40292)
DE16TC5 (D1/0x40296)
8-bit programmable
Timer 0 underflow
19
R8TU0 (D2/0x40292)
DE8TU0 (D2/0x40296)
timer
Timer 1 underflow
20
R8TU1 (D3/0x40292)
DE8TU1 (D3/0x40296)
Timer 2 underflow
21
R8TU2 (D4/0x40292)
DE8TU2 (D4/0x40296)
Timer 3 underflow
22
R8TU3 (D5/0x40292)
DE8TU3 (D5/0x40296)
Serial interface
Ch.0 receive buffer full
23
RSRX0 (D6/0x40292)
DESRX0 (D6/0x40296)
Ch.0 transmit buffer empty
24
RSTX0 (D7/0x40292)
DESTX0 (D7/0x40296)
Ch.1 receive buffer full
25
RSRX1 (D0/0x40293)
DESRX1 (D0/0x40297)
Ch.1 transmit buffer empty
26
RSTX1 (D1/0x40293)
DESTX1 (D1/0x40297)
A/D converter
End of A/D conversion
27
RADE (D2/0x40293)
DEADE (D2/0x40297)
Ports
Port input 4
28
RP4 (D4/0x40293)
DEP4 (D4/0x40297)
Port input 5
29
RP5 (D5/0x40293)
DEP5 (D5/0x40297)
Port input 6
30
RP4 (D6/0x40293)
DEP4 (D6/0x40297)
Port input 7
31
RP7 (D7/0x40293)
DEP7 (D7/0x40297)
Содержание CMOS 32-Bit Single Chip Microcomputer S1C33L03
Страница 4: ......
Страница 14: ......
Страница 15: ...S1C33L03 PRODUCT PART ...
Страница 16: ......
Страница 147: ...S1C33L03 FUNCTION PART ...
Страница 148: ......
Страница 149: ...S1C33L03 FUNCTION PART I OUTLINE ...
Страница 150: ......
Страница 152: ...I OUTLINE INTRODUCTION B I 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 162: ...I OUTLINE LIST OF PINS B I 3 8 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 163: ...S1C33L03 FUNCTION PART II CORE BLOCK ...
Страница 164: ......
Страница 166: ...II CORE BLOCK INTRODUCTION B II 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 172: ...II CORE BLOCK CPU AND OPERATING MODE B II 2 6 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 176: ...II CORE BLOCK INITIAL RESET B II 3 4 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 224: ...II CORE BLOCK BCU Bus Control Unit B II 4 48 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 250: ...II CORE BLOCK ITC Interrupt Controller B II 5 26 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 262: ...II CORE BLOCK DBG Debug Unit B II 7 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 263: ...S1C33L03 FUNCTION PART III PERIPHERAL BLOCK ...
Страница 264: ......
Страница 266: ...III PERIPHERAL BLOCK INTRODUCTION B III 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 292: ...III PERIPHERAL BLOCK 8 BIT PROGRAMMABLE TIMERS B III 3 18 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 318: ...III PERIPHERAL BLOCK 16 BIT PROGRAMMABLE TIMERS B III 4 26 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 322: ...III PERIPHERAL BLOCK WATCHDOG TIMER B III 5 4 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 414: ...III PERIPHERAL BLOCK INPUT OUTPUT PORTS B III 9 26 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 415: ...S1C33L03 FUNCTION PART IV ANALOG BLOCK ...
Страница 416: ......
Страница 418: ...IV ANALOG BLOCK INTRODUCTION B IV 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 434: ...IV ANALOG BLOCK A D CONVERTER B IV 2 16 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 435: ...S1C33L03 FUNCTION PART V DMA BLOCK ...
Страница 436: ......
Страница 438: ...V DMA BLOCK INTRODUCTION B V 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 492: ...V DMA BLOCK IDMA Intelligent DMA B V 3 18 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 493: ...S1C33L03 FUNCTION PART VI SDRAM CONTROLLER BLOCK ...
Страница 494: ......
Страница 496: ...VI SDRAM CONTROLLER BLOCK INTRODUCTION B VI 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 531: ...S1C33L03 FUNCTION PART VII LCD CONTROLLER BLOCK ...
Страница 532: ......
Страница 534: ...VII LCD CONTROLLER BLOCK INTRODUCTION B VII 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 579: ...S1C33L03 FUNCTION PART Appendix I O MAP ...
Страница 580: ......