參數(shù)資料
型號(hào): TS80C31X2-MCAD
英文描述: 8-bit CMOS Microcontroller 0-60 MHz
中文描述: 8位CMOS微控制器0-60兆赫
文件頁數(shù): 14/40頁
文件大?。?/td> 484K
代理商: TS80C31X2-MCAD
14
Rev. A - Mar. 19, 1999
Preliminary
TS80C31X2
6.3.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
For example:
SADDR
0101 0110b
SADEN
1111 1100b
Given
0101 01XXb
1111b
.
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
SADEN
Given
1111 0011b
1111 1001b
1111 0XX1b
Slave C:
SADDR
SADEN
Given
1111 0010b
1111 1101b
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
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
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
).
0000b
).
0011b
).
6.3.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
SADEN
Broadcast 1111 1X11B,
1111 0011b
1111 1001b
Slave C:
SADDR=
SADEN
Broadcast 1111 1111b
1111 0010b
1111 1101b
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描述
TS80C31X2-MCAR 8-bit CMOS Microcontroller 0-60 MHz
TS80C31X2-MCBD 8-bit CMOS Microcontroller 0-60 MHz
TS80C31X2-MCBR 8-bit CMOS Microcontroller 0-60 MHz
TS80C31X2-MCCB 8-bit CMOS Microcontroller 0-60 MHz
TS80C31X2-MCCD Alligator Clip Color:Black RoHS Compliant: Yes
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
TS80C31X2-MCAR 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit CMOS Microcontroller ROMless
TS80C31X2-MCB 功能描述:IC MCU 8BIT 40/20MHZ 44-PLCC RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:80C 標(biāo)準(zhǔn)包裝:1,500 系列:AVR® ATtiny 核心處理器:AVR 芯體尺寸:8-位 速度:16MHz 連通性:I²C,LIN,SPI,UART/USART,USI 外圍設(shè)備:欠壓檢測/復(fù)位,POR,PWM,溫度傳感器,WDT 輸入/輸出數(shù):16 程序存儲(chǔ)器容量:8KB(4K x 16) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:512 x 8 RAM 容量:512 x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 11x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:20-SOIC(0.295",7.50mm 寬) 包裝:帶卷 (TR)
TS80C31X2-MCBB 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit CMOS Microcontroller ROMless
TS80C31X2-MCBD 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit CMOS Microcontroller ROMless
TS80C31X2-MCBR 制造商:TEMIC 制造商全稱:TEMIC Semiconductors 功能描述:8-bit CMOS Microcontroller 0-60 MHz