Renesas M16C/26A Manual de usuario Pagina 6

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 9
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 5
M16C/2
6
Using the M16C/26 Timers in Timer Mod
e
REU05B0046-0100Z June 2003
Page 6 of 8
5.0 Reference
Renesas Technology Corporation Semiconductor Home Page
http://www.renesas.com
E-mail Support
techsupport.rta@renesas.com
Data Sheets
M16C/26 datasheet
User’s Manual
KNC30 Users Manual, KNC30UE.PDF
M16C/60 and M16C/20 C Language Programming Manual, 6020EC.PDF
Writing interrupt handlers in C for the M16C Application Note
MSV30262-SKP or MSV-Mini26-SKP Quick start guide
MSV30262-SKP or MSV-Mini26-SKP Users Manual
MDECE30262 or MSV-Mini26-SKP Schematic
6.0 Software Code
A sample program written in C and compiled using the KNC30 compiler to illustrate how to set up a timer mode
on timer A0 is listed below. This program runs on the MSV30262 Starter Kit Board and flashes the green LED
(D5) at 1 Hz rate.
To become familiar with the timer, try changing the flash rate, the clock source, or even switch to a different timer
(e.g. TA1, TB0, etc.).
/*****************************************************************************
* File Name: timer_mode.c
*
* Content: Example program using Timer A in "Timer Mode" .This program
* is written for the Timer Mode application note. This program
* works with the MSV30262 starter kit board and flashes
* D5 connected to P7.2.
*
* Compiled with KNC30.
*
* All timing based on 20 MHz Xtal
*
* Copyright 2003 Renesas Technology America, Inc.
* All Rights Reserved.
*
Vista de pagina 5
1 2 3 4 5 6 7 8 9

Comentarios a estos manuales

Sin comentarios