English
Language : 

M16C6NK Datasheet, PDF (136/404 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)
13. Timers
One-Shot Start Flag
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
ONSF
Address
0382h
After Reset
00h
Bit Symbol
Bit Name
Function
RW
TA0OS
TA1OS
TA2OS
TA3OS
TA4OS
Timer A0 One-Shot Start Flag
Timer A1 One-Shot Start Flag
Timer A2 One-Shot Start Flag
Timer A3 One-Shot Start Flag
Timer A4 One-Shot Start Flag
The timer starts counting by setting RW
this bit to "1" while the TMOD1 to
TMOD0 bits in the TAiMR register (i = RW
0 to 4) = 10b (one-shot timer mode) RW
and the MR2 bit in the TAiMR register
= 0 (TAiOS bit enabled).
RW
When read, its content is "0".
RW
TAZIE Z-phase Input Enable Bit
0 : Z-phase input disabled
1 : Z-phase input enabled
RW
TA0TGL
TA0TGH
Timer A0 Event/Trigger
Select Bit
b7 b6
0 0 : Input on TA0IN is selected (1) RW
0 1 : TB2 is selected (2)
1 0 : TA4 is selected (2)
1 1 : TA1 is selected (2)
RW
NOTES:
1.Make sure the PD7_1 bit in the PD7 register is set to "0" (input mode).
2.Over flow or under flow.
Trigger Select Register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
TRGSR
Address
0383h
After Reset
00h
Bit Symbol
Bit Name
TA1TGL
TA1TGH
Timer A1 Event/Trigger
Select Bit
Function
RW
b1 b0
0 0 : Input on TA1IN is selected (1) RW
0 1 : TB2 is selected (2)
1 0 : TA0 is selected (2)
1 1 : TA2 is selected (2)
RW
TA2TGL
TA2TGH
Timer A2 Event/Trigger
Select Bit
b3 b2
0 0 : Input on TA2IN is selected (1) RW
0 1 : TB2 is selected (2)
1 0 : TA1 is selected (2)
1 1 : TA3 is selected (2)
RW
TA3TGL
TA3TGH
Timer A3 Event/Trigger
Select Bit
b5 b4
0 0 : Input on TA3IN is selected (1) RW
0 1 : TB2 is selected (2)
1 0 : TA2 is selected (2)
1 1 : TA4 is selected (2)
RW
TA4TGL
TA4TGH
Timer A4 Event/Trigger
Select Bit
b7 b6
0 0 : Input on TA4IN is selected (1) RW
0 1 : TB2 is selected (2)
1 0 : TA3 is selected (2)
1 1 : TA0 is selected (2)
RW
NOTES:
1.Make sure the port direction bits for the TA1IN to TA4IN pins are set to "0" (input mode).
2.Over flow or under flow.
Clock Prescaler Reset Flag
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
CPSRF
Address
0381h
After Reset
0XXXXXXXb
Bit Symbol
Bit Name
Function
RW
Nothing is assigned. When write, set to "0".
(b6-b0) When read, their contents are indeterminate.
CPSR
Setting this bit to "1" initializes the
Clock Prescaler Reset Flag prescaler for the timekeeping clock. RW
(When read, its content is "0".)
Figure 13.6 ONSF Register, TRGSR Register and CPSRF Register
Rev.2.00 Nov 28, 2005 page 118 of 378
REJ09B0124-0200