參數(shù)資料
型號: MT80C51T-16D
廠商: ATMEL CORP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP44
封裝: 1 MM HEIGHT, QFP-44
文件頁數(shù): 108/170頁
文件大小: 4133K
代理商: MT80C51T-16D
42
ATtiny4/5/9/10 [DATASHEET]
8127F–AVR–02/2013
If PORTxn is written logic one when the pin is configured as an output pin, the port pin is driven high (one). If
PORTxn is written logic zero when the pin is configured as an output pin, the port pin is driven low (zero).
The pull-up resistor is activated, if the PUExn is written logic one. To switch the pull-up resistor off, PUExn has to
be written logic zero.
Table 10-1 summarizes the control signals for the pin value.
Port pins are tri-stated when a reset condition becomes active, even when no clocks are running.
10.2.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.2.3
Break-Before-Make Switching
In Break-Before-Make mode, switching the DDRxn bit from input to output introduces an immediate tri-state period
lasting one system clock cycle, as indicated in Figure 10-3. For example, if the system clock is 4 MHz and the
DDRxn is written to make an output, an immediate tri-state period of 250 ns is introduced before the value of
PORTxn is seen on the port pin.
To avoid glitches it is recommended that the maximum DDRxn toggle frequency is two system clock cycles. The
Break-Before-Make mode applies to the entire port and it is activated by the BBMx bit. For more details, see
When switching the DDRxn bit from output to input no immediate tri-state period is introduced.
Table 10-1.
Port Pin Configurations
DDxn
PORTxn
PUExn
I/O
Pull-up
Comment
0X
0
Input
No
Tri-state (hi-Z)
0X
1
Input
Yes
Sources current if pulled low externally
10
0
Output
No
Output low (sink)
10
1
Output
Yes
NOT RECOMMENDED.
Output low (sink) and internal pull-up active.
Sources current through the internal pull-up
resistor and consumes power constantly
11
0
Output
No
Output high (source)
11
1
Output
Yes
Output high (source) and internal pull-up active
相關(guān)PDF資料
PDF描述
MF280C51T-36R 8-BIT, MROM, 36 MHz, MICROCONTROLLER, PQFP44
MF280C51-36D 8-BIT, MROM, 36 MHz, MICROCONTROLLER, PQFP44
MF180C51T-12D 8-BIT, MROM, 12 MHz, MICROCONTROLLER, PQFP44
MV80C51C-20R 8-BIT, MROM, 20 MHz, MICROCONTROLLER, PQFP44
MV80C51T-30R 8-BIT, MROM, 30 MHz, MICROCONTROLLER, PQFP44
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MT80GB 制造商:Datak Corporation 功能描述:
MT80JSF1G72NDY-1G1F1A2 制造商:Micron Technology Inc 功能描述:8GB 1GX72 DDR3 SDRAM MODULE PBF DIMM 1.5V REGISTERED - Trays
MT80KSF1G72NDY-1G4F1A3 制造商:Micron Technology Inc 功能描述:8GB 1GX72 DDR3 SDRAM MODULE PBF DIMM 1.35V FULLY BUFFERED - Trays
MT810 制造商:MARKTECH 制造商全稱:Marktech Corporate 功能描述:STANDARD T-1 3/4 LED LAMPS
MT-8100 制造商:Eclipse Tools 功能描述: