| Moteur de recherche de fiches techniques de composants électroniques |
|
HC705E5GRS/D Fiches technique(PDF) 90 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
HC705E5GRS/D Fiches technique(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 |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants 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 |