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

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 138
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 87
Rev.1.00 May 22 2012
REJ09B0566
4-68
3BLibrary Reference
4
4.2.7 38BMulti Function Timer Pulse Unit
R_MTU_Create
Program example
/* PDL definitions */
#include r_pdl_mtu.h
/* PDL device-specific definitions */
#include r_pdl_definitions.h
void func(void)
{
/* Configure MTU0: PCLK, clear after a compare match A */
R_MTU_Create(
0,
0,
PDL_MTU_CLK_PCLK_DIV_1 | PDL_MTU_CLEAR_CM_A,
0,
0,
199,
99,
0,
0,
0,
0,
0,
PDL_NO_FUNC,
PDL_NO_FUNC,
PDL_NO_FUNC,
PDL_NO_FUNC,
PDL_NO_FUNC,
PDL_NO_FUNC,
0,
PDL_NO_FUNC,
PDL_NO_FUNC,
0
);
}
Vedere la pagina 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 137 138

Commenti su questo manuale

Nessun commento