w925e625 ETC-unknow, w925e625 Datasheet - Page 42

no-image

w925e625

Manufacturer Part Number
w925e625
Description
8-bit Cid Microcontroller
Manufacturer
ETC-unknow
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
w925e625FG
Manufacturer:
Nuvoton Technology Corporation of America
Quantity:
10 000
MODE 2
Mode 2 is the Auto Reload Mode. In mode 2, TLx acts as an 8-bit count register, while THx holds the
reload value. When the TLx register overflows from FFh to 00h, the TFx bit is set and TLx is reloaded
with the content of THx, and the counting process continues from the reloaded TLx. The reload
operation leaves the content of the THx register unchanged. Counting is controlled by the TRx bit and
the proper setting of GATE and INTx pins.
BUZZER
In mode 2, timer 0 can be use to output an arbitrary frequency to the BUZ pin by programming bit6
and bit7 of CKCON2. BUZ pin can be configured as key tone (KT) output by setting BUZSL to high.
When disable buzzer output by clearing ENBUZ to low, the BUZ output is in floating status.
In the case where timer 0 clock input is FT, the desired frequency for BUZ output = FT / (255 – preset
value + 1) / 2 (HZ).
When F
tone signal in the tone frequency range from 64 Hz to 16384 Hz. The relation between the tone
frequency and the preset value of TM0 is shown in the table below.
(GATE = TMOD.7)
GATE = TMOD.3
(TR1 = TCON.6)
TR0 = TCON.4
T
PS: Functions of timer1 are shown in brackets
(INT1 = P3.3)
INT0 = P3.2
equals 32768 Hz, depending on the preset value of TM0, the BUZ pin will output a single
(T1 = P3.5)
T0 = P3.4
Fosc/1024
Fosc/64
Fosc/4
(TM1=CKCON1.4, CKCON1.5)
TM0=CKCON1.2, CKCON1.3
Fs
00
01
10
11
mux
Figure 6-6 Mode 2 of Timer/Counter 0 & 1
0
1
(C/T = TMOD.6)
C/T = TMOD.2
FT
- 42 -
1024Hz
2048Hz
512Hz
Low
CKCON2.5, CKCON2.4
0
0
00
01
10
11
(TH1)
(TL1)
TH0
TL0
mux
From
TM0
7
7
1/2
CKCON2.6
=BUZSL
KT
TFx
W925E/C625
(TF1)
TF0
floating
CKCON2.7
=ENBUZ
Pin BUZ
Interrupt

Related parts for w925e625