![Cmsemicon BAT32G1 9 Series Скачать руководство пользователя страница 239](http://html1.mh-extra.com/html/cmsemicon/bat32g1-9-series/bat32g1-9-series_user-manual_2627609239.webp)
BAT32G1x9 user manual | Chapter 7 Timer A
239 / 1149
Rev.1.02
2. For precautions when using
TSTART
bits and
TCSTF
bits, please refer to
".
7.3.5
Timer AI/O control register 0 (TAIOC0).
The TAIOC0 register is the register that sets the input/output of timer A. The TAIOC0 register is set via the 8-bit
memory operation instruction.
After generating a reset signal, the value of the TAIOC0 register changes to "00H".
Figure 7-6 Format of timer AI/O control register 0 (TAIOC0).
Address: 40042After 241H
reset:
00HR/W
Symbol
76543210
TAIOC0
TIOGT1
TIOGT0
Taio's count control
notes
1
and
2
0
0
Events are always counted.
0
1
Events are counted during the polarity specified by INTP4.
1
0
Events are counted during the specified polarity of the timer output signal.
Other than the
above
Prohibit settings.
TIPF1
TIPF0
Selection of TAIO input filters
0
0
There is no filter.
0
1
There is a filter that samples via the f
CLK
.
1
0
There is a filter that samples via f
CLK
/8.
1
1
There is a filter that samples via f
CLK
/32.
These bits specify the
sampling frequency of the TAIO input filter. The input to the TAIO pin is sampled and if
the sampled value is the same 3 times in a row, this value is determined to be the input value.
TOENA
ALLOW FOR TAO output
0
Disable TAO
output
(port).
1
Allow TAO
output.
TEDGSEL
Polarity switching of input/output
Functions vary depending on the mode of operation (see Tables 7-4
and
7-5).
Note 1
When using
INTP4
or a timer output signal, the
count polarity of the event can be selected by
the
RCCPSEL2
bit of the
TAISR0
register
.
2. TiogT0 bits and
TIOGT1
bits are only valid in event counter mode.
TIOGT1
TIOGT0
TIPF1
TIPF0
0
TOENA
0
TEDGSEL
0
0
TUNDF
TEDGF
0
TSTOP
TCSTF
TSTART