Renesas Single-Chip Microcomputer M38C89T-ADF Manual de usuario Pagina 83

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 138
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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
);
}
Vista de pagina 82
1 2 ... 78 79 80 81 82 83 84 85 86 87 88 ... 137 138

Comentarios a estos manuales

Sin comentarios