|
CC78K4 Datasheet, PDF (173/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language | |||
|
◁ |
CHAPTER 10 LIBRARY FUNCTIONS
1-3 toascii
Character & String Functions
FUNCTION
The character function toascii converts âcâ to an ASCII code.
HEADER
ctype.h
FUNCTION PROTOTYPE
int toascii (int c);
Function
toascii
Arguments
c... Character to be converted
Return Value
Value obtained by converting
the bits outside the ASCII
code range of âcâ to 0.
EXPLANATION
The toascii function converts the bits (bits 7 to 15) of âcâ outside the ASCII code range of âcâ (bits 0 to 6) to â0â
and returns the converted bit value.
Userâs Manual U15556EJ1V0UM
173
|
▷ |