| Electronic Components Datasheet Search |
|
EB632 Datasheet(PDF) 103 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
EB632 Datasheet(HTML) 103 Page - Freescale Semiconductor, Inc |
|
103 / 112 page ![]() Bootloader Program Functional Differences Between MSC8101 (Mask 2K42A) and MSC8103 (Mask 2K87M), Rev. 2 Freescale Semiconductor 103 move.b r1,(r6+I2CMR);Disable All Interrupt move.b r1,(r6+I2BRG) ;I2BRG[DIV]=6 move.b r1,(r6+I2COM) ;I2COM[M/s]=1 ( Master mode ) move.w #$0017,r1 move.b r1,(r6+I2CER) ;Clear all previous events ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Reload saved registers values from the backup area of DP ram ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; move.l d9,r7 nop move.l (r7+SCCRB),r1 nop move.l r1,(r6+SCCR) move.l (r7+PODRBB),r1 nop move.l r1,(r6+PODRB) move.l (r7+PSORBB),r1 nop move.l r1,(r6+PSORB) move.l (r7+PPARBB),r1 nop move.l r1,(r6+PPARB) move.l (r7+PDIRBB),r1 nop move.l r1,(r6+PDIRB) jmp end_ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; END OF MAIN CODE FLOW ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; calc_cs ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Calculate checksum ;For this we will use the follow register ; d1 : Calculated CS ; d6 : words Count ; r1 : Adddress of word to be read ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; move r5,d6 nop ;due to restriction 6.4.4.a.2 add d4,d6,d6;d6<-First RX Buffer Pointer nop ;due to restriction 6.4.4.a.2 move.l d6,r1 ;r1 receive the address of first word move.l (r4),d1 ;start xor with getting 1'st 2 words of block move.l (r4+4),d6 ;get 2'nd 2 words eor d6,d1 ;xor with previous value |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |