English
Language : 

M16C6S_09 Datasheet, PDF (81/208 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M16C/6S Group
Timer A
One-shot start flag
b7 b6 b5 b4 b3 b2 b1 b0
0
Symbol
ONSF
Address
038216
After reset
0016
Bit symbol
Bit name
TA0OS Timer A0 one-shot start flag
TA1OS Timer A1 one-shot start flag
TA2OS Timer A2 one-shot start flag
TA3OS Timer A3 one-shot start flag
TA4OS Timer A4 one-shot start flag
Function
RW
The timer starts counting by setting RW
this bit to “1” while the TMOD1 to
TMOD0 bits of TAiMR register (i =
RW
0 to 4) = ‘102’ (= one-shot timer
RW
mode) and the MR2 bit of TAiMR
register = “0” (=TAiOS bit enabled). RW
When read, its content is “0”.
RW
Reserved bit
(b6)
Should be set to “0”.
RW
TA0TGL
TA0TGH
Timer A0 event/trigger
select bit
b7 b6
RW
0 0 : Input on TA0IN is selected (Note 1)
0 1 : TB2 overflow is selected (Note 2)
1 0 : TA4 overflow is selected (Note 2)
1 1 : TA1 overflow is selected (Note 2)
RW
Note 1: Make sure the PD7_1 bit of PD7 register is set to “0” (= input mode).
Note 2: Overflow or underflow
Trigger select register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
TRGSR
Address
038316
After reset
0016
Bit symbol
Bit name
TA1TGL Timer A1 event/trigger
select bit
TA1TGH
TA2TGL
TA2TGH
Timer A2 event/trigger
select bit
TA3TGL
TA3TGH
Timer A3 event/trigger
select bit
Function
RW
b1 b0
0 0 : Input on TA1IN is selected (Note 1) RW
1 0 : TA0 overflow is selected (Note 2)
1 1 : TA2 overflow is selected (Note 2) RW
(Note 3)
b3 b2
1 0 : TA1 overflow is selected (Note 2) RW
1 1 : TA3 overflow is selected (Note 2)
(Note 3) RW
b5 b4
1 0 : TA2 overflow is selected (Note 2) RW
1 1 : TA4 overflow is selected (Note 2)
(Note 3) RW
TA4TGL
TA4TGH
Timer A4 event/trigger
select bit
b7 b6
0 0 : Input on TA4 IN is selected (Note 1) RW
1 0 : TA3 overflow is selected (Note 2)
1 1 : TA0 overflow is selected (Note 2) RW
(Note 3)
Note 1: Make sure the port direction bits for the TA1IN to TA4IN pins are set to “0” (= input mode).
Note 2: Overflow or underflow
Note 3: Do not set cases which are not discribed.
Figure 1.12.5. ONSF Register, TRGSR Register, and CPSRF Register
Rev.5.01 Dec 10, 2009 page 81 of 201
REJ03B0014-0501