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

  • 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 93
Rev.1.00 May 22 2012
REJ09B0566
4-74
Library Reference
4
4.2.7 38BMulti Function Timer Pulse Unit
R_MTU_Read
Program example
/* PDL definitions */
#include r_pdl_mtu.h
/* PDL device-specific definitions */
#include r_pdl_definitions.h
uint8_t Flags;
uint16_t General_A;
uint16_t General_D;
void func(void)
{
/* Read the status flags and registers A and D for channel MTU0 */
R_MTU_Read(
0,
&Flags,
PDL_NA,
&General_A,
PDL_NA,
PDL_NA,
&General_D
);
}
Zobrazit stránku 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 137 138

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

Žádné komentáře