User`s manual
RX62N Group, RX621 Group 4. Library Reference
3) R_DTC_Destroy
Synopsis
Disable the Data Transfer Controller.
Prototype
bool R_DTC_Destroy(
void
// No parameter is required
);
Description
Shutdown the Data Transfer Controller.
Return value
True.
Category
Data Transfer Controller
Reference
R_DTC_Control
Remarks
•
This function will also shut down the DMAC.
•
Before calling this function,
i. If another peripheral is being used to trigger a DTC transfer, stop the triggers from that
peripheral (using Control or Destroy for that peripheral).
ii. Use R_DTC_Control to stop the DTC.
iii. Stop the DMAC.
Program example
/* RPDL definitions */
#include "r_pdl_dtc.h"
/* RPDL device-specific definitions */
#include "r_pdl_definitions.h"
void func(void)
{
/* Shutdown the DTC (& DMAC) */
R_DTC_Destroy(
);
}
R20UT0084EE0112 Rev.1.12 Page 4-86
July. 16, 2014