| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
MPD78CP18KB bảng dữ liệu(PDF) 149 Page - NEC |
|
|
|||||||||||||||||||||||||||||
MPD78CP18KB bảng dữ liệu(HTML) 149 Page - NEC |
|
149 / 373 page ![]() CHAPTER 7 SERIAL INTERFACE FUNCTIONS 131 The initialization program is shown below. ;*****SERIAL INTERFACE INITIALIZATION******* SINIT : MVI SMH, 00H ; Internal serial clock (TO) MVI A, 0FEH ; × 16, even parity, 8 bit character, 2 stop bit <a> MOV SML, A ; Set serial mode MVI A, 83H ; MOV TM0, A ; Set timer register MVI A, 02H ; Baud rate 110 bps <b> MOV TM1, A ; MVI TMM, 61H ; Set timer mode & start MVI A, 07H ; Set port C mode control MOV MCC, A ; TxD, RxD, SCK available ORI PC, 80H ; PC7 output latch-1 <c> MVI A, 00H ; Initialize port C MOV MC, A ; Port C output mode ORI SMH, 04H ; Transmit enable <d> (2) µPD78C18 data transmission The following example shows a subroutine which performs on-byte transmission of the accumulator (A) contents as serial data. In this example operation by means of an interrupt (INTST) is not used, and serial data transmission is performed by testing the interrupt request flag (INTFST). The operation flow is shown below. TRNS TXB ← A < a > < b > RET INTFST = 1 ? N Y |
|
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 |