English
Language : 

M32C84 Datasheet, PDF (189/529 Pages) Renesas Technology Corp – 16/32-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M32C/80 SERIES
M32C/84 Group (M32C/84, M32C/84T)
15. Timer (Timer A)
15.1.3 One-Shot Timer Mode
In one-shot timer mode, the timer operates only once for each trigger (see Table 15.6). Once a trigger
occurs, the timer starts and continues operating for a desired period. Figure 15.12 shows the TAiMR
register (i=0 to 4) in one-shot timer mode.
Table 15.6 One-Shot Timer Mode Specifications
Item
Count Source
f1, f8, f2n(1), fC32
Specification
Counting Operation
• The timer decrements a counter value
When the timer counter reaches "000016", it stops counting after reloading.
If a trigger occurs while counting, content of the reload register is reloaded into the
count register and counting resumes.
Divide Ratio
1/n n : setting value of the TAi register (i=0 to 4) 000016 to FFFF16,
but the timer counter does not run if n=000016
Counter Start Condition
The TAiS bit in the TABSR register is set to "1" (starts counting) and following triggers
occur:
• External trigger input is provided
• Timer counter overflows or underflows
• The TAiOS bit in the ONSF register is set to "1" (timer started)
Counter Stop Condition
• After the timer counter has reached "000016" and is reloaded
• When the TAiS bit is set to "0" (stops counting)
Interrupt Request Generation Timing The timer counter reaches "000016"
TAiIN Pin Function
Programmable I/O port or trigger input
TAiOUT Pin Function
Programmable I/O port or pulse output
Read from Timer
The value in the TAi register is indeterminate when read
Write to Timer
• When the timer counter stops, the value written to the TAi register is also written to
both reload register and counter
• While counting, the value written to the TAi register is written to the reload register
(It is transferred to the counter at the next reload timing)
NOTES:
1. The CNT3 to CNT0 bits in the TCSPR register select no division (n=0) or divide-by-2n (n=1 to 15).
Rev. 1.01 Jul. 07, 2005 Page 168 of 495
REJ09B0036-0101