参数资料
型号: M38002SFP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, 8 MHz, MICROCONTROLLER, PQFP64
封装: 14 X 14 MM, 0.80 MM PITCH, PLASTIC, QFP-64
文件页数: 165/174页
文件大小: 1752K
代理商: M38002SFP
APPLICATION
2.3 Serial I/O
2-41
3800 GROUP USER’S MANUAL
Control procedure :
Control in the master unit
After a setting of the related registers is completed as shown in Figure 2.3.33, in the master unit
transmission or reception of 1-byte data is started simply by writing transmission data to the
Transmit buffer register.
To perform the communication in the timing shown in Figure 2.3.25, therefore, take the timing into
account and write transmission data. Read out the reception data when the Serial I/O transmit
interrupt request bit is set to “1,” or before the next transmission data is written to the Transmit
buffer register.
A processing example in the master unit using timer interrupts is shown below.
Fig. 2.3.27 Control in the master unit
Write a transmission data
Read a reception data
N
Within a block transfer period?
Y
Complete to transfer a block?
N
RTI
Write the first transmission data
(first byte) in a block
Count a block interval counter
N
Start a block transfer?
Y
Generate a certain block interval by
using a timer or other functions.
q
Check the block interval counter and
determine to start of a block transfer.
q
CLT (Note 1)
CLD (Note 2)
Push register to stack
Note 1: When using the Index X mode flag (T).
Note 2: When using the Decimal mode flag (D).
Push the register used in the interrupt
processing routine into the stack.
q
Pop registers
Pop registers which is pushed to stack.
q
Interrupt processing routine
executed every 488
s
相关PDF资料
PDF描述
MSC1212Y2PAGT 8-BIT, FLASH, 40 MHz, MICROCONTROLLER, PQFP64
M38067MC-XXXGP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP80
M38027E8SS 8-BIT, UVPROM, 8 MHz, MICROCONTROLLER, CDIP64
M30622M8P-XXXFP 16-BIT, MROM, 24 MHz, MICROCONTROLLER, PQFP100
M37478M4TXXXFP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP56
相关代理商/技术参数
参数描述
M38002SSP 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38003E1-DXXXFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES
M38003E1-DXXXSP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES
M38003E1-XXXFP 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38003E1-XXXFS 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER