English
Language : 

M16C30P_07 Datasheet, PDF (116/317 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/30 SERIES
M16C/30P Group
14. Timers
Timer Ai Mode Register (i=0 to 2)
b7 b6 b5 b4 b3 b2 b1 b0
0
00
Symbol
Address
After Reset
TA0MR to TA2MR
0396h to 0398h
00h
Bit Symbol
Bit Name
Function
RW
TMOD0 Operation Mode Select Bit
b1 b0
RW
TMOD1
0 0 : Timer mode
RW
Pulse Output Function Select Bit 0 : Pulse is not output
(TAiOUT pin is a normal port pin)
MR0
1 : Pulse is output (1)
RW
(TAiOUT pin is a pulse output pin)
Gate Function Select Bit
MR1
MR2
b4 b3
0 0 : Gate function not available
RW
0 1 : (TAiIN pin functions as I/O port)
1 0 : Counts w hile input on the TAiIN
pin is low (2)
1 1 : Counts w hile input on the TAiIN
RW
pin is high (2)
MR3 Set to “0” in timer mode
RW
Count Source Select Bit
b7 b6
TCK0
0 0 : f1 or f2 (3)
RW
0 1 : f8
TCK1
1 0 : f32
RW
1 1 : fC32
NOTES :
1. TA0OUT pin is N-channel open drain output.
2. The port direction bit for the TAiIN pin is set to “0” (= input mode).
3. Selected by PCLK0 bit in the PCLKR register.
Figure 14.8 TAiMR Register in Timer Mode
Rev.1.22 Mar 29, 2007 Page 100 of 291
REJ09B0179-0122