|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Functions | |
| void * | memset_word_granular_access (void *buf, int c, size_t n) |
| Memset buffer in word granular access memory. | |
| void * | memcpy_to_word_granular_access (void *d, const void *s, size_t n) |
| Memcpy buffer into word granular access memory. | |
| void * | memcpy_from_word_granular_access (void *d, const void *s, size_t n) |
| Memcpy buffer out of word granular access memory. | |
| void * memcpy_from_word_granular_access | ( | void * | d, |
| const void * | s, | ||
| size_t | n ) |
#include <zephyr/sys/word_granular_access.h>
Memcpy buffer out of word granular access memory.
Memcpy used to copy buffer out of word granular access memory.
Note that if the start of the buffer being written to or read from is not word-aligned, or the length is not a multiple of the word size, bytes outside of the requested range may need to be read from or written to. The data in these bytes will remain unchanged.
| d | Destination buffer |
| s | Source buffer |
| n | Number of bytes to copy |
| void * memcpy_to_word_granular_access | ( | void * | d, |
| const void * | s, | ||
| size_t | n ) |
#include <zephyr/sys/word_granular_access.h>
Memcpy buffer into word granular access memory.
Memcpy used to copy buffer into word granular access memory.
Note that if the start of the buffer being written to or read from is not word-aligned, or the length is not a multiple of the word size, bytes outside of the requested range may need to be read from or written to. The data in these bytes will remain unchanged.
| d | Destination buffer |
| s | Source buffer |
| n | Number of bytes to copy |
| void * memset_word_granular_access | ( | void * | buf, |
| int | c, | ||
| size_t | n ) |
#include <zephyr/sys/word_granular_access.h>
Memset buffer in word granular access memory.
Memset buffer in word granular access memory.
Note that if the start of the buffer being written to is not word-aligned, or the length is not a multiple of the word size, bytes outside of the requested range may need to be written to. The data in these bytes will remain unchanged.
| buf | Buffer to memset |
| c | Value to set |
| n | Number of bytes to set |