Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

ATA6616 Datasheet(PDF) 78 Page - ATMEL Corporation

Part # ATA6616
Description  8K/16K Flash Microcontroller with LIN Transceiver, 5V Regulator and Watchdog
Download  308 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATA6616 Datasheet(HTML) 78 Page - ATMEL Corporation

Back Button ATA6616_12 Datasheet HTML 74Page - ATMEL Corporation ATA6616_12 Datasheet HTML 75Page - ATMEL Corporation ATA6616_12 Datasheet HTML 76Page - ATMEL Corporation ATA6616_12 Datasheet HTML 77Page - ATMEL Corporation ATA6616_12 Datasheet HTML 78Page - ATMEL Corporation ATA6616_12 Datasheet HTML 79Page - ATMEL Corporation ATA6616_12 Datasheet HTML 80Page - ATMEL Corporation ATA6616_12 Datasheet HTML 81Page - ATMEL Corporation ATA6616_12 Datasheet HTML 82Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 78 / 308 page
background image
78
9132F–AUTO–02/12
Atmel ATA6616/ATA6617
The following code example shows one assembly and one C function for turning off the
Watchdog Timer. The example assumes that interrupts are controlled (e.g. by disabling inter-
rupts globally) so that no interrupts will occur during the execution of these functions.
Assembly Code Example
(1)
WDT_off:
; Turn off global interrupt
cli
; Reset Watchdog Timer
wdr
; Clear WDRF in MCUSR
in
r16, MCUSR
andi
r16, (0xff & (0<<WDRF))
out
MCUSR, r16
; Write logical one to WDCE and WDE
; Keep old prescaler setting to prevent unintentional time-out
lds
r16, WDTCR
ori
r16, (1<<WDCE) | (1<<WDE)
sts
WDTCR, r16
; Turn off WDT
ldi
r16, (0<<WDE)
sts
WDTCR, r16
; Turn on global interrupt
sei
ret
C Code Example
(1)
void WDT_off(void)
{
__disable_interrupt();
__watchdog_reset();
/* Clear WDRF in MCUSR */
MCUSR &= ~(1<<WDRF);
/* Write logical one to WDCE and WDE */
/* Keep old prescaler setting to prevent unintentional time-out */
WDTCR |= (1<<WDCE) | (1<<WDE);
/* Turn off WDT */
WDTCR = 0x00;
__enable_interrupt();
}
Notes:
1. See Section 4.2.7 “About Code Examples” on page 31
2. If the Watchdog is accidentally enabled, for example by a runaway pointer or brown-out
condition, the device will be reset and the Watchdog Timer will stay enabled. If the code is
not set up to handle the Watchdog, this might lead to an eternal loop of time-out resets.
To avoid this situation, the application software should always clear the Watchdog System
Reset Flag (WDRF) and the WDE control bit in the initialization routine, even if the Watch-
dog is not in use


Similar Part No. - ATA6616_12

ManufacturerPart #DatasheetDescription
logo
ATMEL Corporation
ATA6616-EK ATMEL-ATA6616-EK Datasheet
1Mb / 20P
   Atmel ATA6616-EK/ATA6617-EK Development Board V1.1
ATA6616C ATMEL-ATA6616C Datasheet
8Mb / 274P
   8K/16K Flash Microcontroller with LIN Transceiver, 5V Regulator and Watchdog
ATA6616C ATMEL-ATA6616C_14 Datasheet
8Mb / 274P
   8K/16K Flash Microcontroller with LIN Transceiver, 5V Regulator and Watchdog
More results

Similar Description - ATA6616_12

ManufacturerPart #DatasheetDescription
logo
ATMEL Corporation
ATA6616C ATMEL-ATA6616C_14 Datasheet
8Mb / 274P
   8K/16K Flash Microcontroller with LIN Transceiver, 5V Regulator and Watchdog
ATA6617C ATMEL-ATA6617C_14 Datasheet
8Mb / 274P
   8K/16K Flash Microcontroller with LIN Transceiver, 5V Regulator and Watchdog
ATA6612C ATMEL-ATA6612C_14 Datasheet
9Mb / 312P
   8K/16K Flash Microcontroller with LIN Transceiver, 5V Regulator and Watchdog
ATA6613C ATMEL-ATA6613C_14 Datasheet
9Mb / 312P
   8K/16K Flash Microcontroller with LIN Transceiver, 5V Regulator and Watchdog
ATA6614Q ATMEL-ATA6614Q_14 Datasheet
9Mb / 311P
   32K Flash Microcontroller with LIN Transceiver, 5V Regulator and Watchdog
ATA6612 ATMEL-ATA6612 Datasheet
5Mb / 364P
   Microcontroller with LIN Transceiver, 5V Regulator and Watchdog
ATA6602 ATMEL-ATA6602 Datasheet
4Mb / 362P
   Microcontroller with LIN Transceiver, 5V Regulator and Watchdog
ATA6621 ATMEL-ATA6621_06 Datasheet
415Kb / 27P
   LIN Transceiver with 5V Regulator and Watchdog
ATA6621 ATMEL-ATA6621 Datasheet
386Kb / 26P
   LIN Transceiver with 5V Regulator and Watchdog
ATA6621N ATMEL-ATA6621N Datasheet
496Kb / 28P
   LIN Transceiver with 5V Regulator and Watchdog
More results


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




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   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