Graphics framework for GR-PEACH. When you use this program, we judge you have agreed to the following contents. https://developer.mbed.org/teams/Renesas/wiki/About-LICENSE

Dependents:   ImageZoomInout_Sample ImageRotaion_Sample ImageScroll_Sample GR-PEACH_LCD_4_3inch_Save_to_USB ... more

Embed: (wiki syntax)

« Back to documentation index

clib_drivers.c File Reference

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_BoxAA box
in_BoxBOther box
out_IsSameWhether 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:
ValueInput 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:
inputInput value
outputOutput 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:
inputInput value
outputOutput 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:
inputInput value
outputOutput value
Returns:
Error Code. 0=No Error.

Definition at line 112 of file clib_drivers.c.