欢迎访问ic37.com |
会员登录 免费注册
发布采购

ATMEGA8A-AUR 参数 Datasheet PDF下载

ATMEGA8A-AUR图片预览
型号: ATMEGA8A-AUR
PDF下载: 下载PDF文件 查看货源
内容描述: [RISC Microcontroller, 8-Bit, FLASH, AVR RISC CPU, 16MHz, CMOS, PQFP32, 7 X 7 MM, 1 MM HEIGHT, 0.80 MM PITCH, GREEN, PLASTIC, MS-026ABA, TQFP-32]
分类和应用: 闪存
文件页数/大小: 308 页 / 4674 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA8A-AUR的Datasheet PDF文件第150页浏览型号ATMEGA8A-AUR的Datasheet PDF文件第151页浏览型号ATMEGA8A-AUR的Datasheet PDF文件第152页浏览型号ATMEGA8A-AUR的Datasheet PDF文件第153页浏览型号ATMEGA8A-AUR的Datasheet PDF文件第155页浏览型号ATMEGA8A-AUR的Datasheet PDF文件第156页浏览型号ATMEGA8A-AUR的Datasheet PDF文件第157页浏览型号ATMEGA8A-AUR的Datasheet PDF文件第158页  
data is written to the transmit buffer, and the Transmitter is enabled, the Transmitter will load the  
data into the Transmit Shift Register when the Shift Register is empty. Then the data will be seri-  
ally transmitted on the TxD pin.  
The receive buffer consists of a two level FIFO. The FIFO will change its state whenever the  
receive buffer is accessed. Due to this behavior of the receive buffer, do not use Read-Modify-  
Write instructions (SBI and CBI) on this location. Be careful when using bit test instructions  
(SBIC and SBIS), since these also will change the state of the FIFO.  
USART Control and  
Status Register A –  
UCSRA  
Bit  
7
RXC  
R
6
5
UDRE  
R
4
FE  
R
3
DOR  
R
2
PE  
R
1
0
MPCM  
R/W  
0
TXC  
R/W  
0
U2X  
R/W  
0
UCSRA  
Read/Write  
Initial Value  
0
1
0
0
0
• Bit 7 – RXC: USART Receive Complete  
This flag bit is set when there are unread data in the receive buffer and cleared when the receive  
buffer is empty (i.e. does not contain any unread data). If the Receiver is disabled, the receive  
buffer will be flushed and consequently the RXC bit will become zero. The RXC Flag can be  
used to generate a Receive Complete interrupt (see description of the RXCIE bit).  
• Bit 6 – TXC: USART Transmit Complete  
This flag bit is set when the entire frame in the Transmit Shift Register has been shifted out and  
there are no new data currently present in the transmit buffer (UDR). The TXC Flag bit is auto-  
matically cleared when a transmit complete interrupt is executed, or it can be cleared by writing  
a one to its bit location. The TXC Flag can generate a Transmit Complete interrupt (see descrip-  
tion of the TXCIE bit).  
• Bit 5 – UDRE: USART Data Register Empty  
The UDRE Flag indicates if the transmit buffer (UDR) is ready to receive new data. If UDRE is  
one, the buffer is empty, and therefore ready to be written. The UDRE Flag can generate a Data  
Register Empty interrupt (see description of the UDRIE bit).  
UDRE is set after a reset to indicate that the Transmitter is ready.  
• Bit 4 – FE: Frame Error  
This bit is set if the next character in the receive buffer had a Frame Error when received (i.e.,  
when the first stop bit of the next character in the receive buffer is zero). This bit is valid until the  
receive buffer (UDR) is read. The FE bit is zero when the stop bit of received data is one. Always  
set this bit to zero when writing to UCSRA.  
• Bit 3 – DOR: Data OverRun  
This bit is set if a Data OverRun condition is detected. A Data OverRun occurs when the receive  
buffer is full (two characters), it is a new character waiting in the Receive Shift Register, and a  
new start bit is detected. This bit is valid until the receive buffer (UDR) is read. Always set this bit  
to zero when writing to UCSRA.  
• Bit 2 – PE: Parity Error  
This bit is set if the next character in the receive buffer had a Parity Error when received and the  
parity checking was enabled at that point (UPM1 = 1). This bit is valid until the receive buffer  
(UDR) is read. Always set this bit to zero when writing to UCSRA.  
• Bit 1 – U2X: Double the USART transmission speed  
This bit only has effect for the asynchronous operation. Write this bit to zero when using syn-  
chronous operation.  
154  
ATmega8(L)  
2486T–AVR–05/08  
 复制成功!