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

  • 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 91
Rev.1.00 May 22 2012
REJ09B0566
4-72
4
3BLibrary Reference
4.2.7 38BMulti Function Timer Pulse Unit
R_MTU_Control
Program example
/* PDL definitions */
#include r_pdl_mtu.h
/* PDL device-specific definitions */
#include r_pdl_definitions.h
void func(void)
{
/* Load the counter on channel MTU channel 0 */
R_MTU_Control(
0,
PDL_MTU_COUNTER,
0xFFDD,
0,
0,
0,
0
);
}
Zobrazit stránku 91
1 2 ... 87 88 89 90 91 92 93 94 95 96 97 ... 137 138

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

Žádné komentáře