English
Language : 

W925E240 Datasheet, PDF (17/73 Pages) Winbond – 8-BIT CID MICROCONTROLLER
W925E/C240
M /S: System clock source control bit: M /S = 0 : Fosc = XIN1 ( FM)
M /S = 1 : Fosc = XIN2 ( Fs)
CLOCK CONTROL2
(initial = 00H)
Bit:
7
6
5
4
3
2
1
0
ENBUZ BUZSL KT1 KT0
-
-
-
-
Mnemonic: CKCON2
Address: 8Fh
ENBUZ: When ENBUZ=1 the BUZ pin works as buzzer output, otherwise BUZ pin is in floating state.
BUZSL: Buzzer output selection. When BUZSL=0 BUZ is the output of octave tone. When BUZZL=1,
BUZ is the output of key tone.
KT1-0: Key tone frequency sources from divider. When divider is enable, KT1 and KT0 determines
the key tone frequency.
KT1 KT0
Key tone
frequency
0
0
Low
0
1
512Hz
1
0
1024Hz
1
1
2048Hz
PORT 1
(initial=FFH,input mode)
Bit: 7
6
P1.7 P1.6
5
P1.5
4
P1.4
3
P1.3
2
P1.2
1
P1.1
0
P1.0
Mnemonic: P1
Address: 90h
P1.7-0: P1 can be selected as input or output mode by the P1IO register, at initial reset, P1IO is set to
1, so P1 is used as input mode. When P1IO is set to 0, the P1 is used as CMOS output mode.
When P1EF are set and P1IO are set as input mode P1 can be used as external interrupt
source. The functions are listed below.
P1.0 : INT2.0
P1.1 : INT2.1
P1.2 : INT2.2
P1.3 : INT2.3
P1.4 : INT3.0
P1.5 : INT3.1
P1.6 : INT3.2
P1.7 : INT3.3
External Interrupt 2
External Interrupt 2
External Interrupt 2
External Interrupt 2
External Interrupt 3
External Interrupt 3
External Interrupt 3
External Interrupt 3
- 17 -
Publication Release Date: July 12, 2005
Revision A10