DMA is prepared for two devices, CPU and SCU. The library supports both.
∙ For the functions of the CPU and SCU, high-level and low-level libraries are prepared.
The contents of the high-level and low-level functions are described below.
High-level function
Basic functions that can execute byte, word, longword transfer, etc. with simple settings are now available.
Low-level functions
Functions that can make detailed settings such as status acquisition, mode setting, and interrupts are provided.
The main differences in usage between the CPU and SCU are explained below (see the hardware manual for details).
CPU
Since it cannot be realized by SCU, it is effective for transfer between the same buses (between work RAM, etc.)
SCU
Since the CPU can operate in parallel during transfer, it is effective for transfers that do not use CPU_Bus. Since it is faster than the CPU, it is effective for high-speed transfer.
1.3 Precautions