Renesas M16C/6NK Hardware Manual page 136

16-bit single-chip microcomputer m16c family / m16c/60 series
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6nm

Table of Contents