NimBLE-Arduino 2.1.2
|
Interface to platform-dependent run-time operations. More...
Go to the source code of this file.
Functions | |
unsigned int | _copy (uint8_t *to, unsigned int to_len, const uint8_t *from, unsigned int from_len) |
Copy the the buffer 'from' to the buffer 'to'. | |
void | _set (void *to, uint8_t val, unsigned int len) |
Set the value 'val' into the buffer 'to', 'len' times. | |
Interface to platform-dependent run-time operations.
unsigned int _copy | ( | uint8_t * | to, |
unsigned int | to_len, | ||
const uint8_t * | from, | ||
unsigned int | from_len | ||
) |
Copy the the buffer 'from' to the buffer 'to'.
to | OUT – destination buffer |
to_len | IN – length of destination buffer |
from | IN – origin buffer |
from_len | IN – length of origin buffer |
void _set | ( | void * | to, |
uint8_t | val, | ||
unsigned int | len | ||
) |
Set the value 'val' into the buffer 'to', 'len' times.
to | OUT – destination buffer |
val | IN – value to be set in 'to' |
len | IN – number of times the value will be copied |