| 전자부품 데이터시트 검색엔진 |
|
HC705E5GRS/D 데이터시트(PDF) 90 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
HC705E5GRS/D 데이터시트(HTML) 90 Page - NXP Semiconductors |
|
90 / 148 page ![]() Motorola Bus (M Bus) Interface General Release Specification MC68HC705E5 — Rev. 1.0 Motorola Bus (M Bus) Interface 11.8.3 Software Responses after Transmission or Reception of a Byte Transmission or reception of a byte will set the data transferring bit (MCF) to a logic 1, which indicates one byte of communication is finished. Also, the M-bus interrupt bit (MIF) is set to generate an M-bus interrupt if the interrupt function is enabled during initialization. Software must clear the MIF bit in the interrupt routine first. The MCF bit will be cleared by reading from the M-bus data I/O register (MDR) in receive mode or writing to MDR in transmit mode. Software may serve the M-bus I/O in the main program by monitoring the MIF bit if the interrupt function is disabled. The following is an example of a software response by a master transmitter in the interrupt routine. See Figure 11-9. ISR BCLR 1,MSR ; CLEAR THE MIF FLAG BRCLR 5,MCR,SLAVE ; CHECK THE MSTA FLAG, ; BRANCH IF SLAVE MODE BRCLR 4,MCR,RECEIVE ; CHECK THE MODE FLAG, ; BRANCH IF IN RECEIVE MODE BRSET 0,MSR,END ; CHECK ACK FROM RECEIVER ; IF NO ACK, END OF ; TRANSMISSION TRANSMIT LDA DATABUF ; GET THE NEXT BYTE OF DATA STA MDR ; TRANSMIT THE DATA Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |