Renesas M16C/6NK Laptop User Manual


 
Rev.1.10 Jul 01, 2005 page 105 of 318
REJ09B0124-0110
M16C/6N Group (M16C/6NK, M16C/6NM) 12. Timers
Under development
This document is under development and its contents are subject to change.
Bit Name
Symbol
TA0MR to TA4MR
Function
Bit Symbol
b7 b6 b5 b4 b3 b2 b1 b0
Operation Mode Select Bit
1 0 : One-shot timer mode
b1 b0
TMOD1
TMOD0
MR0
Pulse Output Function
Select Bit
0 : Pulse is not output
(TA
iOUT
pin functions as I/O port)
1 : Pulse is output
(TAi
OUT
pin functions as a pulse output pin)
MR2
MR1
MR3
Set to "0" in one-shot timer mode
0 0 : f1 or f2
0 1 : f8
1 0 : f32
1 1 : fC32
b7 b6
TCK1
TCK0
Count Source Select Bit
100
0 : TAiOS bit is enabled
1 : Selected by TAiTGH to TAiTGL bits
Trigger Select Bit
External Trigger Select
Bit
(1)
0 : Falling edge of input signal to TAiIN pin
(2)
1 : Rising edge of input signal to TAiIN pin
(2)
NOTES:
1.Effective when the TAiTGH and TAiTGL bits in the ONSF or TRGSR register are "00b" (TAiIN pin input).
2.The port direction bit for the TAiIN pin is set to "0" (input mode).
RW
RW
RW
RW
RW
RW
RW
RW
RW
Timer Ai Mode Register (i = 0 to 4)
After Reset
00h
Address
0396h to 039Ah
Figure 12.11 TAiMR Register in One-shot Timer Mode