Electronic Components Datasheet Search
  English  ▼

X  

ATmega16U4 Datasheet(PDF) 171 Page - ATMEL Corporation

Part # ATmega16U4
Description  8-bit Microcontroller with 16/32K Bytes of ISP Flash and USB Controller
PDF  408 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATmega16U4 Datasheet(HTML) 171 Page - ATMEL Corporation

Back Button ATmega16U4 Datasheet HTML 167Page - ATMEL Corporation ATmega16U4 Datasheet HTML 168Page - ATMEL Corporation ATmega16U4 Datasheet HTML 169Page - ATMEL Corporation ATmega16U4 Datasheet HTML 170Page - ATMEL Corporation ATmega16U4 Datasheet HTML 171Page - ATMEL Corporation ATmega16U4 Datasheet HTML 172Page - ATMEL Corporation ATmega16U4 Datasheet HTML 173Page - ATMEL Corporation ATmega16U4 Datasheet HTML 174Page - ATMEL Corporation ATmega16U4 Datasheet HTML 175Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 171 / 408 page
background image
171
7766D–AVR–01/09
ATmega16U4/ATmega32U4
When this bit is set, the Waveform Generation Module works in enhanced mode: the compare
registers OCR4A/B/D can welcome one more accuracy bit, while the LSB determines on which
clock edge the Compare condition is signalled and the output pin level is updated.
• Bits 5:0 – OC4OE5:OC4OE0: Output Compare Override Enable Bits
These bits are the Output Compare Override Enable bits that are used to connect or disconnect
the Output Compare Pins in PWM6 Modes with an instant response on the corresponding Out-
put Compare Pins. The actual value from the port register will be visible on the port pin, when
the Output Compare Override Enable Bit is cleared. Table 15-20 shows the Output Compare
Override Enable Bits and their corresponding Output Compare pins.
15.12.6
TCNT4 – Timer/Counter4
This 8-bit register contains the value of Timer/Counter4.
The Timer/Counter4 is realized as a 10-bit up/down counter with read and write access. Due to
synchronization of the CPU, Timer/Counter4 data written into Timer/Counter4 is delayed by one
and half CPU clock cycles in synchronous mode and at most one CPU clock cycles for asyn-
chronous mode. When a 10-bit accuracy is preferred, special procedures must be followed for
accessing the 10-bit TCNT4 register via the 8-bit AVR data bus. These procedures are
described in section “Accessing 10-Bit Registers” on page 160. Alternatively the Timer/Counter4
can be used as an 8-bit Timer/Counter. Note that the Timer/Counter4 always starts counting up
after writing the TCNT4 register.
15.12.7
TC4H – Timer/Counter4 High Byte
The temporary Timer/Counter4 register is an 2-bit read/write register.
• Bits 7:3- Res: Reserved Bits
These bits are reserved bits in the ATmega16U4/ATmega32U4 and always reads as zero.
• Bits 2- TC410: Additional MSB bits for 11-bit accesses in Enhanced PWM mode
If 10-bit accuracy is used, the Timer/Counter4 High Byte Register (TC4H) is used for temporary
storing the MSB bits (TC49, TC48) of the 10-bit accesses. The same TC4H register is shared
between all 10-bit registers within the Timer/Counter4. Note that special procedures must be fol-
lowed when accessing the 10-bit TCNT4 register via the 8-bit AVR data bus. These procedures
are described in section “Accessing 10-Bit Registers” on page 160.
Table 15-20. Output Compare Override Enable Bits vs. Output Compare Pins
OC4OE0
OC4OE1
OC4OE2
OC4OE3
OC4OE4
OC4OE5
OC4A
(PC6)
OC4A
(PC7)
OC4B
(PB5)
OC4B
(PB6)
OC4D
(PD6)
OC4D
(PD7)
Bit
76543210
4
MSB
LSB
TCNT4
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value
00000000
Bit
76543210
-----
TC410
TC49
TC48
TC4H
Read/Write
RRRRRR
R/W
R/W
Initial value
00000000



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