Renesas Single-Chip Microcomputer M38C89T-ADF Manuel d'utilisateur Page 83

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 138
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
);
}
Vue de la page 82
1 2 ... 78 79 80 81 82 83 84 85 86 87 88 ... 137 138

Commentaires sur ces manuels

Pas de commentaire