• AVR Freaks

_memcpy_p2d24(void *dest, _prog_addressT src, unsigned int len) LEN ?

Author
imk
Junior Member
  • Total Posts : 95
  • Reward points : 0
  • Joined: 2007/01/05 16:41:49
  • Location: UK (North West)
  • Status: offline
2010/11/04 09:24:12 (permalink)
0

_memcpy_p2d24(void *dest, _prog_addressT src, unsigned int len) LEN ?

Hello,
 
Any one any idea what the _memcpy_p2d24 function len unit is?
is len in bytes or words16, words24 , instruction?
 
Thanks IMK
#1

3 Replies Related Threads

    MikeWazowski
    New Member
    • Total Posts : 19
    • Reward points : 0
    • Joined: 2010/08/13 14:07:33
    • Location: 0
    • Status: offline
    Re:_memcpy_p2d24(void *dest, _prog_addressT src, unsigned int len) LEN ? 2010/11/04 10:46:20 (permalink)
    0
    From my understanding, this is how it works

    for _memcpy_p2d24, len is in reference to 24 bits 
    and  for _memcpy_p2d16 len is in reference to 16 bits
    #2
    aschen0866
    Super Member
    • Total Posts : 4482
    • Reward points : 0
    • Joined: 2006/01/08 22:18:32
    • Location: San Diego
    • Status: offline
    Re:_memcpy_p2d24(void *dest, _prog_addressT src, unsigned int len) LEN ? 2010/11/04 11:07:02 (permalink)
    0
    imk

    Hello,
     
    Any one any idea what the _memcpy_p2d24 function len unit is?
    is len in bytes or words16, words24 , instruction?
     
     
    The 'len' is in bytes. The object that _memcpy_p2d24 reads would have to be defined in assembly in order to use the upper byte. Here is an example.


    #3
    imk
    Junior Member
    • Total Posts : 95
    • Reward points : 0
    • Joined: 2007/01/05 16:41:49
    • Location: UK (North West)
    • Status: offline
    Re:_memcpy_p2d24(void *dest, _prog_addressT src, unsigned int len) LEN ? 2010/11/04 15:51:43 (permalink)
    0
    aschen0866

    imk

    Hello,

    Any one any idea what the _memcpy_p2d24 function len unit is?
    is len in bytes or words16, words24 , instruction?

     
    The 'len' is in bytes. The object that _memcpy_p2d24 reads would have to be defined in assembly in order to use the upper byte. Here is an example.

     
    aschen0866 many thanks for the reply.
    I had to pop out for a few hours and had time to test it as bytes and it seem to be correct..
    So many thanks for the input IMK

    #4
    Jump to:
    © 2019 APG vNext Commercial Version 4.5