| Electronic Components Datasheet Search |
|
AN247 Datasheet(PDF) 25 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
AN247 Datasheet(HTML) 25 Page - Microchip Technology |
|
25 / 32 page ![]() 2003 Microchip Technology Inc. DS00247A-page 25 AN247 _PMWriteLp1 movf POSTINC0, W ; Load the holding registers movwf TABLAT rcall _UpdateChksum ; Adjust the checksum tblwt*+ decfsz WREG1, F bra _PMWriteLp1 #ifdef MODE_SELF_VERIFY movlw 0x08 movwf WREG1 _PMWriteLp2 tblrd*- ; Point back into the block movf POSTDEC0, W decfsz WREG1, F bra _PMWriteLp2 movlw b'10000100' ; Setup writes rcall _StartWrite ; Write the data movlw 0x08 movwf WREG1 _PMReadBackLp1 tblrd*+ ; Test the data movf TABLAT, W xorwf POSTINC0, W btfss STATUS, Z bsf ERR_VERIFY decfsz WREG1, F bra _PMReadBackLp1 ; Not finished then repeat #else tblrd*- ; Point back into the block movlw b'10000100' ; Setup writes rcall _StartWrite ; Write the data tblrd*+ ; Return the pointer position #endif #ifdef ALLOW_GET_CMD bra _CANSendAck #else bra _CANMain #endif ; ***************************************************************************** |
|
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 |