| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
ATMEGA161 bảng dữ liệu(PDF) 65 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATMEGA161 bảng dữ liệu(HTML) 65 Page - ATMEL Corporation |
|
65 / 134 page ![]() ATmega161(L) 65 • Bit 5 - UDRE0/UDRE1: UART Data Register Empty This bit is set (one) when a character written to UDRn is transferred to the Transmit shift register. Setting of this bit indi- cates that the transmitter is ready to receive a new character for transmission. When the UDRIEn bit in UCSRnB is set, the UART Transmit Complete interrupt will be executed as long as UDREn is set and the global interrupt enable bit in SREG is set. UDREn is cleared by writing UDRn. When interrupt-driven data transmit- tal is used, the UART Data Register Empty Interrupt routine must write UDRn in order to clear UDREn, otherwise a new interrupt will occur once the interrupt routine terminates. UDREn is set (one) during reset to indicate that the transmitter is ready. • Bit 4 - FE0/FE1: Framing Error This bit is set if a Framing Error condition is detected, i.e. when the stop bit of an incoming character is zero. The FEn bit is cleared when the stop bit of received data is one. • Bit 3 - OR0/OR1: OverRun This bit is set if an Overrun condition is detected, i.e. when a character already present in the UDRn register is not read before the next character has been shifted into the Receiver Shift register. The ORn bit is buffered, which means that it will be set once the valid data still in UDRn is read. The ORn bit is cleared (zero) when data is received and transferred to UDRn. • Bit 2 - Res: Reserved bit This bit is reserved bit in the ATmega161 and will always read as zero. • Bits 1 - U2X0/U2X1: Double the UART transmission speed When this bit is set (one) the UART speed will be doubled. This means that a bit will be transmitted/received in 8 CPU clock periods instead of 16 CPU clock periods. For a detailed description, see “Double Speed Transmission” on page 68”. • Bit 0 - MPCM0/MPCM1: Multi-processor Communication Mode This bit is used to enter Multi-processor Communication Mode. The bit is set when the slave MCU waits for an address byte to be received. When the MCU has been addressed, the MCU switches off the MPCMn bit, and starts data reception. For a detailed description, see “Multi-processor Communication Mode”. UART0 Control and Status Registers – UCSR0B UART1 Control and Status Registers – UCSR1B • Bit 7 - RXCIE0/RXCIE1: RX Complete Interrupt Enable When this bit is set (one), a setting of the RXCn bit in UCSRnA will cause the Receive Complete interrupt routine to be executed provided that global interrupts are enabled. • Bit 6 - TXCIE0/TXCIE1: TX Complete Interrupt Enable When this bit is set (one), a setting of the TXCn bit in UCSRnA will cause the Transmit Complete interrupt routine to be executed provided that global interrupts are enabled. • Bit 5 - UDRIE0/UDREI1: UART Data Register Empty Interrupt Enable When this bit is set (one), a setting of the UDREn bit in UCSRnA will cause the UART Data Register Empty interrupt routine to be executed provided that global interrupts are enabled. • Bit 4 - RXEN0/RXEN1: Receiver Enable This bit enables the UART receiver when set (one). When the receiver is disabled, the TXCn, ORn and FEn status flags cannot become set. If these flags are set, turning off RXEN does not cause them to be cleared. Bit 7 6 543 210 $0A ($2A) RXCIE0 TXCIE0 UDRIE0 RXEN0 TXEN0 CHR90 RXB80 TXB80 UCSR0B Read/Write R/W R/W R/W R/W R/W R/W R R/W Initial value 0 0 0 0 0 0 1 0 Bit 7 6 543 210 $01 ($21) RXCIE1 TXCIE1 UDRIE1 RXEN1 TXEN1 CHR91 RXB81 TXB81 UCSR1B Read/Write R/W R/W R/W R/W R/W R/W R R/W Initial value 0 0 0 0 0 0 1 0 |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |