BAT32G1x9 user manual | Chapter 6 Universal timer unit Timer4/8
159 / 1149
Rev.1.02
6.3.8
Timer input and output selection register (TIOS0).
The TIOS0 register selects the timer inputs for Channel 0 and Channel 1 for Unit 0 and the timer output for
Channel 2. The TIOS0 register is set via the 8-bit memory operation instruction. After generating the reset
signal, the value of the TIOS0 register changes to "00H".
Figure 6-16 timer input selection register 0 (TIOS0).
Address:
0x40020474
After reset:
00H
R/W
symbol
7
6
5
4
3
2
1
0
TIOS0
TIS07
TIS06
TIS05
TIS04
TOS03
TIS02
TIS01
TIS00
TIS07
TIS06
TIS05
Channel 0
uses the choice of timer input
0
0
0
Input signal from
the timer input pin (TI00).
other
Setting Prohibited
TIS04
Channel 0
uses the choice of timer input
0
Input signal selected
by TIS07~TIS05
1
ElC's event input signal
TOS03
Enable of the timer output of channel 2
0
Output is Enabled
1
Disable output (output fixed to 0).
TIS02
TIS01
TIS00
Channel 1
uses the choice of timer inputs
0
0
0
The input signal of the timer input pin (TI01).
0
0
1
Event input signal for
EVENTC
0
1
0
The input signal of the timer input pin (TI01).
0
1
1
1
0
0
Low-speed internal oscillator clock (f
IL
).
1
0
1
Subsystem clock (f
SUB
).
Other than the above
Disable settings.
Note: 1.
The selected timer input needs to have a high or low level width greater than or equal to
1/fMCK+10ns.
Therefore, when selecting
fSUB
as the
fCLK
(CSS=1
for
the CKC
register), it is not possible to place
TIS02
at
"1".
2. When selecting the event input signal of the ELC
through timer input select register
0
(TIOS0),
register
0
(TPS0)
must be selected through the timer clock fCLK
。