Electronic Components Datasheet Search
  English  ▼

X  

ATMEGA48 Datasheet(PDF) 194 Page - ATMEL Corporation

Part # ATMEGA48
Description  8-bit Microcontroller with 8K Bytes In-System Programmable Flash
PDF  374 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATMEGA48 Datasheet(HTML) 194 Page - ATMEL Corporation

Back Button ATMEGA48 Datasheet HTML 190Page - ATMEL Corporation ATMEGA48 Datasheet HTML 191Page - ATMEL Corporation ATMEGA48 Datasheet HTML 192Page - ATMEL Corporation ATMEGA48 Datasheet HTML 193Page - ATMEL Corporation ATMEGA48 Datasheet HTML 194Page - ATMEL Corporation ATMEGA48 Datasheet HTML 195Page - ATMEL Corporation ATMEGA48 Datasheet HTML 196Page - ATMEL Corporation ATMEGA48 Datasheet HTML 197Page - ATMEL Corporation ATMEGA48 Datasheet HTML 198Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 194 / 374 page
background image
194
2545J–AVR–12/06
ATmega48/88/168
18.10.5
UBRRnL and UBRRnH – USART Baud Rate Registers
• Bit 15:12 – Reserved Bits
These bits are reserved for future use. For compatibility with future devices, these bit must be
written to zero when UBRRnH is written.
• Bit 11:0 – UBRR11:0: USART Baud Rate Register
This is a 12-bit register which contains the USART baud rate. The UBRRnH contains the four
most significant bits, and the UBRRnL contains the eight least significant bits of the USART
baud rate. Ongoing transmissions by the Transmitter and Receiver will be corrupted if the baud
rate is changed. Writing UBRRnL will trigger an immediate update of the baud rate prescaler.
18.11 Examples of Baud Rate Setting
For standard crystal and resonator frequencies, the most commonly used baud rates for asyn-
chronous operation can be generated by using the UBRRn settings in Table 18-9. UBRRn
values which yield an actual baud rate differing less than 0.5% from the target baud rate, are
bold in the table. Higher error ratings are acceptable, but the Receiver will have less noise resis-
tance when the error ratings are high, especially for large serial frames (see ”Asynchronous
Operational Range” on page 187). The error values are calculated using the following equation:
Table 18-8.
UCPOLn Bit Settings
UCPOLn
Transmitted Data Changed (Output of
TxDn Pin)
Received Data Sampled (Input on RxDn
Pin)
0
Rising XCKn Edge
Falling XCKn Edge
1
Falling XCKn Edge
Rising XCKn Edge
Bit
151413121110
9
8
–
–
–
–
UBRRn[11:8]
UBRRnH
UBRRn[7:0]
UBRRnL
7
654
32
10
Read/Write
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
0
000
00
00
Error[%]
BaudRate
Closest Match
BaudRate
--------------------------------------------------
1
–
⎝⎠
⎛⎞
100%
•
=



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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