參數(shù)資料
型號(hào): SX28
廠商: Electronic Theatre Controls, Inc.
英文描述: Configurable Communications Controllers with EE/Flash Program Memory, In-System Programming Capability and On-Chip Debug
中文描述: 配置通信控制器與電子工程/閃存程序存儲(chǔ)器,在系統(tǒng)編程能力和片上調(diào)試
文件頁(yè)數(shù): 8/52頁(yè)
文件大?。?/td> 688K
代理商: SX28
2000 Scenix Semiconductor, Inc. All rights reserved.
- 8 -
www.scenix.com
SX18AC/SX20AC/SX28AC/SX18AC75/SX20AC75/SX28AC75
For example, suppose all four Port A pins are configured
as outputs and with RA0 and RA1 to be high, and RA2
and RA3 to be low:
The second “mov” instruction in this example writes the
Port A data register (RA), which controls the output levels
of the four Port A pins, RA0 through RA3. Because Port
A has only four I/O pins, only the four least significant bits
of this register are used. The four high-order register bits
are “don’t care” bits. Port B and Port C are both eight bits
wide, so the full widths of the RB and RC registers are
used.
When a write is performed to a bit position for a port that
has been configured as an input, a write to the port data
register is still performed, but it has no immediate effect
on the pin. If later that pin is configured to operate as an
output, it will reflect the value that has been written to the
data register.
When a read is performed from a bit position for a port,
the operation is actually reading the voltage level on the
pin itself, not necessarily the bit value stored in the port
data register. This is true whether the pin is configured to
operate as an input or an output. Therefore, with the pin
configured to operate as an input, the data register con-
tents have no effect on the value that you read. With the
pin configured to operate as an output, what is read gen-
erally matches what has been written to the register.
Figure 3-2. Port B, Port C Configuration
MODE
RB or RC
Direction
PLP_B or PLP_C
0 = Pullup Enable
1 = Pullup Disable
LVL_B or LVL_C
0 = CMOS
1 = TTL
0 = Output
1 = Hi-Z Input
WR
WR
RD
Port B: Input, MIWU, Comparator
Port C: Input Only
V
dd
Pullup Resistor
(
~
20k
)
Port B or
Port C PIN
I
M
U
X
M
M
M
M
WR
ST_B or ST_C
WR
0 = Schmitt Trigger Enable
1 = Schmitt Trigger Disable
TTL Buffer
CMOS Buffer
M
U
X
Schmitt Trigger Buffer
RB or RC
Data
WR
~
mov
W,#$03
;load W with the value 03h
;(bits 0 and 1 high)
;write 03h to Port A data
;register
mov
$05,W
相關(guān)PDF資料
PDF描述
SX28AC Configurable Communications Controllers with EE/Flash Program Memory, In-System Programming Capability and On-Chip Debug
SX18AC75 Configurable Communications Controllers with EE/Flash Program Memory, In-System Programming Capability and On-Chip Debug
SX48BD Configurable Communications Controllers with EE/Flash Program Memory, In-System Programming Capability, and On-Chip Debug
SX52BD Configurable Communications Controllers with EE/Flash Program Memory, In-System Programming Capability, and On-Chip Debug
SX493 Photomicrosensor
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
SX2800 制造商:Samson Technologies 功能描述:900W SX Series Rack Mount Stereo Amplifier
SX282 制造商:Mallory Sonalert Products Inc 功能描述:Cap Film 0.0082uF 500V PS 5% (15 X 22mm) Axial 70°C
SX28AA100-I/DP 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:Configurable Communications Controllers with EE/Flash Program Memory, In-System Programming Capability and On-Chip Debug
SX28AA100-I/PQ 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:Configurable Communications Controllers with EE/Flash Program Memory, In-System Programming Capability and On-Chip Debug
SX28AA100-I/SO 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:Configurable Communications Controllers with EE/Flash Program Memory, In-System Programming Capability and On-Chip Debug