|
void | RBS_MemSet8 (U8 *pDes, U8 fill, USIZE num) |
| Set memory by byte unit. More...
|
|
void | RBS_MemSet16 (U16 *pDes, U16 fill, USIZE num) |
| Set memory by two-bytes unit. More...
|
|
void | RBS_MemSet32 (U32 *pDes, U32 fill, USIZE num) |
| Set memory by four-bytes unit. More...
|
|
void | RBS_MemCpy8 (U8 *pDes, const U8 *pSrc, USIZE num) |
| Copy memory by byte unit. More...
|
|
U16 | RBS_Read16L (const U8 **ppData) |
| Read a 16-bits entity in little-endian. More...
|
|
U32 | RBS_Read32L (const U8 **ppData) |
| Read a 32-bits entity in little-endian. More...
|
|
void | RBS_Write16L (U8 **ppData, U16 data) |
| Write a 16-bits entity in little-endian. More...
|
|
void | RBS_Write32L (U8 **ppData, U32 data) |
| Write a 32-bits entity in little-endian. More...
|
|
U16 | RBS_Read16B (const U8 **ppData) |
| Read a 16-bits entity in big-endian. More...
|
|
U32 | RBS_Read32B (const U8 **ppData) |
| Read a 32-bits entity in big-endian. More...
|
|
void | RBS_Write16B (U8 **ppData, U16 data) |
| Write a 16-bits entity in big-endian. More...
|
|
void | RBS_Write32B (U8 **ppData, U32 data) |
| Write a 32-bits entity in big-endian. More...
|
|
Memory set and copy operation.
void RBS_MemCpy8 |
( |
U8 * |
pDes, |
|
|
const U8 * |
pSrc, |
|
|
USIZE |
num |
|
) |
| |
- Parameters
-
[out] | pDes | destination pointer. |
[in] | pSrc | source pointer. |
[in] | num | total units. |
void RBS_MemSet16 |
( |
U16 * |
pDes, |
|
|
U16 |
fill, |
|
|
USIZE |
num |
|
) |
| |
- Parameters
-
[out] | pDes | destination pointer(two-bytes alignment). |
[in] | fill | two-bytes filled. |
[in] | num | total units. |
void RBS_MemSet32 |
( |
U32 * |
pDes, |
|
|
U32 |
fill, |
|
|
USIZE |
num |
|
) |
| |
- Parameters
-
[out] | pDes | destination pointer(four-bytes alignment). |
[in] | fill | four-bytes filled. |
[in] | num | total units. |
void RBS_MemSet8 |
( |
U8 * |
pDes, |
|
|
U8 |
fill, |
|
|
USIZE |
num |
|
) |
| |
- Parameters
-
[out] | pDes | destination pointer. |
[in] | fill | byte filled. |
[in] | num | total units. |
U16 RBS_Read16B |
( |
const U8 ** |
ppData | ) |
|
- Parameters
-
[in,out] | ppData | data pointer,added 2 bytes after calling. |
- Returns
- data entity
U16 RBS_Read16L |
( |
const U8 ** |
ppData | ) |
|
- Parameters
-
[in,out] | ppData | data pointer,added 2 bytes after calling. |
- Returns
- data entity
U32 RBS_Read32B |
( |
const U8 ** |
ppData | ) |
|
- Parameters
-
[in,out] | ppData | data pointer,added 4 bytes after calling. |
- Returns
- data entity
U32 RBS_Read32L |
( |
const U8 ** |
ppData | ) |
|
- Parameters
-
[in,out] | ppData | data pointer,added 4 bytes after calling. |
- Returns
- data entity
void RBS_Write16B |
( |
U8 ** |
ppData, |
|
|
U16 |
data |
|
) |
| |
- Parameters
-
[in,out] | ppData | data pointer,added 2 bytes after calling. |
[in] | data | data to be wtitten. |
void RBS_Write16L |
( |
U8 ** |
ppData, |
|
|
U16 |
data |
|
) |
| |
- Parameters
-
[in,out] | ppData | data pointer,added 2 bytes after calling. |
[in] | data | data to be wtitten. |
void RBS_Write32B |
( |
U8 ** |
ppData, |
|
|
U32 |
data |
|
) |
| |
- Parameters
-
[in,out] | ppData | data pointer,added 4 bytes after calling. |
[in] | data | data to be wtitten. |
void RBS_Write32L |
( |
U8 ** |
ppData, |
|
|
U32 |
data |
|
) |
| |
- Parameters
-
[in,out] | ppData | data pointer,added 4 bytes after calling. |
[in] | data | data to be wtitten. |