| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
MPD78CP14KB bảng dữ liệu(PDF) 85 Page - NEC |
|
|
|||||||||||||||||||||||||||||
MPD78CP14KB bảng dữ liệu(HTML) 85 Page - NEC |
|
85 / 373 page ![]() 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). |
|
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 |
| 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 |