datasheetbank_Logo
数据手册搜索引擎和 Datasheet免费下载 PDF

7641 查看數據表(PDF) - Mitsumi

零件编号
产品描述 (功能)
比赛名单
7641 Datasheet PDF : 149 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
PRELIMINARY NSocothimcaene:gpTeah.riasmisetnrioct laimfiintsalasrepescuibfijceacttioton.
MITSUBISHI MICROCOMPUTERS
7641 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Timer 1, Timer 2, Timer 3
Timer 1, timer 2, and timer 3 are 8-bit timers. The count source for
each timer can be selected by timer 123 mode register.
q Timers 1, 2 Write Control
When the Timers 1, 2 Write Control Bit is 1and the values are
written in the address of timers 1 and 2, the values are loaded only
in their latches. The values in the latches are loaded in timers 1
and 2 after timers 1 and 2 underflow.
When the Timers 1, 2 Write Control Bit is 0and the values are
written in the address of timers 1 and 2, the values are loaded in
the timers 1 and 2 and their latches at the same time.
q Timers 1, 2 Output Control
A signal of which polarity is inverted each time the timer selected
by the TOUT Factor Select Bit underflows is output from the TOUT
pin. This is enabled by setting the TOUT Output Control Bit to 1.
When the TOUT Output Active Edge Switch Bit is 0, the TOUT pin
starts pulses output beginning at H; when this bit is 1, the TOUT
pin starts pulses output beginning at L.
When using a timer in this mode, set the port P51 direction regis-
ter to output mode.
s Notes
q Timer 1 to Timer 3
Switching of the count sources of timers 1 to 3 does not affect the
values of reload latches. However, that may make count operation
started. Therefore, write values again in the order of timers 1, 2
and then timer 3 after their count sources have been switched.
q Timers 1, 2 Write Control
When the value is to be written in latch only, unexpected value
may be set in the timer if the writing in the latch and the timer un-
derflow are performed at the same timing.
b7
b0
Timer 123 mode register (address 002916)
T123M
TOUT factor select bit
0: Timer 1 output
1: Timer 2 output
Timer 1 count stop bit
0: Count start
1: Count stop
Timer 1 count source select bit
0:φ/8
1 : f(XCIN) / 2
Timer 2 count source select bit
0 : Timer 1 output
1:φ
Timer 3 count source select bit
0 : Timer 1 output
1:φ/8
TOUT output active edge switch bit
0 : Start at Houtput
1 : Start at Loutput
TOUT output control bit
0: TOUT output disabled
1: TOUT output enabled
Timers 1, 2 write control bit
0: Write value in latch and counter
1: Write value in latch only
Fig. 22 Structure of timer 123 mode register
27

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]