công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

ATMEGA161 bảng dữ liệu(PDF) 65 Page - ATMEL Corporation

tên linh kiện ATMEGA161
Giải thích chi tiết về linh kiện  8-bit Microcontroller with 16K Bytes In-System Programmable Flash
PDF  134 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  ATMEL [ATMEL Corporation]
Trang chủ  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATMEGA161 bảng dữ liệu(HTML) 65 Page - ATMEL Corporation

Back Button ATMEGA161 Datasheet HTML 61Page - ATMEL Corporation ATMEGA161 Datasheet HTML 62Page - ATMEL Corporation ATMEGA161 Datasheet HTML 63Page - ATMEL Corporation ATMEGA161 Datasheet HTML 64Page - ATMEL Corporation ATMEGA161 Datasheet HTML 65Page - ATMEL Corporation ATMEGA161 Datasheet HTML 66Page - ATMEL Corporation ATMEGA161 Datasheet HTML 67Page - ATMEL Corporation ATMEGA161 Datasheet HTML 68Page - ATMEL Corporation ATMEGA161 Datasheet HTML 69Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 65 / 134 page
background image
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



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


bảng dữ liệu tải về

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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