SH7263/SH7203 Group
Data Transfer to On-chip Peripheral Modules with DMAC
REJ06B0734-0100/Rev.1.00 April 2008 Page 8 of 17
Table 3 Macro Definitions Used in Sample Program
Macro Definition Setting Value Description
DMA_SIZE_BYTE H'0000 Byte transfer
DMA_SIZE_WORD H'0001 Word transfer
DMA_SIZE_LONG H'0002 Longword transfer
DMA_SIZE_LONGx4 H'0003 16-byte transfer
DMA_INT_DISABLE H'0000 DMA transfer end interrupt disabled
DMA_INT_ENABLE H'0010 DMA transfer end interrupt enabled
START
END
No
Yes
DMA transfer
completed?
Initialize DMAC/enable transfer
io_init_dma1()
Initialize SCIF/enable
transmission and transmission
interrupts
io_init_scif()
Figure 4 Flowchart of Sample Program