![Cmsemicon BAT32G1 9 Series Скачать руководство пользователя страница 137](http://html1.mh-extra.com/html/cmsemicon/bat32g1-9-series/bat32g1-9-series_user-manual_2627609137.webp)
BAT32G1x9 user manual | Chapter 6 Universal timer unit Timer4/8
137 / 1149
Rev.1.02
6.2 Structure of a universal timer unit
The universal timer unit consists of the following hardware.
Table 6-1
Structure of the Universal Timer Unit
Item
structure
counter
Timer count register mn
(TCRmn).
register
Timer data register mn
(TDRmn).
The input of the timer
TI00~TI03
Note
1
, RxD0
pin (for LIN-bus).
The output of the timer
TO00~TO03
Note
1
, output control circuit
Control registers
< unitSettings DepartmentRegister >
• Peripheral enable register 0
(PER0).
• Timer clock selection register m
(TPSm).
• Timer channel enable status register m(TEm).
• Timer channel start register m(TSm).
• Timer channel stop register m(TTm).
• Timer input selection register 0
(TIS0).
• Timer output enable register m
(TOEm).
• Timer output register m
(TOm).
• Timer output level register m
(TOLm).
• Timer output mode register m
(TOMm).
< register > for each channel
• Timer mode register mn
(TMRmn).
• Timer status register mn
(TSRmn).
• Input Switching Control Register (ISC).
• Noise filter enable registers
1
and
2
(NFEN1,
NFEN2).
• Port Mode Control Register (PMCxx)
Note
2
• Port Mode Register (PMxx)
Note 2
• Port register
(Pxx)
Note 2
Note: 1
The
availability
of timer input/output pins for each channel varies by product. For details, please refer to
"Timer
Input
/Output Pins
for Each Product in
Table
6-2".
2. The set port mode control register
(PMCxx), port mode register
(PMxx) and port register (Pxx) vary depending on
the product. For details, please refer to "Chapter 2 Pin Functions".
Note: m: unit number (m=0,1) n: channel number (when m=0: n=0~3, m=1: n=0~7).