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

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 138
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
);
}
Vedere la pagina 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 137 138

Commenti su questo manuale

Nessun commento