전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

SM5K3 데이터시트(PDF) 21 Page - Sharp Corporation

부품명 SM5K3
상세설명  4-Bit Single-Chip Microcomputers(Controllers With 10-Bit A/D Converter)
PDF  28 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  SHARP [Sharp Corporation]
홈페이지  http://sharp-world.com/
Logo SHARP - Sharp Corporation

SM5K3 데이터시트(HTML) 21 Page - Sharp Corporation

Back Button SM5K3 Datasheet HTML 17Page - Sharp Corporation SM5K3 Datasheet HTML 18Page - Sharp Corporation SM5K3 Datasheet HTML 19Page - Sharp Corporation SM5K3 Datasheet HTML 20Page - Sharp Corporation SM5K3 Datasheet HTML 21Page - Sharp Corporation SM5K3 Datasheet HTML 22Page - Sharp Corporation SM5K3 Datasheet HTML 23Page - Sharp Corporation SM5K3 Datasheet HTML 24Page - Sharp Corporation SM5K3 Datasheet HTML 25Page - Sharp Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 28 page
background image
SM5K3/SM5K4/SM5K5
- 21 -
I/O Ports
The SM5K3/5K4/5K5 have 24 ports : 8-input, 4-
output and 12-I/O port. To verify the input, use
suitable instruction to transfer the input on the pin
directly to the A register. To select the output latch
register to which the content of the A register is to
be transferred, and to select the input port from
which the signal or data is to be transferred to the
A register, use the BL register. For details of BL
settings and associated ports, refer to Table 1.
• Port P00 to P03 (CMOS inverting output port)
The data transfers in 4-bit string (use OUT or
OUTL instruction) or in unit of 1-bit (use ANP or
ORP instruction).
• Port P10 to P13 (input port with pull-up resistor)
The data transfers in unit of 4-bit. This port can be
used as standby/external interrupt input or count
pulse input. The P1 port can also be used as a
standby release port without requiring specific
setting on P12 and P13 pins. Pins P10 and P11
require settings through the mode resister RE.
When using the P1 port as an external interrupt
input, use pins P10 and P11 with suitable settings in
the mode register RE. When using the P1 port as
the count pulse input, use P11 pin.
• Port P20 to P23 (I/O port with pull-up resistor)
Each bit can be independently be set its direction
and can be transferred independently or in
combination of other 3-bit. The direction of the bits
is determined by the RF register. After reset, the
P2 port is set input.
• Port P30 to P33 (input port with pull-up resistor)
The data transfers in unit of 4-bit. The port can also
be used as A/D analog voltage input. To use the P3
port as the A/D port, set the mode register R3.
• Port P40 to P43 (I/O port with pull-up resistor)
The data transfers in unit of 4-bit.
When set output, content of each bit can be set.
Executing the input instruction (IN) sets the P4
ports (P40 to P43) to input; and executing output
instruction (OUT, ANP or ORP) sets the port to
output. After reset, the P4 port is set input.
• Port P50 to P53 (I/O port with pull-up resistor)
The data transfers in unit of 4-bit.
When set output, content of each bit can be set.
Executing the input instruction (IN) sets the P5
ports (P50 to P53) to input; and executing output
instruction (OUT, ANP or ORP) sets the port to
output. After reset, the P5 port is set input.
Flags
The SM5K3/5K4/5K5 have 4 flags (C flag and
interrupt request flags [IFA, IFB, IFT] ), which are
used to perform setting and judgments.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com