| Zakładka z wyszukiwarką danych komponentów |
|
ATMEGA16 Arkusz danych(PDF) 41 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATMEGA16 Arkusz danych(HTML) 41 Page - ATMEL Corporation |
|
41 / 315 page ![]() 41 ATmega16(L) 2466E–AVR–10/02 The following code example shows one assembly and one C function for turning off the WDT. The example assumes that interrupts are controlled (for example by disabling interrupts globally) so that no interrupts will occur during execution of these functions. Assembly Code Example WDT_off: ; Write logical one to WDTOE and WDE ldi r16, (1<<WDTOE)|(1<<WDE) out WDTCR, r16 ; Turn off WDT ldi r16, (0<<WDE) out WDTCR, r16 ret C Code Example void WDT_off(void) { /* Write logical one to WDTOE and WDE */ WDTCR = (1<<WDTOE) | (1<<WDE); /* Turn off WDT */ WDTCR = 0x00; } |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |