Renesas Single-Chip Microcomputer M38C89T-ADF User Manual Page 83

  • Download
  • Add to my manuals
  • Print
  • Page
    / 138
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 82
Rev.1.00 May 22 2012
REJ09B0566
4-63
3BLibrary Reference
4
4.2.6 37BDMA Controller R_DMAC_Control
Program example
/* PDL definitions */
#include r_pdl_dmac.h
/* PDL device-specific definitions */
#include r_pdl_definitions.h
void func(void)
{
/* Enable transfers on channel 2 */
R_DMAC_Control(
PDL_DMAC_2,
PDL_DMAC_ENABLE
);
/* Suspend transfers on all enabled channels */
R_DMAC_Control(
PDL_DMAC_ALL,
PDL_DMAC_SUSPEND
);
/* Allow all suspended channels to resume */
R_DMAC_Control(
PDL_DMAC_ALL,
PDL_DMAC_ENABLE
);
}
Page view 82
1 2 ... 78 79 80 81 82 83 84 85 86 87 88 ... 137 138

Comments to this Manuals

No comments