ATA6602 ATMEL Corporation, ATA6602 Datasheet - Page 135
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATA6602
Manufacturer Part Number
ATA6602
Description
LIN and Microcontroller System-In-Package: LIN Transceiver, integrated 5V/50 mA voltage regulator, window watchdog and automotive AVR ATmega88 (8 kBytes Flash); green QFN48 package.
Manufacturer
ATMEL Corporation
Datasheet
1.ATA6602.pdf
(362 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATA6602-PLQW
Manufacturer:
ATMEL
Quantity:
1 727
Part Number:
ATA6602-PLQW
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATA6602NPLQW
Manufacturer:
ATMEL
Quantity:
7 234
- Current page: 135 of 362
- Download datasheet (5Mb)
4.14.2.1
4921C–AUTO–01/07
Reusing the Temporary High Byte Register
The following code examples show how to do an atomic write of the TCNT1 Register contents.
Writing any of the OCR1A/B or ICR1 Registers can be done by using the same principle.
Note:
The assembly code example requires that the r17:r16 register pair contains the value to be writ-
ten to TCNT1.
If writing to more than one 16-bit register where the high byte is the same for all registers written,
then the high byte only needs to be written once. However, note that the same rule of atomic
operation described previously also applies in this case.
Assembly Code Example
C Code Example
TIM16_WriteTCNT1:
void TIM16_WriteTCNT1( unsigned int i )
{
}
; Save global interrupt flag
in r18,SREG
; Disable interrupts
cli
; Set TCNT1 to r17:r16
out TCNT1H,r17
out TCNT1L,r16
; Restore global interrupt flag
out SREG,r18
ret
unsigned char sreg;
unsigned int i;
/* Save global interrupt flag */
sreg = SREG;
/* Disable interrupts */
_CLI();
/* Set TCNT1 to i */
TCNT1 = i;
/* Restore global interrupt flag */
SREG = sreg;
1. The example code assumes that the part specific header file is included.
For I/O Registers located in extended I/O map, “IN”, “OUT”, “SBIS”, “SBIC”, “CBI”, and “SBI”
instructions must be replaced with instructions that allow access to extended I/O. Typically
“LDS” and “STS” combined with “SBRS”, “SBRC”, “SBR”, and “CBR”.
(1)
(1)
ATA6602/ATA6603
135
Related parts for ATA6602
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![AT-106](/images/manufacturer_photos/0/6/687/tyco_electronics_tmb.jpg)
Part Number:
Description:
Digital Attenuator, 50 Db, 6-bit, Ttl Driver, Dc - 2 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
![AT-110](/images/manufacturer_photos/0/6/687/tyco_electronics_tmb.jpg)
Part Number:
Description:
Voltage Variable Absorptive Attenuator, 30 Db 0.5 - 2 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
![AT-113](/images/manufacturer_photos/0/6/687/tyco_electronics_tmb.jpg)
Part Number:
Description:
3 Volt Voltage Variable Absorptive Attenuator 40 Db, 0.5-2.0 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
![AT-210](/images/manufacturer_photos/0/6/687/tyco_electronics_tmb.jpg)
Part Number:
Description:
Digital Attenu A T O R, 15 Db, 4-bit Dc - 2 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
![AT-220](/images/manufacturer_photos/0/6/687/tyco_electronics_tmb.jpg)
Part Number:
Description:
Digital Attenuator, 30 Db, 4-bit Dc - 2 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
![AT-230](/images/manufacturer_photos/0/6/687/tyco_electronics_tmb.jpg)
Part Number:
Description:
Digital Attenuator, 28 Db, 3-bit Dc - 2 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
![AT-280](/images/manufacturer_photos/0/6/687/tyco_electronics_tmb.jpg)
Part Number:
Description:
Digital Attenuator, 15.5 Db, 5-bit Dc - 2 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
![AT-119TR](/images/manufacturer_photos/0/6/687/tyco_electronics_tmb.jpg)
Part Number:
Description:
2.25 Volt Voltage Variable Absorptive Attenuator - 40 dB/ 1.8.2.5 GHz
Manufacturer:
Tyco Electronics
Datasheet:
![AT-30511](/images/no-image3.png)
Part Number:
Description:
Low Current/ High Performance NPN Silicon Bipolar Transistor
Manufacturer:
Agilent(Hewlett-Packard)
Datasheet:
![AT-31033](/images/no-image3.png)
Part Number:
Description:
Low Current/ High Performance NPN Silicon Bipolar Transistor
Manufacturer:
Agilent(Hewlett-Packard)
Datasheet:
![AT-32011](/images/no-image3.png)
Part Number:
Description:
Low Current/ High Performance NPN Silicon Bipolar Transistor
Manufacturer:
Agilent(Hewlett-Packard)
Datasheet:
![AT-337](/images/manufacturer_photos/0/6/687/tyco_electronics_tmb.jpg)
Part Number:
Description:
(AT-332 / AT-337) Voltage Variable Absorptive Attenuator DC - 2 GHz
Manufacturer:
Tyco Electronics
Datasheet:
![AT-107](/images/manufacturer_photos/0/6/687/tyco_electronics_tmb.jpg)
Part Number:
Description:
Digital Attenuator, 31.5 Db, 6-bit, Ttl Driver, Dc - 2 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
![AT-119](/images/manufacturer_photos/0/6/687/tyco_electronics_tmb.jpg)
Part Number:
Description:
2.25 Volt Voltage Variable Absorptive Attenuator - 40 Db, 1.8.2.5 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
![AT-232](/images/manufacturer_photos/0/6/687/tyco_electronics_tmb.jpg)
Part Number:
Description:
Digital Attenuator, 30 Db, 4-bit, Dc - 2 Ghz
Manufacturer:
Tyco Electronics
Datasheet: