English
Language : 

M306H5MG-XXXFP Datasheet, PDF (91/324 Pages) Renesas Technology Corp – SNGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER
M306H5MG-XXXFP/MC-XXXFP/FGFP
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
(b5)
Reserved bit
Must 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 Timer A2 event/trigger
select bit
TA2TGH
TA3TGL
TA3TGH
Timer A3 event/trigger
select bit
TA4TGL
TA4TGH
Timer A4 event/trigger
select bit
Function
RW
b1 b0
0 0 : Input on TA1IN is selected (Note 1) RW
0 1 : TB2 is selected
1 0 : TA0 is selected
1 1 : TA2 is selected
RW
b3 b2
0 0 : Input on TA2IN is selected (Note 1) RW
0 1 : TB2 is selected
1 0 : TA1 is selected
1 1 : TA3 is selected
RW
b5 b4
0 0 : Input on TA3IN is selected (Note 1) RW
0 1 : TB2 is selected
1 0 : TA2 is selected
RW
1 1 : TA4 is selected
b7 b6
0 0 : Input on TA4IN is selected (Note 1) RW
0 1 : TB2 is selected
1 0 : TA3 is selected
1 1 : TA0 is selected
RW
Note 1: Make sure the port direction bits for the TA1IN to TA4IN pins are set to “0” (= input mode).
Clock prescaler reset flag
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
CPSRF
Address
038116
After reset
0XXXXXXX2
Bit symbol
Bit name
Function
RW
(b6-b0)
Nothing is assigned.
When write, set to “0”. When read, their contents are
indeterminate.
CPSR
Clock prescaler reset flag Setting this bit to “1” initializes the
prescaler for the timekeeping clock. ( RW
When read, its content is “0”.)
Figure 2.10.6. ONSF Register, TRGSR Register, and CPSRF Register
Rev.1.20 Dec 13, 2005 page 91 of 323
REJ03B0095-0100Z