![Renesas M16C/62P Group Скачать руководство пользователя страница 157](http://html1.mh-extra.com/html/renesas/m16c-62p-group/m16c-62p-group_hardware-manual_1440174157.webp)
M16C/62P Group (M16C/62P, M16C/62PT)
15. Timers
Rev.2.41
Jan 10, 2006
Page 142 of 390
REJ09B0185-0241
Figure 15.6
ONSF, RGSR Registers
One-Shot Start Flag
Symbol
Address
After Reset
ONSF
0382h
00h
Bit Symbol
Bit Name
Function
RW
Z-Phase Input Enable Bit
NOTES :
1.
2.
TA4OS
TAZIE
RW
RW
The timer starts counting by setting this bit to “1”
w hile 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”.
Timer A3 One-Shot Start Flag
Timer A4 One-Shot Start Flag
TA3OS
RW
TA2OS
b7 b6
0 0 : Input on TA0IN is selected
(1)
0 1 : TB2 is selected
(2)
1 0 : TA4 is selected
(2)
1 1 : TA1 is selected
(2)
Timer A0 Event/Trigger Select
Bit
TA0TGH
RW
TA0TGL
RW
Timer A2 One-Shot Start Flag
RW
TA1OS
Timer A1 One-Shot Start Flag
RW
TA0OS
Timer A0 One-Shot Start Flag
RW
b0
0 : Z-phase input disabled
1 : Z-phase input enabled
Make sure the PD7_1 bit in the PD7 register is set to “0” (= input mode).
Overflow or underflow .
b7 b6 b5 b4 b3 b2 b1
Trigger Select Register
Symbol
Address
After Reset
TRGSR
0383h
00h
Bit Symbol
Bit Name
Function
RW
NOTES :
1.
2.
TA1TGH
b3 b2
0 0 : Input on TA2IN is selected
(1)
0 1 : TB2 is selected
(2)
1 0 : TA1 is selected
(2)
1 1 : TA3 is selected
(2)
b5 b4
0 0 : Input on TA3IN is selected
(1)
0 1 : TB2 is selected
(2)
1 0 : TA2 is selected
(2)
1 1 : TA4 is selected
(2)
TA3TGL
TA3TGH
RW
RW
Timer A3 Event/Trigger Select Bit
b7 b6
0 0 : Input on TA4IN is selected
(1)
0 1 : TB2 is selected
(2)
1 0 : TA3 is selected
(2)
1 1 : TA0 is selected
(2)
Timer A4 Event/Trigger Select Bit
TA4TGH
RW
TA4TGL
RW
RW
Timer A1 Event/Trigger Select Bit
Timer A2 Event/Trigger Select Bit
TA1TGL
RW
TA2TGH
RW
TA2TGL
RW
b1 b0
0 0 : Input on TA1IN is selected
(1)
0 1 : TB2 is selected
(2)
1 0 : TA0 is selected
(2)
1 1 : TA2 is selected
(2)
Make sure the port direction bits for the TA1IN to TA4IN pins are set to “0” (= input mode).
Overflow or underflow .
b7 b6 b5 b4 b3 b2 b1 b0
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655