![Cmsemicon BAT32G1 9 Series Скачать руководство пользователя страница 355](http://html1.mh-extra.com/html/cmsemicon/bat32g1-9-series/bat32g1-9-series_user-manual_2627609355.webp)
BAT32G1x9 user manual | Chapter 10 Timer M
355 / 1149
Rev.1.02
[PWM3 mode].
The TMGRAi~TMGRDi registers must be accessed in 16 bits, not 8 bits.
In PWM3 mode, the following registers are invalid:
TMPMR, TMDF0, TMDF1, TMIORA0, TMIORC0, TMPOCR0, TMIORA1, TMIORC1, TMPOCR1
In PWM3 mode, the TMGRC0, TMGRC1, TMGRD0, TMGRD1 registers are not used. However, when using these registers
as buffer registers, place the TMBFC0 bits, TMBFC1 bits, TMBFD0 bits, and TMBFD1 positions "0" (General purpose register)
after the TMGRC0, TMGRC1, TMGRD0, TMGRD1 registers write values. Thereafter, TMBFC0 bits, TMBFC 1 bits, TMBFD0 bits,
and TMBFD1 positions "1" (buffer registers) can be converted.
Fig. 10-34 Format of Timer M General Purpose registers Ai, Bi, Ci, Di
(TMGRAi, TMGRBi, TMGRCi, TMGRDi) (i=0, 1) [ Input Capture Function].
Address: 0x40042A78
(TMGRA0),
0x40042A7A
(TMGRB0),
After reset:
FFFFH R/W
0x40042B58 (TMGRC0) , 0x40042B5A (TMGRD0) ,
0x40042A88 (TMGRA1) , 0x40042A8A (TMGRB1) ,
0x40042B5 C(TMGRC1), 0x40042B5E(TMGRD1)
Symbol 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TMGRAi
TMGRBi
TMGRCi
TMGRDi
—
function
bit15
~
0
Refer to "Table 10-3
TMGRji
Register
Function When Using the Input Capture
Function".
Table 10-3 Uses the TMGRji register function when using the input capture function
register
Set up
Register function
Input pins for input
capture
TMGRAi
—
A general purpose register that reads the value of the TMi
register at the time of input capture.
TMIOAi
TMGRBi
TMIOBi
TMGRCi
TMBFCi=0
A general purpose register that reads the value of the TMi
register at the time of input capture.
TMIOCi
TMGRDi
TMBFDi=0
TMIODi
TMGRCi
TMBFCi=1
General purpose register that reads the value of the TMi
register at the time of input capture (see "10.4.2."
Buffer run").
TMIOAi
TMGRDi
TMBFDi=1
TMIOBi
Remark
i=0, 1,j=A, B, C, D
TMBFCi,
TMBFDi:
Bits of the
TMMR
register