參數(shù)資料
型號: AT43USB351M-AC
廠商: ATMEL CORP
元件分類: 微控制器/微處理器
英文描述: Full-speed/Low-speed USB Microcontroller with ADC and PWM
中文描述: 8-BIT, MROM, 24 MHz, RISC MICROCONTROLLER, PQFP48
封裝: 7 X 7 MM, 1.40 MM HEIGHT, 0.50 MM PITCH, PLASTIC, MS-026BBC, LQFP-48
文件頁數(shù): 68/101頁
文件大?。?/td> 624K
代理商: AT43USB351M-AC
68
AT43USB351M
3302E–USB–7/04
Port B Data Register – PORTB
Port B Data Direction Register – DDRB
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.
PortB as General
Digital I/O
All 8 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 con-figured as an output pin. If DDBn is cleared (zero), PBn is con-
figured 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. To switch the pull-up resistor off, the PORTBn has to be
cleared (zero) or the pin has to 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.
Note:
n: 7, 6...0, pin number.
Bit
7
6
5
4
3
2
1
0
$18 ($38)
PORTB7
PORTB6
PORTB5
PORTB4
PORTB3
PORTB2
PORTB1
PORTB0
PORTB
Read/Write
R/W
R/W
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
$17 ($37)
DDB7
DDB6
DDB5
DDB4
DDB3
DDB2
DDB1
DDB0
DDRB
Read/Write
R/W
R/W
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 ($36)
PINB7
PINB6
PINB5
PINB4
PINB3
PINB2
PINB1
PINB0
PINB
Read/Write
R
R
R
R
R
R
R
R
Initial Value
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Table 27.
DDBn Effects on Port B Pins
DDBn
PORTBn
I/O
Comment
0
0
Input
Tri-state (Hi-Z)
0
1
Input
PBn will source current if ext. pulled low.
1
0
Output
Push-Pull Zero Output
1
1
Output
Push-Pull One Output
相關PDF資料
PDF描述
AT43USB353M-AC Low Cost Full-speed USB Microcontroller with Embedded Hub, ADC and PWM
AT43USB355E-AC Full-speed USB Microcontroller with Embedded Hub, ADC and PWM
AT43USB355E-AU Full-speed USB Microcontroller with Embedded Hub, ADC and PWM
AT43USB355M-AC Full-speed USB Microcontroller with Embedded Hub, ADC and PWM
AT43USB355M-AU Full-speed USB Microcontroller with Embedded Hub, ADC and PWM
相關代理商/技術參數(shù)
參數(shù)描述
AT43USB353M 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Missed Watchdog Timer Reset
AT43USB353M_03 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Low Cost USB Microcontroller with Hub, ADC and PWM
AT43USB353M_04 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Low Cost Full-speed USB Microcontroller with Embedded Hub, ADC and PWM
AT43USB353M-AC 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Low Cost Full-speed USB Microcontroller with Embedded Hub, ADC and PWM
AT43USB355 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Missed Watchdog Timer Reset