參數(shù)資料
型號: MC68HC05E5P
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP28
封裝: PLASTIC, DIP-28
文件頁數(shù): 127/140頁
文件大小: 847K
代理商: MC68HC05E5P
Motorola Bus (M Bus) Interface
Programming Considerations
MC68HC05E5 Rev. 1.0
General Release Specification
MOTOROLA
Motorola Bus (M Bus) Interface
87
NON-DISCLOSURE
AGREEMENT
REQUIRED
11.8.2 Generation of a Start Signal and the First Byte of Data Transfer
After completion of the initialization procedure, serial data can be
transmitted by selecting the master transmitter mode. If the device is
connected to a multimaster bus system, the state of the M-bus busy bit
(MBB) must be tested to check whether the serial bus is free. If the bus
is free (MBB = 0), the start condition and the first byte (the slave address)
can be sent.
An example of a program which generates the start signal and transmits
the first byte of data (slave address) is shown here. (The MMUX bit must
be set to allow control of PB7 and PB6 pins.)
SEI
; DISABLE INTERRUPT
CHFALG
BRSET
5,MSR,CHFLAG; CHECK THE MBB BIT OF THE
; STATUS REGISTER. IF IT IS
; SET, WAIT UNTIL IT IS CLEAR
TXSTART
BSET
4,MCR
; SET TRANSMIT MODE
BSET
5,MCR
; SET MASTER MODE
; i.e., GENERATE START CONDITION
LDA
#CALLING
; GET THE CALLING ADDRESS
STA
MDR
; TRANSMIT THE CALLING
; ADDRESS
CLI
; ENABLE INTERRUPT
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.
相關(guān)PDF資料
PDF描述
MC68HC05E5DW 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO28
MC68HC05J1ACP 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP20
MC68HSC05J1ADW 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO20
MC68HC05J1AP 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP20
MC68HCL05J1ADW 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO20
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05E6 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05E6CDW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05E6CFB 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05E6DW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05E6FB 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit