Renesas Single-Chip Microcomputer M38C89T-ADF Manual do Utilizador Página 97

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 138
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 96
1 2 ... 92 93 94 95 96 97 98 99 100 101 102 ... 137 138

Comentários a estes Manuais

Sem comentários