欧美成人免费电影,国产欧美一区二区三区精品酒店,精品国产a毛片,色网在线免费观看

參數資料
型號: ADUC845
廠商: Analog Devices, Inc.
元件分類: ADC
英文描述: MicroConverter Multichannel 24-/16-Bit ADCs with Embedded 62 kB Flash and Single-Cycle MCU
中文描述: MicroConverter的多通道ADC的24-/16-Bit與嵌入式62 kB閃存以及單周期控制器
文件頁數: 74/108頁
文件大?。?/td> 1109K
代理商: ADUC845
ADuC845/ADuC847/ADuC848
P2.5 and P2.6 can also be used as PWM outputs, while P2.7 can
act as an alternate PWM clock source. When selected as the
PWM outputs, they overwrite anything written to P2.5 or P2.6.
Table 47. Port 2 Alternate Functions
Pin No.
Alternate Function
P2.0
SCLOCK for SPI
P2.1
MOSI for SPI
P2.2
MISO for SPI
P2.3
SS and T2 clock input
P2.4
T2EX alternate control for T2
P2.5
PWM0 output
P2.6
PWM1 output
P2.7
PWMCLK
Rev. A | Page 74 of 108
CONTROL
READ
LATCH
INTERNAL
BUS
WRITE
TO LATCH
READ
PIN
D
CL
LATCH
Q
DV
DD
ADDR
P2.x
PIN
DV
DD
INTERNAL
PULL-UP
Q
0
Figure 50. Port 2 Bit Latch and I/O Buffer
Port 3
Port 3 is a bidirectional port with internal pull-ups directly
controlled via the P3 SFR (B0H). Port 3 pins that have 1s
written to them are pulled high by the internal pull-ups and, in
that state, can be used as inputs. As inputs, Port 3 pins pulled
externally low source current because of the internal pull-ups.
Port 3 pins with 0s written to them drive a logic low output
voltage (V
OL
) and are capable of sinking 4 mA. Port 3 pins also
have various secondary functions as described in Table 48. The
alternate functions of Port 3 pins can be activated only if the
corresponding bit latch in the P3 SFR contains a 1. Otherwise,
the port pin remains at 0.
Table 48. Port 3 Alternate Functions
Pin No.
Alternate Function
P3.0
RxD (UART input pin, or serial data I/O in Mode 0)
P3.1
TxD (UART output pin, or serial clock output in Mode 0)
P3.2
INT0 (External Interrupt 0)
P3.3
INT1 (External Interrupt 1)
P3.4
T0 (Timer/Counter 0 external input)
P3.5
T1 (Timer/Counter 1 external input)
P3.6
WR (external data memory write strobe)
P3.7
RD (external data memory read strobe)
READ
LATCH
INTERNAL
BUS
WRITE
TO LATCH
READ
PIN
D
CL
LATCH
Q
DV
DD
P3.x
PIN
INTERNAL
PULL-UP
ALTERNATE
OUTPUT
FUNCTION
ALTERNATE
INPUT
FUNCTION
Q
0
Figure 51. Port 3 Bit Latch and I/O Buffer
Read-Modify-Write Instructions
Some 8051 instructions read the latch while others read the pin.
The instructions that read the latch rather than the pins are the
ones that read a value, possibly change it, and rewrite it to the
latch. These are called read-modify-write instructions, which
are listed in Table 49. When the destination operand is a port or
a port bit, these instructions read the latch rather than the pin.
Table 49. Read-Modify-Write Instructions
Instruction
Description
ANL
Logical AND, for example, ANL P1, A
ORL
Logical OR, for example, ORL P2, A
XRL
Logical EX-OR, for example, XRL P3, A
JBC
Jump if Bit = 1 and clear bit, for example, JBC
P1.1, LABEL
CPL
Complement bit, for example, CPL P3.0
INC
Increment, for example, INC P2
DEC
Decrement, for example, DEC P2
DJNZ
Decrement and jump if not zero, for example,
DJNZ P3, LABEL
MOV PX.Y, C
1
Move Carry to Bit Y of Port X
CLR PX.Y
1
Clear Bit Y of Port X
SETB PX.Y
1
Set Bit Y of Port X
___________________________________________
1
These instructions read the port byte (all 8 bits), modify the addressed bit,
and write the new byte back to the latch.
Read-modify-write instructions are directed to the latch rather
than to the pin to avoid a possible misinterpretation of the
voltage level of a pin. For example, a port pin might be used to
drive the base of a transistor. When 1 is written to the bit, the
transistor is turned on. If the CPU reads the same port bit at the
pin rather than the latch, it reads the base voltage of the
transistor and interprets it as Logic 0. Reading the latch rather
than the pin returns the correct value of 1.
相關PDF資料
PDF描述
ADUC845BCP8-3 MicroConverter Multichannel 24-/16-Bit ADCs with Embedded 62 kB Flash and Single-Cycle MCU
ADUC847BCP8-3 MicroConverter Multichannel 24-/16-Bit ADCs with Embedded 62 kB Flash and Single-Cycle MCU
ADUC845BCP8-5 MicroConverter Multichannel 24-/16-Bit ADCs with Embedded 62 kB Flash and Single-Cycle MCU
ADUC847BCP8-5 MicroConverter Multichannel 24-/16-Bit ADCs with Embedded 62 kB Flash and Single-Cycle MCU
ADUC845BCP62-3 MicroConverter Multichannel 24-/16-Bit ADCs with Embedded 62 kB Flash and Single-Cycle MCU
相關代理商/技術參數
參數描述
ADUC845_12 制造商:AD 制造商全稱:Analog Devices 功能描述:MicroConverter?? Multichannel 24-/16-Bit ADCs with Embedded 62 kB Flash and Single-Cycle MCU
ADUC845BCP32-3 制造商:Analog Devices 功能描述:10 CHANNEL 24 BIT DUAL ADC + FAST 8BIT UP - Trays
ADUC845BCP32-5 制造商:Analog Devices 功能描述:10 CHANNEL 24 BIT DUAL ADC + FAST 8BIT UP - Trays
ADUC845BCP62-3 制造商:Analog Devices 功能描述:MCU 8-bit ADuC8xx 8052 CISC 62KB Flash 3.3V/5V 56-Pin LFCSP EP
ADUC845BCP62-5 制造商:AD 制造商全稱:Analog Devices 功能描述:MicroConverter Multichannel 24-/16-Bit ADCs with Embedded 62 kB Flash and Single-Cycle MCU
主站蜘蛛池模板: 湖州市| 乐安县| 襄樊市| 赤峰市| 大厂| 皋兰县| 太保市| 建平县| 贡山| 铜梁县| 禄丰县| 咸宁市| 伊金霍洛旗| 汉源县| 东宁县| 乃东县| 庐江县| 乌兰察布市| 兴城市| 明光市| 巴塘县| 海门市| 竹山县| 花莲市| 交口县| 三亚市| 哈巴河县| 安图县| 宁安市| 甘南县| 磐安县| 郎溪县| 阿尔山市| 湖州市| 固安县| 宕昌县| 黄平县| 株洲市| 巨鹿县| 墨竹工卡县| 尼勒克县|