Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

ATTINY2313-20MU Datasheet(PDF) 51 Page - ATMEL Corporation

No. de pieza ATTINY2313-20MU
Descripción Electrónicos  8-bit Microcontroller with 2K Bytes In-System Programmable Flash
Download  231 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  ATMEL [ATMEL Corporation]
Página de inicio  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATTINY2313-20MU Datasheet(HTML) 51 Page - ATMEL Corporation

Back Button ATTINY2313-20MU Datasheet HTML 47Page - ATMEL Corporation ATTINY2313-20MU Datasheet HTML 48Page - ATMEL Corporation ATTINY2313-20MU Datasheet HTML 49Page - ATMEL Corporation ATTINY2313-20MU Datasheet HTML 50Page - ATMEL Corporation ATTINY2313-20MU Datasheet HTML 51Page - ATMEL Corporation ATTINY2313-20MU Datasheet HTML 52Page - ATMEL Corporation ATTINY2313-20MU Datasheet HTML 53Page - ATMEL Corporation ATTINY2313-20MU Datasheet HTML 54Page - ATMEL Corporation ATTINY2313-20MU Datasheet HTML 55Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 51 / 231 page
background image
51
ATtiny2313/V
2543I–AVR–04/06
Toggling the Pin
Writing a logic one to PINxn toggles the value of PORTxn, independent on the value of
DDRxn. Note that the SBI instruction can be used to toggle one single bit in a port.
Switching Between Input and
Output
When switching between tri-state ({DDxn, PORTxn} = 0b00) and output high ({DDxn,
PORTxn} = 0b11), an intermediate state with either pull-up enabled {DDxn, PORTxn} =
0b01) or output low ({DDxn, PORTxn} = 0b10) must occur. Normally, the pull-up
enabled state is fully acceptable, as a high-impedant environment will not notice the dif-
ference between a strong high driver and a pull-up. If this is not the case, the PUD bit in
the MCUCR Register can be set to disable all pull-ups in all ports.
Switching between input with pull-up and output low generates the same problem. The
user must use either the tri-state ({DDxn, PORTxn} = 0b00) or the output high state
({DDxn, PORTxn} = 0b11) as an intermediate step.
Table 22 summarizes the control signals for the pin value.
Reading the Pin Value
Independent of the setting of Data Direction bit DDxn, the port pin can be read through
the PINxn Register bit. As shown in Figure 22, the PINxn Register bit and the preceding
latch constitute a synchronizer. This is needed to avoid metastability if the physical pin
changes value near the edge of the internal clock, but it also introduces a delay. Figure
23 shows a timing diagram of the synchronization when reading an externally applied
pin value. The maximum and minimum propagation delays are denoted t
pd,max and tpd,min
respectively.
Figure 23. Synchronization when Reading an Externally Applied Pin value
Table 22. Port Pin Configurations
DDxn
PORTxn
PUD
(in MCUCR)
I/O
Pull-up
Comment
0
0
X
Input
No
Tri-state (Hi-Z)
0
1
0
Input
Yes
Pxn will source current if ext. pulled
low.
0
1
1
Input
No
Tri-state (Hi-Z)
1
0
X
Output
No
Output Low (Sink)
1
1
X
Output
No
Output High (Source)
XXX
in r17, PINx
0x00
0xFF
INSTRUCTIONS
SYNC LATCH
PINxn
r17
XXX
SYSTEM CLK
t
pd, max
t pd, min


Número de pieza similar - ATTINY2313-20MU

Fabricante ElectrónicoNo. de piezaDatasheetDescripción Electrónicos
logo
ATMEL Corporation
ATTINY2313-20MU ATMEL-ATTINY2313-20MU Datasheet
181Kb / 17P
   8-bit Microcontroller with 2K Bytes In-System Programmable Flash
More results

Descripción similar - ATTINY2313-20MU

Fabricante ElectrónicoNo. de piezaDatasheetDescripción Electrónicos
logo
ATMEL Corporation
ATTINY2313-20 ATMEL-ATTINY2313-20 Datasheet
1Mb / 223P
   8-bit Microcontroller with 2K Bytes In-System Programmable Flash
ATTINY2313 ATMEL-ATTINY2313_06 Datasheet
181Kb / 17P
   8-bit Microcontroller with 2K Bytes In-System Programmable Flash
AT90S2313 ATMEL-AT90S2313 Datasheet
387Kb / 8P
   8-Bit Microcontroller with 2K bytes In-System Programmable Flash
ATTINY20 ATMEL-ATTINY20 Datasheet
638Kb / 18P
   8-bit Microcontroller with 2K Bytes In-System Programmable Flash
ATTINY20 ATMEL-ATTINY20_11 Datasheet
5Mb / 224P
   8-bit Microcontroller with 2K Bytes In-System Programmable Flash
ATTINY2313 ATMEL-ATTINY2313 Datasheet
2Mb / 211P
   8-bit AVR Microcontroller with 2K Bytes In-System Programmable Flash
AT90S2313 ATMEL-AT90S2313 Datasheet
2Mb / 8P
   8-bit Microcontroller with 2K Bytes of In-System Programmable Flash
ATTINY22L ATMEL-ATTINY22L_1 Datasheet
884Kb / 56P
   8-bit Microcontroller with 2K Bytes of In-System Programmable Flash
ATTINY24A ATMEL-ATTINY24A Datasheet
545Kb / 20P
   8-bit Microcontroller with 2K/4K Bytes In-System Programmable Flash
ATTINY22L ATMEL-ATTINY22L Datasheet
252Kb / 11P
   8-bit Microcontroller with 2K Bytes of In-System Programmable Flash
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Descarga

Go To PDF Page


Enlace URL




Política de Privacidad
ALLDATASHEET.ES
¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Intercambio de Enlaces   |   Lista de Fabricantes
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com