Renesas Single-Chip Microcomputer M38C89T-ADF Manuale Utente Pagina 83

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 138
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
);
}
Vedere la pagina 82
1 2 ... 78 79 80 81 82 83 84 85 86 87 88 ... 137 138

Commenti su questo manuale

Nessun commento