ATTINY13V-10SSJ Atmel, ATTINY13V-10SSJ Datasheet - Page 52
![IC MCU AVR 1K 5V 10MHZ 8SOIC](/photos/6/50/65032/453-8-soic_sml.jpg)
ATTINY13V-10SSJ
Manufacturer Part Number
ATTINY13V-10SSJ
Description
IC MCU AVR 1K 5V 10MHZ 8SOIC
Manufacturer
Atmel
Series
AVR® ATtinyr
Specifications of ATTINY13V-10SSJ
Core Processor
AVR
Core Size
8-Bit
Speed
10MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
6
Program Memory Size
1KB (512 x 16)
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
64 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
8-SOIC (5.3mm Width), 8-SOP, 8-SOEIAJ
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Connectivity
-
Other names
ATTINY13V-12SSJ
ATTINY13V-12SSJ
ATTINY13V-12SSJ
- Current page: 52 of 176
- Download datasheet (3Mb)
10.2.5
52
ATtiny13
Digital Input Enable and Sleep Modes
The following code example shows how to set port B pins 0 and 1 high, 2 and 3 low, and define
the port pins from 4 to 5 as input with a pull-up assigned to port pin 4. The resulting pin values
are read back again, but as previously discussed, a nop instruction is included to be able to read
back the value recently assigned to some of the pins.
Note:
As shown in
input of the schmitt-trigger. The signal denoted SLEEP in the figure, is set by the MCU Sleep
Controller in Power-down mode, Power-save mode, and Standby mode to avoid high power
consumption if some input signals are left floating, or have an analog signal level close to V
SLEEP is overridden for port pins enabled as external interrupt pins. If the external interrupt
request is not enabled, SLEEP is active also for these pins. SLEEP is also overridden by various
other alternate functions as described in
If a logic high level (“one”) is present on an asynchronous external interrupt pin configured as
“Interrupt on Rising Edge, Falling Edge, or Any Logic Change on Pin” while the external interrupt
is not enabled, the corresponding External Interrupt Flag will be set when resuming from the
Assembly Code Example
C Code Example
unsigned char i;
...
; Define pull-ups and set outputs high
; Define directions for port pins
ldi
ldi
out
out
; Insert nop for synchronization
nop
; Read port pins
in
...
...
/* Define pull-ups and set outputs high */
/* Define directions for port pins */
PORTB = (1<<PB4)|(1<<PB1)|(1<<PB0);
DDRB = (1<<DDB3)|(1<<DDB2)|(1<<DDB1)|(1<<DDB0);
/* Insert nop for synchronization*/
__no_operation();
/* Read port pins */
i = PINB;
...
1. For the assembly program, two temporary registers are used to minimize the time from pull-
ups are set on pins 0, 1 and 4, until the direction bits are correctly set, defining bit 2 and 3 as
low and redefining bits 0 and 1 as strong high drivers.
Figure 10-2 on page
r16,(1<<PB4)|(1<<PB1)|(1<<PB0)
r17,(1<<DDB3)|(1<<DDB2)|(1<<DDB1)|(1<<DDB0)
PORTB,r16
DDRB,r17
r16,PINB
(1)
49, the digital input signal can be clamped to ground at the
“Alternate Port Functions” on page
53.
2535J–AVR–08/10
CC
/2.
Related parts for ATTINY13V-10SSJ
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATTINY13V-10SSU](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 1K FLASH 10MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY13V-10SU](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 1K FLASH 10MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY13V-10MU](/photos/6/87/68751/313-20-qfn_tmb.jpg)
Part Number:
Description:
IC MCU AVR 1K FLASH 10MHZ 20MLF
Manufacturer:
Atmel
Datasheet:
![ATTINY13V-10PU](/photos/6/50/65033/313-8-dip_tmb.jpg)
Part Number:
Description:
IC MCU AVR 1K FLASH 10MHZ 8DIP
Manufacturer:
Atmel
Datasheet:
![ATTINY13V-10MMU](/photos/12/13/121304/313-10m1_tmb.jpg)
Part Number:
Description:
MCU AVR 1K ISP FLASH 1.8V 10-QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY13V-10PJ](/photos/6/50/65033/313-8-dip_tmb.jpg)
Part Number:
Description:
IC MCU AVR 1K 5V 10MHZ 8DIP
Manufacturer:
Atmel
Datasheet:
![ATTINY13V-10SJ](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 1K 5V 10MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY13V-10PI](/photos/6/50/65033/313-8-dip_tmb.jpg)
Part Number:
Description:
IC MCU AVR 1K FLASH 10MHZ 8DIP
Manufacturer:
Atmel
Datasheet:
![ATTINY13V-10SI](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 1K FLASH 10MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY13V-10SSI](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 1K FLASH 10MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY13V-10SSUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 1KB FLASH 10MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY13V-10SUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 1KB FLASH 10MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY13V-10MUR](/photos/6/87/68751/313-20-qfn_tmb.jpg)
Part Number:
Description:
MCU AVR 1KB FLASH 10MHZ 20QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY13V-10MMUR](/photos/12/13/121304/313-10m1_tmb.jpg)
Part Number:
Description:
MCU AVR 1KB FLASH 10MHZ 10QFN
Manufacturer:
Atmel
Datasheet: