AT90USB646 Atmel Corporation, AT90USB646 Datasheet - Page 192
AT90USB646
Manufacturer Part Number
AT90USB646
Description
Manufacturer
Atmel Corporation
Specifications of AT90USB646
Flash (kbytes)
64 Kbytes
Pin Count
64
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
48
Ext Interrupts
16
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
2
Twi (i2c)
1
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
4
Eeprom (bytes)
2048
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
4
Output Compare Channels
10
Input Capture Channels
1
Pwm Channels
9
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AT90USB646-AU
Manufacturer:
MOT
Quantity:
1 100
Part Number:
AT90USB646-AU
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
AT90USB646-MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
- Current page: 192 of 461
- Download datasheet (5Mb)
18.6.3
192
AT90USB64/128
Receive Compete Flag and Interrupt
Note:
The receive function example reads all the I/O Registers into the Register File before any com-
putation is done. This gives an optimal receive buffer utilization since the buffer location read will
be free to accept new data as early as possible.
The USART Receiver has one flag that indicates the Receiver state.
Assembly Code Example
C Code Example
USART_Receive:
USART_ReceiveNoError:
unsigned int USART_Receive( void )
{
}
; Wait for data to be received
sbis UCSRnA, RXCn
rjmp USART_Receive
; Get status and 9th bit, then data from buffer
in
in
in
; If error, return -1
andi r18,(1<<FEn)|(1<<DORn)|(1<<UPEn)
breq USART_ReceiveNoError
ldi
ldi
; Filter the 9th bit, then return
lsr
andi r17, 0x01
ret
unsigned char status, resh, resl;
/* Wait for data to be received */
while ( !(UCSRnA & (1<<RXCn)) )
/* Get status and 9th bit, then data */
/* from buffer */
status = UCSRnA;
resh = UCSRnB;
resl = UDRn;
/* If error, return -1 */
if ( status & (1<<FEn)|(1<<DORn)|(1<<UPEn) )
/* Filter the 9th bit, then return */
resh = (resh >> 1) & 0x01;
return ((resh << 8) | resl);
1. See “About Code Examples” on page 9.
return -1;
r18, UCSRnA
r17, UCSRnB
r16, UDRn
r17, HIGH(-1)
r16, LOW(-1)
r17
;
(1)
(1)
7593K–AVR–11/09
Related parts for AT90USB646
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Digital Attenuator 32-Pin FQFP T/R
Manufacturer:
M/A-Com Technology Solutions
Datasheet:
Part Number:
Description:
MLP DIGITAL ATTENUATOR
Manufacturer:
M/A-Com Technology Solutions
Part Number:
Description:
Digital Attenuator 32-Pin FQFP
Manufacturer:
M/A-Com Technology Solutions
Datasheet:
Part Number:
Description:
Digital Attenuator 32-Pin FQFP T/R
Manufacturer:
M/A-Com Technology Solutions
Datasheet:
Part Number:
Description:
MLP DIGITAL ATTENUATOR
Manufacturer:
M/A-Com Technology Solutions
Part Number:
Description:
Digital Attenuator, 50 Db, 6-bit, Ttl Driver, Dc-2.4 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
Part Number:
Description:
Digital Attenuator, 31.5 Db, 6-bit, Ttl Driver, Dc-4.0 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
Part Number:
Description:
Digital Attenuator, 31.5 Db, 6-bit, Ttl Driver, Dc-4.0 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
Part Number:
Description:
Digital Attenuator, 31db, 5-bit, Ttl Driver Dc - 3.0 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
Part Number:
Description:
Digital Attenuator, 15.5 Db, 5-bit, Ttl Driver, Dc-3.5 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet: