ATTINY20-EK1 Atmel, ATTINY20-EK1 Datasheet - Page 148
![no-image](/images/manufacturer_photos/0/0/78/atmel_sml.jpg)
ATTINY20-EK1
Manufacturer Part Number
ATTINY20-EK1
Description
KIT EVAL TOUCH ATTINY20
Manufacturer
Atmel
Datasheet
1.ATTINY20-EK1.pdf
(224 pages)
Specifications of ATTINY20-EK1
Sensor Type
*
Sensing Range
*
Interface
*
Sensitivity
*
Voltage - Supply
*
Embedded
*
Utilized Ic / Part
*
Silicon Manufacturer
Atmel
Core Architecture
AVR
Core Sub-architecture
TinyAVR
Kit Contents
Board
Svhc
No SVHC (15-Dec-2010)
Mcu Supported Families
ATtiny20
Tool / Board Applications
Microcontroller
Rohs Compliant
Yes
Tool Type
Development Kit
Cpu Core
AVR 8
Data Bus Width
8 bit
Processor To Be Evaluated
ATtiny20
Interface Type
Touch
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 148 of 224
- Download datasheet (6Mb)
17.5.3
148
ATtiny20
TWSSRA – TWI Slave Status Register A
• Bits 1:0 – TWCMD[1:0]: TWI Command
Writing these bits triggers the slave operation as defined by
operation depends on the TWI slave interrupt flags, TWDIF and TWASIF. The Acknowledge
Action is only executed when the slave receives data bytes or address byte from the master.
Table 17-2.
Writing the TWCMD bits will automatically release the SCL line and clear the TWCH and slave
interrupt flags.
TWAA and TWCMDn bits can be written at the same time. Acknowledge Action will then be exe-
cuted before the command is triggered.
The TWCMDn bits are strobed and always read zero.
• Bit 7 – TWDIF: TWI Data Interrupt Flag
This flag is set when a data byte has been successfully received, i.e. no bus errors or collisions
have occurred during the operation. When this flag is set the slave forces the SCL line low,
stretching the TWI clock period. The SCL line is released by clearing the interrupt flags.
Writing a one to this bit will clear the flag. This flag is also automatically cleared when writing a
valid command to the TWCMDn bits in TWSCRB.
• Bit 6 – TWASIF: TWI Address/Stop Interrupt Flag
This flag is set when the slave detects that a valid address has been received, or when a trans-
mit collision has been detected. When this flag is set the slave forces the SCL line low,
stretching the TWI clock period. The SCL line is released by clearing the interrupt flags.
Bit
0x2B
Read/Write
Initial Value
TWCMD[1:0]
00
01
10
11
TWI Slave Command
TWDIF
R/W
7
0
Used to complete transaction
Used in response to an Address Byte (TWASIF is set)
Used in response to a Data Byte (TWDIF is set)
TWDIR
X
X
0
1
0
1
0
1
TWASIF
R/W
6
0
Operation
No action
Reserved
Execute Acknowledge Action, then wait for any START (S/Sr) condition
Wait for any START (S/Sr) condition
Execute Acknowledge Action, then receive next byte
Execute Acknowledge Action, then set TWDIF
Execute Acknowledge Action, then wait for next byte
No action
TWCH
5
R
0
TWRA
R
4
0
TWC
R/W
3
0
Table 17-2 on page
TWBE
R/W
2
0
TWDIR
R/W
1
0
TWAS
R/W
148. The type of
0
0
8235B–AVR–04/11
TWSSRA
Related parts for ATTINY20-EK1
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATtiny20](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATTINY20-SSU](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 12MHZ 14SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY20-XU](/photos/39/70/397027/tssop14_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 12MHZ 14TSSOP
Manufacturer:
Atmel
Datasheet:
![ATTINY20-XUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 12MHZ 14TSSOP
Manufacturer:
Atmel
Datasheet:
![ATTINY20-MMH](/photos/30/99/309958/qfn-16_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 12MHZ 20QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY20-MMHR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 12MHZ 20QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY20-CCU](/photos/40/18/401808/ufbga-15_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 12MHZ 15UFBGA
Manufacturer:
Atmel
Datasheet:
![ATTINY20-CCUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 12MHZ 15UFBGA
Manufacturer:
Atmel
Datasheet:
![ATTINY20-SSUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
IC MCU AVR 2K FLASH 14SOIC
Manufacturer:
Atmel
Datasheet:
![ATSTK600](/photos/9/20/92038/atstk600_tmb.jpg)
Part Number:
Description:
DEV KIT FOR AVR/AVR32
Manufacturer:
Atmel
Datasheet:
![U641B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
![U4082B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
![U4089B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
![U4255BM-M](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet: