ATmega6490P Atmel Corporation, ATmega6490P Datasheet - Page 187

no-image

ATmega6490P

Manufacturer Part Number
ATmega6490P
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega6490P

Flash (kbytes)
64 Kbytes
Pin Count
100
Max. Operating Frequency
20 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
69
Ext Interrupts
32
Usb Speed
No
Usb Interface
No
Spi
2
Twi (i2c)
1
Uart
1
Segment Lcd
160
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
Yes
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8 to 5.5
Operating Voltage (vcc)
1.8 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
3
Output Compare Channels
4
Input Capture Channels
1
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATmega6490P-AU
Manufacturer:
Atmel
Quantity:
779
Part Number:
ATmega6490P-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega6490P-AUR
Manufacturer:
Atmel
Quantity:
10 000
20.7.2
8284D–AVR–6/11
Receiving Frames with 9 Data Bits
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P
bits of the data read from the UDRn will be masked to zero. The USART has to be initialized
before the function can be used.
Note:
The function simply waits for data to be present in the receive buffer by checking the RXCn Flag,
before reading the buffer and returning the value.
If 9-bit characters are used (UCSZ=7), the ninth bit must be read from the RXB8n bit in UCSRnB
before reading the low bits from the UDRn. This rule applies to the FEn, DORn and UPEn Status
Flags as well. Read status from UCSRnA, then data from UDRn. Reading the UDRn I/O location
will change the state of the receive buffer FIFO and consequently the TXB8n, FEn, DORn and
UPEn bits, which all are stored in the FIFO, will change.
Assembly Code Example
C Code Example
USART_Receive:
unsigned char USART_Receive( void )
{
}
; Wait for data to be received
sbis UCSR0A, RXC0
rjmp USART_Receive
; Get and return received data from buffer
in
ret
/* Wait for data to be received */
while ( !(UCSR0A & (1<<RXC0)) )
/* Get and return received data from buffer */
return UDR0;
1.
See ”About Code Examples” on page 11.
r16, UDR0
;
(1)
(1)
187

Related parts for ATmega6490P