Renesas Single-Chip Microcomputer M38C89T-ADF Manual de usuario Pagina 97

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 138
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 96
Rev.1.00 May 22 2012
REJ09B0566
4-77
3BLibrary Reference
4
4.2.7 Multi Function Timer Pulse Unit R_CMT_Destroy
2) R_CMT_Destroy
Synopsis
Disable a CMT unit.
Prototype bool R_CMT_Destroy(
uint8_t data
// Unit selection
);
Description
Shut down a CMT unit.
[data]
The timer unit n (where n = 0 or 1).
Return value
True if the unit selection is valid; otherwise false.
Category
Compare Match Timer
Reference
R_CMT_Create
Remarks
The timer unit is put into the stop state to reduce power consumption.
Program example
/* PDL definitions */
#include r_pdl_cmt.h
/* PDL device-specific definitions */
#include r_pdl_definitions.h
void func(void)
{
/* Shutdown channels 0 and 1 */
R_CMT_Destroy(
0
);
}
Vista de pagina 96
1 2 ... 92 93 94 95 96 97 98 99 100 101 102 ... 137 138

Comentarios a estos manuales

Sin comentarios