參數(shù)資料
型號: Tiny12
廠商: Atmel Corp.
英文描述: 8-bit AVR Microcontroller with 1K Byte Flash
中文描述: 8位AVR微控制器,帶有1K字節(jié)閃存
文件頁數(shù): 44/91頁
文件大?。?/td> 1137K
代理商: TINY12
44
ATtiny11/12
1006D–AVR–07/03
Port B Data Register – PORTB
Port B Data Direction Register
– DDRB
Note:
DDB5 is only available in ATtiny12.
Port B Input Pins Address –
PINB
The Port B Input Pins address – PINB – is not a register, and this address enables
access to the physical value on each Port B pin. When reading PORTB, the Port B Data
Latch is read, and when reading PINB, the logical values present on the pins are read.
Port B as General Digital I/O
The lowermost five pins in port B have equal functionality when used as digital I/O pins.
PBn, General I/O pin: The DDBn bit in the DDRB register selects the direction of this
pin, if DDBn is set (one), PBn is configured as an output pin. If DDBn is cleared (zero),
PBn is configured as an input pin. If PORTBn is set (one) when the pin is configured as
an input pin, the MOS pull-up resistor is activated. On ATtiny12 this feature can be dis-
abled by setting the Pull-up Disable (PUD) bit in the MCUCR register. To switch the pull-
up resistor off, the PORTBn can be cleared (zero), the pin can be configured as an out-
put pin, or in ATtiny12, the PUD bit can be set. The port pins are tri-stated when a reset
condition becomes active, even if the clock is not running.
n: 4,3…0, pin number.
Note that in ATtiny11, PB5 is input only. On ATtiny12, PB5 is input or open-drain output.
Because this pin is used for 12V programming, there is no ESD protection diode limiting
the voltage on the pin to V
CC
+ 0.5V. Thus, special care should be taken to ensure that
the voltage on this pin does not rise above V
CC
+ 1V during normal operation. This may
cause the MCU to reset or enter programming mode unintentionally.
Bit
7
6
5
4
3
2
1
0
$18
-
-
-
PORTB4
PORTB3
PORTB2
PORTB1
PORTB0
PORTB
Read/Write
R
R
R
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
$17
-
-
(DDB5)
DDB4
DDB3
DDB2
DDB1
DDB0
DDRB
Read/Write
R
R
R(/W)
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
$16
-
-
PINB5
PINB4
PINB3
PINB2
PINB1
PINB0
PINB
Read/Write
R
R
R
R
R
R
R
R
Initial Value
0
0
N/A
N/A
N/A
N/A
N/A
N/A
Table 20.
DDBn Effects on Port B Pins
DDBn
PORTBn
I/O
Pull-up
Comment
0
0
Input
No
Tri-state (Hi-Z)
0
1
Input
Yes
PBn will source current if ext. pulled low. In ATtiny12
pull-ups can be disabled by setting the PUD bit.
1
0
Output
No
Push-pull Zero Output
1
1
Output
No
Push-pull One Output
相關(guān)PDF資料
PDF描述
TIP140 Complemetary Silicon Power Darlington Transistors(互補硅功率達林頓晶體管)
TIP142F TO-3P Fully Isolated Plastic Package Transistor CDIL
TIP145F TO-3P Fully Isolated Plastic Package Transistor CDIL
TIP140F TO-3P Fully Isolated Plastic Package Transistor CDIL
TIP141F TO-3P Fully Isolated Plastic Package Transistor CDIL
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
TINY88-15MZ 功能描述:8位微控制器 -MCU 8KB FLASH 12MHz AUTO RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
TINY-BWA 制造商:HCC Embedded 功能描述:TINY FILE SYSTEM FOR BYTE WRITABLE ARRAYS - Virtual or Non-Physical Inventory (Software & Literature)
TINY-RAM 制造商:HCC Embedded 功能描述:TINY FILE SYSTEM FOR RAM - Virtual or Non-Physical Inventory (Software & Literature)
TIOL1113DMWT 功能描述:IO LINK 制造商:texas instruments 系列:- 包裝:剪切帶(CT) 零件狀態(tài):在售 類型:收發(fā)器 協(xié)議:I/O 鏈路 驅(qū)動器/接收器數(shù):1/1 雙工:- 接收器滯后:750mV 數(shù)據(jù)速率:250kbps 電壓 - 電源:7 V ~ 36 V 工作溫度:-40°C ~ 125°C 安裝類型:表面貼裝 封裝/外殼:10-VFDFN 裸露焊盤 供應(yīng)商器件封裝:10-VSON(3x2.5) 標準包裝:1
TIOL1115DMWT 功能描述:IO-LINK DEVICE TRANSCEIVERS WITH 制造商:texas instruments 系列:- 包裝:剪切帶(CT) 零件狀態(tài):在售 類型:收發(fā)器 協(xié)議:I/O 鏈路 驅(qū)動器/接收器數(shù):1/1 雙工:- 接收器滯后:750mV 數(shù)據(jù)速率:250kbps 電壓 - 電源:7 V ~ 36 V 工作溫度:-40°C ~ 125°C 安裝類型:表面貼裝 封裝/外殼:10-VFDFN 裸露焊盤 供應(yīng)商器件封裝:10-VSON(3x2.5) 標準包裝:1