công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

MPD78CP18KB bảng dữ liệu(PDF) 85 Page - NEC

tên linh kiện MPD78CP18KB
Giải thích chi tiết về linh kiện  8-BIT SINGLE-CHIP MICROCONTROLLER
PDF  373 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  NEC [NEC]
Trang chủ  http://www.nec.com/
Logo NEC - NEC

MPD78CP18KB bảng dữ liệu(HTML) 85 Page - NEC

Back Button MPD78CP18KB Datasheet HTML 81Page - NEC MPD78CP18KB Datasheet HTML 82Page - NEC MPD78CP18KB Datasheet HTML 83Page - NEC MPD78CP18KB Datasheet HTML 84Page - NEC MPD78CP18KB Datasheet HTML 85Page - NEC MPD78CP18KB Datasheet HTML 86Page - NEC MPD78CP18KB Datasheet HTML 87Page - NEC MPD78CP18KB Datasheet HTML 88Page - NEC MPD78CP18KB Datasheet HTML 89Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 85 / 373 page
background image
CHAPTER 4
PORT FUNCTIONS
67
(1) Port mode
Like port A, port C is an 8-bit input/output port with input/output buffer and output latch functions (see Figure
4-1). When port C is set to port mode by the mode control C register, it can be set bit-wise as an input or
output port by means of the mode C register (MC). When set to input port, the pins become high-impedance.
When the corresponding bit of the mode C register is set (1), a port C pin functions as an input port pin, and
when reset (0), as an output port pin (see Figure 4-7).
When RESET is input or the hardware STOP mode is set all bits of the mode C register are set and port C
functions as an input port (high-impedance).
Figure 4-7. Mode C Register Format
7
MC7
6
MC6
5
MC5
4
MC4
3
MC3
2
MC2
1
MC1
0
MC0
MC
7
PC7
6
PC6
5
PC5
4
PC4
3
PC3
2
PC2
1
PC1
0
PC0
PC
0
1
PCn = Output port
PCn = Input port
(n = 0 – 7)
As with port A, direct bit setting/resetting of port C output latch contents is possible by an arithmetic or logical
operation instruction without the use of an accumulator. Data transfer to /from an accumulator is also possible.
(2) Control signal input/output mode
Port C input/output pins (PC7 to PC0) can be used bit-wise as control signal inputs or outputs by setting (1)
the relevant bit of the mode control C register, regardless of the mode C register setting. When the PCn
pin is used for a control signal (MCCn=1), the control signal status is ascertained by execution of a port C
read instruction or test instruction.
(a) When PCn is control signal output
When MCn=1, the status of the PCn pin control signal can be read into an accumulator or tested by
executing a port C read instruction or test instruction.
When MCn=0, the internal control signal status can be read into an accumulator or tested by executing
a port C read instruction or test instruction (see Figure 4-8).



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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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