English
Language : 

M16C6NK Datasheet, PDF (135/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
Count Start Flag
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
TABSR
Address
0380h
After Reset
00h
Bit Symbol
Bit Name
Function
RW
TA0S Timer A0 Count Start Flag 0 : Stops counting
RW
1 : Starts counting
TA1S Timer A1 Count Start Flag
RW
TA2S Timer A2 Count Start Flag
RW
TA3S Timer A3 Count Start Flag
RW
TA4S Timer A4 Count Start Flag
RW
TB0S Timer B0 Count Start Flag
RW
TB1S Timer B1 Count Start Flag
RW
TB2S Timer B2 Count Start Flag
RW
Up/Down Flag (1)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
UDF
Address
0384h
After Reset
00h
Bit Symbol
Bit Name
Function
RW
TA0UD Timer A0 Up/Down Flag 0 : Down count
RW
TA1UD Timer A1 Up/Down Flag 1 : Up count
RW
TA2UD
TA3UD
TA4UD
Timer A2 Up/Down Flag
Timer A3 Up/Down Flag
Timer A4 Up/Down Flag
Enabled by setting the MR2 bit in RW
the TAiMR register to "0"
(= switching source in UDF register)
RW
during event counter mode.
RW
TA2P
Timer A2 Two-Phase Pulse 0 : Two-phase pulse signal
Signal Processing Select Bit processing disabled
WO
1 : Two-phase pulse signal
TA3P
Timer A3 Two-Phase Pulse
Signal Processing Select Bit
processing enabled (2) (3)
WO
Timer A4 Two-Phase Pulse
TA4P Signal Processing Select Bit
WO
NOTES:
1.Use the MOV instruction to write to this register.
2.Make sure the port direction bits for the TA2IN to TA4IN and TA2OUT to TA4OUT pins are
set to "0" (input mode).
3.When not using the two-phase pulse signal processing function, set the corresponding bit to
timer A2 to timer A4 to "0".
Figure 13.5 TABSR Register and UDF Register
Rev.2.00 Nov 28, 2005 page 117 of 378
REJ09B0124-0200