參數(shù)資料
型號: HD4074054H
廠商: Hitachi,Ltd.
英文描述: 4-Bit Single-Chip Microcomputer(4位單片微計算機)
中文描述: 4位單片機(4位單片微計算機)
文件頁數(shù): 65/101頁
文件大?。?/td> 610K
代理商: HD4074054H
HD404054 Series/HD404094 Series
65
Serial Interface Operation
Selecting and Changing the Operating Mode:
Table 25 lists the serial interface’s operating modes. To
select an operating mode, use one of these combinations of port mode register A (PMRA: $004), and serial
mode register 1A (SM1A: $005) settings; to change the operating mode of serial interface 1, always
initialize the serial interface internally by writing data to serial mode register 1A. Note that serial interface
1 is initialized by writing data to serial mode register 1A. Refer to the following section Registers for
Serial Interface for details.
Pin Setting
: The R4
1
/
SCK
1
pin is controlled by writing data to serial mode register 1A (SM1A: $005).
Pins R4
2
/SI
1
and R4
3
/SO
1
are controlled by writing data to port mode register A (PMRA: $004). Refer to
the following section Registers for Serial Interface for details.
Transmit Clock Source Setting:
The transmit clock source of serial interface 1 is set by writing data to
serial mode register 1A (SM1A: $005) and serial mode register 1B (SM1B: $028). Refer to the following
section Registers for Serial Interface for details.
Data Setting:
Transmit data of serial interface 1 is set by writing data to serial data register 1 (SR1L:
$006, SR1U: $007). Receive data of serial interface 1 is obtained by reading the contents of serial data
register 1. The serial data is shifted by the transmit clock and is input from or output to an external system.
The output level of the SO
1
pin is invalid until the first data is output after MCU reset, or until the output
level control in idle states is performed.
Transfer Control:
Serial interface 1 is activated by the STS instruction. The octal counter is reset to 000
by the STS instruction, and it increments at the rising edge of the transmit clock for serial interface. When
the eighth transmit clock signal is input or when serial transmission/reception is discontinued, the octal
counter is reset to 000, the serial 1 interrupt request flag (IFS1: $003, bit 2) for serial interface 1 is set, and
the transfer stops.
When the prescaler output is selected as the transmit clock of serial interface 1, the transmit clock
frequency is selected as 4t
cyc
to 8192t
cyc
by setting bits 0 to 2 (SM1A0–SM1A2) of serial mode register 1A
(SM1A: $005) and bit 0 (SM1B0) of serial mode register 1B (SM1B: $028) as listed in table 26.
Table 25
Serial Interface 1 Operating Modes
SM1A
PMRA
Bit 3
Bit 1
Bit 0
Operating Mode
1
0
0
Continuous clock output mode
1
Transmit mode
1
0
Receive mode
1
Transmit/receive mode
相關(guān)PDF資料
PDF描述
HD40A4054 4-Bit Single-Chip Microcomputer(4位單片微計算機)
HD40A4358 4-bit HMCS400-Series microcomputer
HD404354 4-bit HMCS400-Series microcomputer
HD404354H 4-bit HMCS400-Series microcomputer
HD404354S 4-bit HMCS400-Series microcomputer
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HD4074054S 制造商:未知廠家 制造商全稱:未知廠家 功能描述:4-Bit Microcontroller
HD4074094H 制造商:未知廠家 制造商全稱:未知廠家 功能描述:4-Bit Microcontroller
HD4074094S 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:microcomputer designed to increase program productivity
HD4074224FP01 制造商:未知廠家 制造商全稱:未知廠家 功能描述:4-Bit Microcontroller
HD4074224FP02 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:CMOS 4-bit Single-Chip Microcomputers with the same architecture as the HMCS400 Series