參數資料
型號: KS57C2504
廠商: SAMSUNG SEMICONDUCTOR CO. LTD.
元件分類: 4位微控制器
英文描述: 4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
中文描述: 4位單片機的小型通用紅外遙控器
文件頁數: 47/94頁
文件大?。?/td> 763K
代理商: KS57C2504
S3C7254
PRODUCT SPECIFICATION
4–47
TC0 MODE REGISTER (TMOD0)
TMOD0 is the 8-bit mode control register for
timer/counter 0. TMOD0.2 is the enable/disable bit
for timer/counter 0. When TMOD0.3 is set to "1", the
contents of TCNT0, IRQT0, and TOL0 are cleared,
counting starts from 00H, and TMOD0.3 is
automatically reset to "0" for normal TC0 operation.
When TC0 operation stops (TMOD0.2 = "0"), the
contents of the TC0 counter register TCNT0 are
retained until TC0 is re-enabled.
Table 21. TC0 Mode Register (TMOD0) Organization
Bit Name
TMOD0.7
TMOD0.6
TMOD0.5
TMOD0.4
TMOD0.3
Setting
0
Resulting TC0 Function
Address
Always logic zero
F91H
0,1
Specify input clock edge and internal frequency
1
Clear TCNT0, IRQT0, and TOL0 and resume counting
immediately (This bit is automatically cleared to logic zero
immediately after counting resumes.)
Disable timer/counter 0; retain TCNT0 contents
Enable timer/counter 0
Always logic zero
Always logic zero
TMOD0.2
0
1
0
0
F90H
TMOD0.1
TMOD0.0
Table 22. TMOD0.6, TMOD0.5, and TMOD0.4 Bit Settings
TMOD0.6
0
0
1
TMOD0.5
0
0
0
TMOD0.4
0
1
0
Resulting Counter Source and Clock Frequency
External clock input (TCL0) on rising edges
External clock input (TCL0) on falling edges
fxx/2
10
(4.09 kHz)
fxx /2
6
(65.5 kHz)
fxx/2
4
(262 kHz)
fxx = 4.19 MHz
1
0
1
1
1
0
1
1
1
NOTE
:
'fxx' = selected system clock of 4.19 MHz.
PROGRAMMING TIP — Restarting TC0 Counting Operation
1.
Set TC0 timer interval to 4.09 kHz:
BITS
EMB
SMB
15
LD
EA,#4CH
LD
TMOD0,EA
EI
BITS
IET0
2.
Clear TCNT0, IRQT0, and TOL0 and restart TC0 counting operation:
BITS
EMB
SMB
15
BITS
TMOD0.3
相關PDF資料
PDF描述
KS57C2916 4-BIT CMOS Microcontroller(4位微控制器)
KS57P2916 4-BIT CMOS Microcontroller(4位微控制器)
KS57C5312 The KS57C5204/C5208/C5304/C5308/C5312 single-chip CMOS microcontroller has been designed for highperformance using SAM 47 Samsung Arrangeable Microcon
KS57P5312 The KS57C5204/C5208/C5304/C5308/C5312 single-chip CMOS microcontroller has been designed for highperformance using SAM 47 Samsung Arrangeable Microcon
KS57C5404 4-BIT CMOS Microcontroller(4位微控制器)
相關代理商/技術參數
參數描述
KS57C2916 制造商:SAMSUNG 制造商全稱:Samsung semiconductor 功能描述:The KS57C2916 single-chip CMOS microcontroller has been designed for high performance using Samsungs newest 4-bit CPU core, SAM47 (Samsung Arrangeable
KS57C3016 制造商:SAMSUNG 制造商全稱:Samsung semiconductor 功能描述:4-BIT CMOS MICROCONTROLLER
KS57C3204 制造商:SAMSUNG 制造商全稱:Samsung semiconductor 功能描述:The KS57C3204 single-chip CMOS microcontroller has been designed for high performance using Samsungs newest 4-bit CPU core, SAM47 (Samsung Arrangeable
KS57C3316 制造商:SAMSUNG 制造商全稱:Samsung semiconductor 功能描述:The KS57C3316 single-chip CMOS microcontroller has been designed for high performance using Samsungs newest 4-bit CPU core, SAM47 (Samsung Arrangeable
KS57C4104 制造商:SAMSUNG 制造商全稱:Samsung semiconductor 功能描述:The KS57C4104/KS57C4204/KS57C4304 single-chip CMOS microcontroller has been designed for very high performance using Samsungs newest 4-bit CPU core, S