參數(shù)資料
型號: EM6605
廠商: National Semiconductor Corporation
元件分類: 4位微控制器
英文描述: 4-BIT SINGLE-CHIP MICROCONTROLLER FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTER
中文描述: 4位單片機的小型通用紅外遙控器
文件頁數(shù): 22/43頁
文件大小: 557K
代理商: EM6605
EM6605
EM Microelectronic-Marin SA, 02/99, Rev. B/243
22
11. Serial (Output) Write Buffer - SWB
The EM6605 has simple Serial Write Buffer (
SWB
) which outputs serial data and serial clock.
The SWB is enabled by setting the bit
V03
in the
CLKSWB
register as well as setting port D to output mode. The
combination of the possible PortD mode is shown in Table 357. In SWB mode the serial clock is output on port
D0 and the serial data is output on port D1.
The signal TestVar[3], which is used by the processor to make conditional jumps, indicates "Transmission
finished" in automatic send mode or "SWBbuffer empty" in interactive send mode. In interactive mode,
TestVar[3] is equivalent to the interrupt request flags stored in
IntRq
register : it permits to recognize the
interrupt source. (See also the interrupt handling section 9.Interrupt Controller for further information). To serve
the "SWBbuffer empty " interrupt request, one only has to make a conditional jump on TestVar[3].
The Serial Write Buffer output clock frequency is selected by bits
ClkSWB0
and
ClkSWB1
in the
ClkSWB
register. The possible values are 1kHz (default), 2kHz, 8kHz or 16kHz and are shown in Table 35.
Table 36.SWB clock selection
SWB clock output
CkSWB1
0
0
1
1
CkSWB0
0
1
0
1
ck[11]; (= 1 024 Hz
*f1
)
ck[12]; (= 2 048 Hz
*f1
)
ck[14]; (= 8 192 Hz
*f1
)
ck[15]; (= 16 348 Hz
*f1
)
Table 376.SWB clock selection register - ClkSWB
Bit
3
2
1
0
Name
V03
-
CkSWB1
CkSWB0
Reset
0
0
0
0
R/W
R/W
R
R/W
R/W
Description
Serial Write buffer selection
RESERVED - read 0
SWB clock selector 1
SWB clock selector 0
Table 387.PortD status
PortD status
NORMAL
NORMAL
NORMAL
SWB
CIOPD
0
0
1
1
V03 PD0
0
input
1
input
0
output PD0
1
serial clock Out
PD1
input
input
output PD1
SWB serial data
PD2
input
input
output PD2
output PD2
PD3
input
input
output PD3
output PD3
When the SWB is enabled by setting the bit
V03
TestVar[3], which is used to make conditional jumps, is
reassigned to the SWB and indicates either "SWBbuffer empty " interrupt or "Transmission finished" . After
Power-on-RESET
V03
is cleared at "0" and TestVar[3] is consequently assigned to PA2 input terminal.
The SWB data is output on the rising edge of the clock. Consequently, on the receiver side the serial data can be
evaluated on falling edge of the serial clock edge.
相關PDF資料
PDF描述
EM73200 4-Bit Micro-Controller for General Purpose Product(用于家用電器,消費類產(chǎn)品和玩具控制器的工作電壓4.5V-5.5V,2.7V-3.3V的4位微控制器)
EM73201 4-BIT MICRO-CONTROLLER FOR GENERAL PURPOSE PRODUCT
EM73201AP 4-BIT MICRO-CONTROLLER FOR GENERAL PURPOSE PRODUCT
EM73201BK 4-BIT MICRO-CONTROLLER FOR GENERAL PURPOSE PRODUCT
EM73201CP 4-BIT MICRO-CONTROLLER FOR GENERAL PURPOSE PRODUCT
相關代理商/技術(shù)參數(shù)
參數(shù)描述
EM6605DL24A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
EM6605SO24A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
EM6605SO24B 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
EM6605TP24A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
EM6605TP24B 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller