![Cmsemicon BAT32G1 9 Series Скачать руководство пользователя страница 334](http://html1.mh-extra.com/html/cmsemicon/bat32g1-9-series/bat32g1-9-series_user-manual_2627609334.webp)
BAT32G1x9 user manual | Chapter 10 Timer M
334 / 1149
Rev.1.02
10.3.12
Timer M I/O control register Ai (TMIORAi) (i =0, 1).
Figure 10-20 Format of the I/O control register Ai (TMIORAi) (i=0, 1) of the timer M [ Input Capture Function].
Address: 0x40042A71
(TMIORA0),
0x40042A81H
(TMIORA1) After reset:
00H R/W
symbol
TMIORAi
IOB2
TMGRB mode selection
note
1
When using the input capture function, you must set "1"
(input capture).
IOB1
IOB0
TMGRB control
0
0
The input is captured to the TMGRBi on the rising edge.
0
1
The input is captured to the TMGRBi on the falling edge.
1
0
The input is captured on both sides to the TMGRBi.
Other than the above
Prohibit settings.
IOA2
TMGRA mode selection
note
2
When using the input capture function, you must set "1"
(input capture).
IOA1
IOA0
TMGRA control
0
0
The input is captured to the THEMGRAi
on the rising edge.
0
1
The input is captured to the THEMGRAi
on the falling edge.
1
0
The input is captured on both sides to the THEMGRAi.
Other than the above
Prohibit settings.
Note
1. If you
select
"1"
(
buffer
register of
the TMGRBi
register) by the
TMBFDi
bit of the
TMMR
register, you must
give the
TMIORAi
register
The IOB2
bit and
the
IOD2
bit
of the
TMIORCi
register
are set to the same value.
2. If you
select
"1"
(
the buffer
register of the
TMGRAi
register) by the
TMBFCi
bit of the
TMMR
register, you must
give the
TMIORAi
register
The IOA2
bit and
the
IOC2
bit
of the
TMIORCi
register
are set to the same value.
7
6
5
4
3
2 1
0
0
IOB2
IOB1
IOB0
0
IOA2
IOA1
IA0