User`s manual
RX62N Group, RX621 Group 4. Library Reference
2) R_EXDMAC_Destroy
Synopsis
Disable the EXDMA controller.
Prototype
bool R_EXDMAC_Destroy(
uint8_t data
// Channel number
);
Description
Shutdown the EXDMAC module.
[data]
The channel number n (where n = 0 to 1).
Return value
True if the shutdown succeeded; otherwise false.
Category
EXDMA controller
Reference
R_EXDMAC_Create
Remarks
•
If all channels have been suspended, the EXDMAC module will be shut down.
•
If the MTU is being used to trigger an EXDMA transfer, stop the triggers from that peripheral
(using Control or Destroy for that peripheral) before calling this function.
Program example
/* RPDL definitions */
#include "r_pdl_exdmac.h"
/* RPDL device-specific definitions */
#include "r_pdl_definitions.h"
void func(void)
{
/* Shutdown channel 1 */
R_EXDMAC_Destroy(
1
);
}
R20UT0084EE0112 Rev.1.12 Page 4-76
July. 16, 2014