User`s manual

RX62N Group, RX621 Group 4. Library Reference
3) R_EXDMAC_Control
Synopsis
Control the EXDMA controller.
Prototype
bool R_EXDMAC_Control (
uint8_t data1,
// Channel number
uint16_t data2,
// Control options
void * data3,
// Source start address
void * data4,
// Destination start address
uint16_t data5,
// Transfer count
uint16_t data6,
// Repeat or Block size
int32_t data7,
// Address offset
uint32_t data8,
// Source address extended repeat area
uint32_t data9
// Destination address extended repeat area
);
Description (1/2)
Change the state of a DMA controller channel.
[data1]
The channel number n (where n = 0 to 1).
[data2]
Control the channel operation.
If multiple selections are required, use "|" to separate each selection.
Enable / suspend control
PDL_EXDMAC_ENABLE
Enable / re-enable DMA transfers.
PDL_EXDMAC_SUSPEND
Suspend DMA transfers.
Software trigger control
PDL_EXDMAC_START or
PDL_EXDMAC_START_RUN or
PDL_EXDMAC_STOP
Start an EXDMA transfer.
Start EXDMA transfers until stopped.
Stop software-triggered transfers
Transfer end interrupt flag control
PDL_EXDMAC_CLEAR_DTIF
Clear the Transfer End flag.
PDL_EXDMAC_CLEAR_ESIF
Clear the Transfer Escape End flag.
The values to be modified.
PDL_EXDMAC_UPDATE_SOURCE
Source address, using parameter
data3.
PDL_EXDMAC_UPDATE_DESTINATION
Destination address, using parameter
data4.
PDL_EXDMAC_UPDATE_COUNT
Transfer count, using parameter data5.
PDL_EXDMAC_UPDATE_SIZE
Repeat, block or cluster size, using
parameter data6.
PDL_EXDMAC_UPDATE_OFFSET
Address offset, using parameter data7.
PDL_EXDMAC_UPDATE_REPEAT_SOURCE
Source address extended repeat area,
using parameter data8.
PDL_EXDMAC_UPDATE_REPEAT_DESTINATION
Destination address extended repeat
area, using parameter data9.
[data3]
The new source address. Specify PDL_NO_PTR if not required.
[data4]
The new destination address. Specify PDL_NO_PTR if not required.
[data5]
The transfer count value. Specify PDL_NO_DATA if not required.
[data6]
The repeat, block or cluster size for each transfer. Specify PDL_NO_DATA if not required.
R20UT0084EE0112 Rev.1.12 Page 4-77
July. 16, 2014