ATMEGA8L-8PJ Atmel, ATMEGA8L-8PJ Datasheet - Page 139
ATMEGA8L-8PJ
Manufacturer Part Number
ATMEGA8L-8PJ
Description
IC MCU AVR 8K 5V 8MHZ 28-DIP
Manufacturer
Atmel
Series
AVR® ATmegar
Specifications of ATMEGA8L-8PJ
Core Processor
AVR
Core Size
8-Bit
Speed
8MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
23
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 6x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 139 of 302
- Download datasheet (6Mb)
Receiving Frames with
9 Data Bits
2486Z–AVR–02/11
bits of the data read from the UDR 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 RXC 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 RXB8 bit in UCSRB
before reading the low bits from the UDR. This rule applies to the FE, DOR and PE Status Flags
as well. Read status from UCSRA, then data from UDR. Reading the UDR I/O location will
change the state of the receive buffer FIFO and consequently the TXB8, FE, DOR, and PE 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 UCSRA, RXC
rjmp USART_Receive
; Get and return received data from buffer
in
ret
/* Wait for data to be received */
while ( !(UCSRA & (1<<RXC)) )
/* Get and return received data from buffer */
return UDR;
1. See
r16, UDR
;
“About Code Examples” on page 8
(1)
(1)
ATmega8(L)
139
Related parts for ATMEGA8L-8PJ
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
8-bit AVR with 8K Bytes In-System Programmable Flash
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
IC AVR MCU 8K 8MHZ 3V 32-QFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU 8K 8MHZ 3V 28DIP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU 8K LV 8MHZ COM 32TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU 8K LV 8MHZ IND 32TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU 8K LV 8MHZ COM 28-DIP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU 8K LV 8MHZ IND 28-DIP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU 8K LV 8MHZ COM 32-QFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU 8K LV 8MHZ IND 32-QFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 8KB FLASH 8MHZ 32TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 8KB FLASH 8MHZ 32QFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MCU AVR 8K 5V 8MHZ 32-TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MCU AVR 8K 5V 8MHZ 32-QFN
Manufacturer:
Atmel
Datasheet: