![]() |
MAX32650 Peripheral Driver API
Peripheral Driver API for the MAX32650
|
Functions | |
| void | memcpy32 (uint32_t *dst, uint32_t *src, unsigned int len) |
| int | memcmp32 (uint32_t *dst, uint32_t *src, unsigned int len) |
| int memcmp32 | ( | uint32_t * | dst, |
| uint32_t * | src, | ||
| unsigned int | len | ||
| ) |
Compares the first len bytes of src and dst and returns E_NO_ERROR if they match.
| dst | Destination address | |
| src | Source address | |
| [in] | len | Number of bytes to compare between the src and dst. |
len should be a multiple of 4 and any bytes beyond a multiple of 4 are ignored. For example, the following call to memcmp32() only compares the first 8 bytes (2 32-bit words) of dst and src and would return 0 indicating the memory is the same. | E_NO_ERROR | Contents of src and dst are equal |
| E_INVALID | Memory is not equal |
| void memcpy32 | ( | uint32_t * | dst, |
| uint32_t * | src, | ||
| unsigned int | len | ||
| ) |
32-bit wide memory copy.
| dst | Pointer to the destination location | |
| src | Pointer to the source location | |
| [in] | len | Number of bytes to copy which must be a multiple of 4. |