ATtiny88 Automotive Atmel Corporation, ATtiny88 Automotive Datasheet - Page 96
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATtiny88 Automotive
Manufacturer Part Number
ATtiny88 Automotive
Description
Manufacturer
Atmel Corporation
Specifications of ATtiny88 Automotive
Flash (kbytes)
8 Kbytes
Pin Count
32
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
No
Max I/o Pins
28
Ext Interrupts
28
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.5
Eeprom (bytes)
64
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
Temp. Range (deg C)
-40 to 125
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
4
Input Capture Channels
1
Pwm Channels
2
32khz Rtc
No
Calibrated Rc Oscillator
Yes
- Current page: 96 of 225
- Download datasheet (4Mb)
14.3.1
14.4
96
Timer/Counter Clock Sources
Atmel ATtiny24/44/84 [Preliminary]
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
written to TCNT1.
If when writing to more than one 16-bit register the high byte is the same for all registers writ-
ten, 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.
The timer/counter can be clocked by an internal or an external clock source. The clock source
is selected by the clock select logic which is controlled by the clock select (CS12:0) bits
located in the timer/counter control register B (TCCR1B). For details on clock sources and
prescaler, see
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. See
“Timer/Counter Prescaler” on page
“About Code Examples” on page
(1)
(1)
6.
120.
7701E–AVR–02/11
Related parts for ATtiny88 Automotive
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATTINY88-AU](/photos/6/91/69154/313-32-tqfp_tmb.jpg)
Part Number:
Description:
MCU AVR 8K ISP FLASH 1.8V 32TQFP
Manufacturer:
Atmel
Datasheet:
![ATTINY88-MMU](/photos/12/32/123209/28m1-vqfn_tmb.jpg)
Part Number:
Description:
MCU AVR 8K FLASH 12MHZ 28-QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY88-MMH](/photos/12/32/123209/28m1-vqfn_tmb.jpg)
Part Number:
Description:
MCU AVR 8KB FLASH 12MHZ 28-VQFN
Manufacturer:
Atmel
Datasheet:
![ATTINY88-15MZ](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
IC MCU AVR 8B 8KB FLASH 32QFN
Manufacturer:
Atmel
Datasheet:
![ATtiny88](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATTINY88-MU](/photos/12/13/121310/attiny88-mu_tmb.jpg)
Part Number:
Description:
MCU AVR 8K ISP FLASH 1.8V 32-QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY88-PU](/photos/7/21/72189/453-28-dip_tmb.jpg)
Part Number:
Description:
MCU AVR 8K ISP FLASH 1.8V 28-DIP
Manufacturer:
Atmel
Datasheet:
![ATTINY88-AUR](/photos/6/91/69154/313-32-tqfp_tmb.jpg)
Part Number:
Description:
MCU AVR 8KB FLASH 12MHZ 32TQFP
Manufacturer:
Atmel
Datasheet:
![ATTINY88-MUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 8KB FLASH 12MHZ 32QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY88-MMHR](/photos/12/32/123209/28m1-vqfn_tmb.jpg)
Part Number:
Description:
MCU AVR 8KB FLASH 12MHZ 28QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY88-MMUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 8KB FLASH 12MHZ 32QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY88-W-11](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
8-bit Microcontrollers - MCU Microcontroller
Manufacturer:
Atmel
![ATTINY88-W](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
8-bit Microcontrollers - MCU Microcontroller
Manufacturer:
Atmel