參數(shù)資料
型號: TS80C51RD2-MCLB
廠商: ATMEL CORP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, 40 MHz, MICROCONTROLLER, PQCC68
封裝: PLASTIC, LCC-68
文件頁數(shù): 30/74頁
文件大小: 689K
代理商: TS80C51RD2-MCLB
36
Rev. C - 06 March, 2001
TS80C51RA2/RD2
TS83C51RB2/RC2/RD2
TS87C51RB2/RC2/RD2
6.6.3. Given Address
Each device has an individual address that is specified in SADDR register; the SADEN register is a mask byte
that contains don’t-care bits (defined by zeros) to form the device’s given address. The don’t-care bits provide the
flexibility to address one or more slaves at a time. The following example illustrates how a given address is formed.
To address a device by its individual address, the SADEN mask byte must be 1111
1111b
.
For example:
SADDR
0101 0110b
SADEN
1111 1100b
Given
0101 01XXb
The following is an example of how to use given addresses to address different slaves:
Slave A:
SADDR
1111 0001b
SADEN
1111 1010b
Given
1111 0X0Xb
Slave B:
SADDR
1111 0011b
SADEN
1111 1001b
Given
1111 0XX1b
Slave C:
SADDR
1111 0010b
SADEN
1111 1101b
Given
1111 00X1b
The SADEN byte is selected so that each slave may be addressed separately.
For slave A, bit 0 (the LSB) is a don’t-care bit; for slaves B and C, bit 0 is a 1. To communicate with slave A
only, the master must send an address where bit 0 is clear (e.g. 1111
0000b
).
For slave A, bit 1 is a 1; for slaves B and C, bit 1 is a don’t care bit. To communicate with slaves B and C, but
not slave A, the master must send an address with bits 0 and 1 both set (e.g. 1111
0011b
).
To communicate with slaves A, B and C, the master must send an address with bit 0 set, bit 1 clear, and bit 2
clear (e.g. 1111
0001b
).
6.6.4. Broadcast Address
A broadcast address is formed from the logical OR of the SADDR and SADEN registers with zeros defined as
don’t-care bits, e.g.:
SADDR
0101 0110b
SADEN
1111 1100b
Broadcast =SADDR OR SADEN
1111 111Xb
The use of don’t-care bits provides flexibility in defining the broadcast address, however in most applications, a
broadcast address is FFh. The following is an example of using broadcast addresses:
Slave A:
SADDR
1111 0001b
SADEN
1111 1010b
Broadcast
1111 1X11b,
Slave B:
SADDR
1111 0011b
SADEN
1111 1001b
Broadcast
1111 1X11B,
Slave C:
SADDR=
1111 0010b
SADEN
1111 1101b
Broadcast
1111 1111b
For slaves A and B, bit 2 is a don’t care bit; for slave C, bit 2 is set. To communicate with all of the slaves, the
master must send an address FFh. To communicate with slaves A and B, but not slave C, the master can send
and address FBh.
相關(guān)PDF資料
PDF描述
TS83C51RB2ZZZ-LCEB 8-BIT, MROM, 30 MHz, MICROCONTROLLER, PQFP44
TS87C51RD2-MIMB 8-BIT, OTPROM, 40 MHz, MICROCONTROLLER, PQFP64
TS87C51RB2-EED 8-BIT, OTPROM, MICROCONTROLLER, PQFP44
TS87C51RD2-VIBD 8-BIT, OTPROM, 40 MHz, MICROCONTROLLER, PQCC44
TSA5526MDK-T PLL FREQUENCY SYNTHESIZER, 1300 MHz, PDSO16
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
TS80C51RD2-MCLD 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
TS80C51RD2-MCLR 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
TS80C51RD2-MCM 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:High Performance 8-bit Microcontroller
TS80C51RD2-MCMB 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
TS80C51RD2-MCMD 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller