ATTINY45V-10MUR Atmel, ATTINY45V-10MUR Datasheet - Page 114
![MCU AVR 4KB FLASH 10MHZ 20QFN](/photos/6/87/68751/313-20-qfn_sml.jpg)
ATTINY45V-10MUR
Manufacturer Part Number
ATTINY45V-10MUR
Description
MCU AVR 4KB FLASH 10MHZ 20QFN
Manufacturer
Atmel
Series
AVR® ATtinyr
Specifications of ATTINY45V-10MUR
Core Processor
AVR
Core Size
8-Bit
Speed
10MHz
Connectivity
USI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
6
Program Memory Size
4KB (2K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 114 of 236
- Download datasheet (5Mb)
15.3.3
114
ATtiny25/45/85
SPI Slave Operation Example
The code is size optimized using only eight instructions (plus return). The code example
assumes that the DO and USCK pins have been enabled as outputs in DDRB. The value stored
in register r16 prior to the function is called is transferred to the slave device, and when the
transfer is completed the data received from the slave is stored back into the register r16.
The second and third instructions clear the USI Counter Overflow Flag and the USI counter
value. The fourth and fifth instructions set three-wire mode, positive edge clock, count at USITC
strobe, and toggle USCK. The loop is repeated 16 times.
The following code demonstrates how to use the USI as an SPI master with maximum speed
(f
The following code demonstrates how to use the USI as an SPI slave:
SCK
SPITransfer_Fast:
ret
init:
= f
CK
sbrs
rjmp
in
ret
out
ldi
ldi
out
out
out
out
out
out
out
out
out
out
out
out
out
out
out
out
in
ldi
out
/2):
r16, USIOIF
SPITransfer_loop
r16,USIDR
USIDR,r16
r16,(1<<USIWM0)|(0<<USICS0)|(1<<USITC)
r17,(1<<USIWM0)|(0<<USICS0)|(1<<USITC)|(1<<USICLK)
USICR,r16 ; MSB
USICR,r17
USICR,r16
USICR,r17
USICR,r16
USICR,r17
USICR,r16
USICR,r17
USICR,r16
USICR,r17
USICR,r16
USICR,r17
USICR,r16
USICR,r17
USICR,r16 ; LSB
USICR,r17
r16,USIDR
r16,(1<<USIWM0)|(1<<USICS1)
USICR,r16
2586M–AVR–07/10
Related parts for ATTINY45V-10MUR
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATTINY45V-10MU](/photos/6/87/68751/313-20-qfn_tmb.jpg)
Part Number:
Description:
IC AVR MCU FLASH 4K 10MHZ 20MLF
Manufacturer:
Atmel
Datasheet:
![ATTINY45V-10SU](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC AVR MCU 4K 10MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY45V-10SUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 4KB FLASH 10MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY45V-10XU](/photos/6/83/68331/453-8-tssop_tmb.jpg)
Part Number:
Description:
IC MCU AVR 4K FLASH 10MHZ 8TSSOP
Manufacturer:
Atmel
Datasheet:
![ATTINY45V-10PU](/photos/6/50/65033/313-8-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 4K 10MHZ 8DIP
Manufacturer:
Atmel
Datasheet:
![ATTINY45V-10XUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 4KB FLASH 10MHZ 8TSSOP
Manufacturer:
Atmel
Datasheet:
![ATTINY45V-10SH](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 4KB FLASH 20MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY45V-10PI](/photos/6/50/65033/313-8-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 4K 10MHZ 8DIP
Manufacturer:
Atmel
Datasheet:
![ATTINY45V-10SI](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC AVR MCU 4K 10MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY45V-10SHR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
8-bit Microcontrollers - MCU 4K FL, 256B EESRAM, ADC,8 PINS - 10MHz
Manufacturer:
Atmel
![ATtiny45](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATtiny45 Automotive](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATTINY45-20SU](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC AVR MCU 4K 20MHZ 8SOIC
Manufacturer:
Atmel
Datasheet: