Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
clib_drivers.c File Reference
Go to the source code of this file.
Functions | |
errnum_t | R_int32_t_to_int8_t (int32_t const input, int8_t *const output) |
Cast with range check. | |
errnum_t | R_int32_t_to_int16_t (int32_t input, int16_t *output) |
Cast with range check. | |
errnum_t | R_int32_t_to_uint8_t (int32_t input, uint8_t *output) |
Cast with range check. | |
bool_t | Is1bitOnlyInt (uint32_t Value) |
Returns whether specified value has 1 bit only 1. | |
errnum_t | IntBoxType_isSame (const IntBoxType *in_BoxA, const IntBoxType *in_BoxB, bool_t *out_IsSame) |
Get whether 2 "IntBoxType"s are same area. |
Detailed Description
- Module:
- CLibCommon
- PublicVersion:
- 0.90
(=CLIB_VERSION)
- Rev:
- 30
- Date:
- 2014-02-13 21:21:47 +0900#
- Description: Common code.
Definition in file clib_drivers.c.
Function Documentation
errnum_t IntBoxType_isSame | ( | const IntBoxType * | in_BoxA, |
const IntBoxType * | in_BoxB, | ||
bool_t * | out_IsSame | ||
) |
Get whether 2 "IntBoxType"s are same area.
- Parameters:
-
in_BoxA A box in_BoxB Other box out_IsSame Whether 2 "IntBoxType"s are same area.
- Returns:
- Error Code. 0=No Error.
Definition at line 158 of file clib_drivers.c.
bool_t Is1bitOnlyInt | ( | uint32_t | Value ) |
Returns whether specified value has 1 bit only 1.
- Parameters:
-
Value Input value
- Returns:
- Returns whether specified value has 1 bit only 1.
Definition at line 129 of file clib_drivers.c.
errnum_t R_int32_t_to_int16_t | ( | int32_t | input, |
int16_t * | output | ||
) |
Cast with range check.
- Parameters:
-
input Input value output Output value
- Returns:
- Error Code. 0=No Error.
Definition at line 94 of file clib_drivers.c.
errnum_t R_int32_t_to_int8_t | ( | int32_t const | input, |
int8_t *const | output | ||
) |
Cast with range check.
- Parameters:
-
input Input value output Output value
- Returns:
- Error Code. 0=No Error.
Definition at line 66 of file clib_drivers.c.
errnum_t R_int32_t_to_uint8_t | ( | int32_t | input, |
uint8_t * | output | ||
) |
Cast with range check.
- Parameters:
-
input Input value output Output value
- Returns:
- Error Code. 0=No Error.
Definition at line 112 of file clib_drivers.c.
Generated on Tue Jul 12 2022 14:32:49 by
