參數(shù)資料
型號: AT90USB646
廠商: Atmel Corp.
英文描述: Microcontroller with 64/128K Bytes of ISP Flash and USB Controller
中文描述: 微控制器與64/128K的ISP字節(jié)閃存和USB控制器
文件頁數(shù): 23/132頁
文件大?。?/td> 10886K
代理商: AT90USB646
192
ATmega8535(L)
2502K–AVR–10/06
Master Receiver Mode
In the Master Receiver mode, a number of data bytes are received from a Slave Trans-
mitter (see Figure 88). In order to enter a Master mode, a START condition must be
transmitted. The format of the following address packet determines whether Master
Transmitter or Master Receiver mode is to be entered. If SLA+W is transmitted, MT
mode is entered, if SLA+R is transmitted, MR mode is entered. All the status codes
mentioned in this section assume that the prescaler bits are zero or are masked to zero.
Figure 88. Data Transfer in Master Receiver Mode
A START condition is sent by writing the following value to TWCR:
TWEN must be written to one to enable the Two-wire Serial Interface, TWSTA must be
written to one to transmit a START condition and TWINT must be set to clear the TWINT
Flag. The TWI will then test the Two-wire Serial Bus and generate a START condition as
soon as the bus becomes free. After a START condition has been transmitted, the
TWINT Flag is set by hardware, and the status code in TWSR will be 0x08 (see Table
75). In order to enter MR mode, SLA+R must be transmitted. This is done by writing
SLA+R to TWDR. Thereafter the TWINT bit should be cleared (by writing it to one) to
continue the transfer. This is accomplished by writing the following value to TWCR:
When SLA+R have been transmitted and an acknowledgement bit has been received,
TWINT is set again and a number of status codes in TWSR are possible. Possible sta-
tus codes in Master mode are 0x38, 0x40, or 0x48. The appropriate action to be taken
for each of these status codes is detailed in Table 76. Received data can be read from
the TWDR Register when the TWINT Flag is set high by hardware. This scheme is
repeated until the last byte has been received. After the last byte has been received, the
MR should inform the ST by sending a NACK after the last received data byte. The
transfer is ended by generating a STOP condition or a repeated START condition. A
STOP condition is generated by writing the following value to TWCR:
TWCR
TWINT
TWEA
TWSTA
TWSTO
TWWC
TWEN
TWIE
Value
1
X1
0
X1
0
X
TWCR
TWINT
TWEA
TWSTA
TWSTO
TWWC
TWEN
TWIE
Value
1
X0
0
X1
0
X
TWCR
TWINT
TWEA
TWSTA
TWSTO
TWWC
TWEN
TWIE
Value
1
X0
1
X1
0
X
Device 1
MASTER
RECEIVER
Device 2
SLAVE
TRANSMITTER
Device 3
Device n
SDA
SCL
........
R1
R2
V
CC
相關(guān)PDF資料
PDF描述
ATtiny28L 8-Bit AVR Microcontroller with 2K bytes Flash(8位AVR技術(shù)微控制器(帶2K字節(jié)閃速存儲器))
ATmega8535 -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
ATMEGA32 8-bit AVR Microcontroller with 32K Bytes In-System Programmable Flash
ATmega64 -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
ATMEGA8 -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AT90USB646_0607 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 64/128K Bytes of ISP Flash and USB Controller
AT90USB646_08 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with 64/128K Bytes of ISP Flash and USB Controller
AT90USB646_09 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Microcontroller with 64/128K Bytes of ISP Flash and USB Controller
AT90USB646-16MU 功能描述:8位微控制器 -MCU AVR USB 64K FLASH5V RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
AT90USB646-AU 功能描述:8位微控制器 -MCU USB 64K FLASH 16 MHz RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT