| 数据搜索系统,热门电子元器件搜索 |
|
M32C/8B 数据表(PDF) 137 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M32C/8B 数据表(HTML) 137 Page - Renesas Technology Corp |
|
137 / 406 page ![]() Under development M32C/8B Group 13. DMAC Preliminary specification Specifications in this manual are tentative and subject to change. REJ09B0450-0050 Rev.0.50 Oct 31, 2008 Page 120 of 385 13. DMAC DMAC allows data to be sent to and from memory without involving the CPU. The M32C/8B Group has four DMAC channels. DMAC transfers an 8- or 16-bit data from a source address to a destination address for each transfer request. DMA0 and DMA1 must be prioritized when using DMAC. DMA2 and DMA3 share the registers with the high-speed interrupts. The high-speed interrupts cannot be used when three or more DMAC channels are used. The CPU and DMAC use the same data bus, but DMAC has a higher bus access privilege than the CPU. DMAC employing the cycle-steal method enables a high-speed operation from a transfer request to a completion of 16-bit (word) or 8-bit (byte) data transfer. Figure 13.1 shows a mapping of DMAC-associated registers. Table 13.1 lists specifications of DMAC. Figures 13.2 to 13.6 show DMAC-associated registers. Figures 13.7 and 13.8 show register settings. Because the registers shown in Figure 13.1 are allocated in the CPU, use the LDC instruction to set the registers. To set registers DCT2, DCT3, DRC2, DRC3, DMA2, and DMA3, set the B flag to 1 (register bank 1) and write to registers R0 to R3, A0, and A1 with the MOV instruction. To set registers DSA2 and DSA3, set the B flag to 1 and write to registers SB and FB with the LDC instruction. To set registers DRA2 and DRA3, write to registers SVP and VCT with the LDC instruction. Figure 13.1 Register Mapping for DMAC DMA mode register 0 DMA mode register 1 DMA0 transfer count register DMA1 transfer count register DMA0 transfer count reload register(1) DMA1 transfer count reload register(1) DMA0 memory address register DMA1 memory address register DMA0 SFR Address register DMA1 SFR Address register DMA0 memory address reload register(1) DMA1 memory address reload register(1) DMAC-Associated Registers When three or more DMAC channels are used, the register bank 1 is employed as DMAC registers. DMA2 transfer count register DMA3 transfer count register DMA2 memory address register DMA3 memory address register DMA2 SFR Address register DMA3 SFR Address register DMA2 transfer count reload register(1) DMA3 transfer count reload register(1) When three or more DMAC channels are used, the high-speed interrupt registers are employed as DMAC registers. DCT0 DCT1 DRC0 DRC1 DMD0 DMD1 DMA2 memory address reload register(1) DMA3 memory address reload register(1) DRA2(SVP) DRA3(VCT) SVF Flag save register DMA0 DMA1 DSA0 DSA1 DRA0 DRA1 DMA2(A0) DMA3(A1) DSA2(SB) DSA3(FB) DCT2(R0) DCT3(R1) DRC2(R2) DRC3(R3) When using DMA2 and DMA3, use the CPU registers shown in parentheses ( ). NOTE: 1. These registers are used for repeat transfer, not for single transfer. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |