AT90S1200 ATMEL Corporation, AT90S1200 Datasheet - Page 30

no-image

AT90S1200

Manufacturer Part Number
AT90S1200
Description
8-Bit Microcontroller with 1K bytes In-System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT90S1200
Manufacturer:
TI
Quantity:
146
Part Number:
AT90S1200-12PC
Manufacturer:
ATM
Quantity:
5 530
Part Number:
AT90S1200-12PC
Manufacturer:
ATM
Quantity:
5 120
Part Number:
AT90S1200-12PC
Manufacturer:
ATMEL
Quantity:
1 765
Part Number:
AT90S1200-12PI
Manufacturer:
ATM
Quantity:
3 000
Part Number:
AT90S1200-12PI
Manufacturer:
ATM
Quantity:
3 000
Part Number:
AT90S1200-12PI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT90S1200-12S
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT90S1200-12SC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT90S1200-12YC
Manufacturer:
AT
Quantity:
20 000
Part Number:
AT90S1200-12YI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Port B as General Digital I/O
Alternate Functions of Port B
30
AT90S1200
All eight 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) and the pin is configured as an
input pin, the MOS pull-up resistor is activated. To switch the pull-up resistor off,
PORTBn has to be cleared (zero) or the pin has to be configured as an output pin. The
Port B pins are tri-stated when a reset condition becomes active, even if the clock is not
active.
Table 9. DDBn Effect on Port B Pins
Note:
The alternate pin functions of Port B are:
• SCK – Port B, Bit 7
SCK, Clock Input pin for memory up/downloading.
• MISO – Port B, Bit 6
MISO, Data Output pin for memory uploading.
• MOSI – Port B, Bit 5
MOSI, Data Input pin for memory downloading.
• AIN1 – Port B, Bit 1
AIN1, Analog Comparator Negative Input. When configured as an input (DDB1 is
cleared [zero]) and with the internal MOS pull-up resistor switched off (PB1 is cleared
[zero]), this pin also serves as the negative input of the On-chip Analog Comparator.
• AIN0 – Port B, Bit 0
AIN0, Analog Comparator Positive Input. When configured as an input (DDB0 is cleared
[zero]) and with the internal MOS pull-up resistor switched off (PB0 is cleared [zero]),
this pin also serves as the positive input of the On-chip Analog Comparator.
DDBn
0
0
1
1
n: 7,6...0, pin number.
PORTBn
0
1
0
1
Output
Output
Input
Input
I/O
Pull-up
Yes
No
No
No
Push-pull Zero Output
Comment
Tri-state (High-Z)
PBn will source current if ext. pulled low.
Push-pull One Output
0838H–AVR–03/02

Related parts for AT90S1200