Web Analytics
Datasheet 搜索 > 8位微控制器 > Microchip(微芯) > ATTINY24A-SSN 数据手册 > ATTINY24A-SSN 数据手册 61/299 页
ATTINY24A-SSN
器件3D模型
9.931
导航目录
ATTINY24A-SSN数据手册
Page:
of 299 Go
若手册格式错乱,请下载阅览PDF原文件
ATtiny24A/44A/84A
2020 Microchip Technology Inc. Data Sheet Complete DS40002269A-page 61
10.1.2 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.
10.1.3 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 accept-
able, as a high-impedant environment will not notice the difference 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}
= 0b10) as an intermediate step.
Table 10-1 summarizes the control signals for the pin value.
10.1.4 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 10-2 on page 60, the PINxn Register bit and the preced-
ing 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 10-3
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 t
pd,min
respectively.
Figure 10-3. Synchronization when Reading an Externally Applied Pin value
Table 10-1. 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
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

ATTINY24A-SSN 数据手册

Microchip(微芯)
299 页 / 13.89 MByte
Microchip(微芯)
22 页 / 0.67 MByte
Microchip(微芯)
85 页 / 4.32 MByte
Microchip(微芯)
60 页 / 3.17 MByte

ATTINY24 数据手册

ATMEL(爱特美尔)
ATMEL(爱特美尔)
8 位 PicoPower tinyAVR® 微控制器,AtmelAtmel 的 tinyAVR® 设备经优化处理,适用于需要性能、电源效率、易于使用且采用小型封装的应用。 所有 picoPower 设备均经过重新设计,旨在提供最低的功耗。最紧凑的小型封装,适用于注重尺寸的应用 电容式触摸 快速,且代码高效 高集成 1.8V 至 5.5V 操作(0.7V 操作,用于 ATtiny43U) ### AVR 微控制器,Atmel
Microchip(微芯)
8 位 PicoPower tinyAVR® 微控制器Atmel 的 tinyAVR® 设备经优化处理,适用于需要性能、电源效率、易于使用且采用小型封装的应用。 所有 picoPower 设备均经过重新设计,旨在提供最低的功耗。最紧凑的小型封装,适用于注重尺寸的应用 电容式触摸 快速,且代码高效 高集成 1.8V 至 5.5V 操作(0.7V 操作,用于 ATtiny43U)
ATMEL(爱特美尔)
ATMEL  ATTINY24A-MU  微控制器, 8位, 低功率高性能, ATtiny, 20 MHz, 2 KB, 128 Byte, 20 引脚, QFN
ATMEL(爱特美尔)
8 位 tinyAVR® 微控制器,AtmelAtmel 的 tinyAVR® 设备经优化处理,适用于需要性能、电源效率、易于使用且采用小型封装的应用。体积小巧,适用于注重尺寸的应用 电容式触摸 快速,且代码高效 高集成 1.8V 至 5.5V 工作 (ATtiny43U) ### AVR 微控制器,Atmel
ATMEL(爱特美尔)
ATMEL  ATTINY24V-10SSU  微控制器, 8位, 低功率高性能, ATtiny, 10 MHz, 2 KB, 128 Byte, 14 引脚, SOIC
Microchip(微芯)
ATTINY24A-MU 托盘
ATMEL(爱特美尔)
8 位 tinyAVR® 微控制器,AtmelAtmel 的 tinyAVR® 设备经优化处理,适用于需要性能、电源效率、易于使用且采用小型封装的应用。体积小巧,适用于注重尺寸的应用 电容式触摸 快速,且代码高效 高集成 1.8V 至 5.5V 工作 (ATtiny43U) ### AVR 微控制器,Atmel
ATMEL(爱特美尔)
ATMEL  ATTINY24-20PU  微控制器, 8位, 低功率高性能, ATtiny, 20 MHz, 2 KB, 128 Byte, 14 引脚, DIP
Microchip(微芯)
ATTINY24A-SSUR 编带
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件