English
Language : 

M16C30P_07 Datasheet, PDF (113/317 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/30 SERIES
M16C/30P Group
14. Timers
One-Shot Start Flag
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
ONSF
Address
0382h
Bit Symbol
Bit Name
Timer A0 One-Shot Start Flag
TA0OS
Timer A1 One-Shot Start Flag
TA1OS
Timer A2 One-Shot Start Flag
TA2OS
After Reset
00XXX000b
Function
RW
The timer starts counting by setting this bit to
“1” w hile the TMOD1 to TMOD0 bits in the
RW
TAiMR register i = 0 to 2) = 10b (= one-shot
timer mode) and the MR2 bit in the TAiMR
RW
register = 0 (=TAiOS bit enabled). When read,
its content is 0”.
RW
—
Nothing is assigned. When w rite, set to “0”.
(b5-b3) When read, their contents are indeterminate.
—
Timer A0 Event/Trigger Select Bit b7 b6
TA0TGL
0 0 : Input on TA0IN is selected (1)
RW
0 1 : TB2 is selected (2)
1 0 : Do not set
TA0TGH
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. Overflow or underflow .
Trigger Select Register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
Address
After Reset
TRGSR
0383h
XXXX0000b
Bit Symbol
Bit Name
Function
RW
Timer A1 Event/Trigger Select Bit b1 b0
TA1TGL
0 0 : Input on TA1IN is selected (1)
RW
0 1 : TB2 is selected (2)
1 0 : TA0 is selected (2)
TA1TGH
1 1 : TA2 is selected (2)
RW
Timer A2 Event/Trigger Select Bit b3 b2
TA2TGL
0 0 : Input on TA2IN is selected (1)
RW
0 1 : TB2 is selected (2)
1 0 : TA1 is selected (2)
TA2TGH
1 1 : Do not set
RW
—
Nothing is assigned. When w rite, set to “0”.
(b7-b4) When read, their contents are indeterminate.
—
NOTES :
1. Make sure the port direction bits for the TA1IN to TA2IN pins are set to “0” (= input mode).
2. Overflow or underflow .
Figure 14.6 ONSF and TRGSR Registers
Rev.1.22 Mar 29, 2007 Page 97 of 291
REJ09B0179-0122