Renesas Single-Chip Microcomputer M38C89T-ADF Uživatelský manuál Strana 85

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 138
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 84
Rev.1.00 May 22 2012
REJ09B0566
4-65
Library Reference
4.2.6 37BDMA Controller R_DMAC_GetStatus
4
Program example
/* PDL definitions */
#include r_pdl_dmac.h
/* PDL device-specific definitions */
#include r_pdl_definitions.h
void func(void)
{
uint16_t StatusValue;
uint32_t SourceAddr;
/* Read the status and current source address for channel 2 */
R_DMAC_GetStatus(
2,
&StatusValue,
&SourceAddr,
PDL_NA,
PDL_NA
);
}
Zobrazit stránku 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 137 138

Komentáře k této Příručce

Žádné komentáře