|
sarmfsw: SMFSW Toolbox (desinged for ARM / compatible with other 8b/16b/32b platforms) 4.0rc
SMFSW collection of miscellaneous functions \& macros (desinged for ARM / compatible with other 8b/16b/32b platforms)
|
ASCII code conversion inlines. More...

Functions | |
| BOOL | isLowerCase (const CHAR ascii) |
| test for lower case alphabetic char | |
| BOOL | isUpperCase (const CHAR ascii) |
| test for upper case alphabetic char | |
| BOOL | isAlpha (const CHAR ascii) |
| test for alphabetic char | |
| BOOL | isNum (const CHAR ascii) |
| test for numeric char | |
| BOOL | isAlphaNum (const CHAR ascii) |
| test for alphanumeric char | |
| CHAR | toLowerCase (const CHAR ascii) |
| Convert upper case alphabetic char to lower case. | |
| CHAR | toUpperCase (const CHAR ascii) |
| Convert lower case alphabetic char to upper case. | |
| CHAR | HexToASCII (const BYTE hex) |
| Converts hexadecimal value to ASCII. | |
| BYTE | ASCIIToHex (const CHAR ascii) |
| Converts ASCII char to hexadecimal. | |
| DWORD | strDecToInt (const CHAR *const pASCII, const BYTE len) |
| ASCII decimal string to 32bit unsigned integer. | |
| DWORD | strHexToInt (const CHAR *const pASCII, const BYTE len) |
| ASCII hexadecimal string to 32bit unsigned integer. | |
ASCII code conversion inlines.
Converts ASCII char to hexadecimal.
| [in] | ascii | - ASCII char to convert |

Converts hexadecimal value to ASCII.
| [in] | hex | - Hexadecimal value to convert |
test for alphabetic char
| [in] | ascii | - ASCII char to check |


test for alphanumeric char
| [in] | ascii | - ASCII char to check |

test for lower case alphabetic char
| [in] | ascii | - ASCII char to check |
ascii is alphabetic char first (false will be always returned in case non alphabetic char) 
test for numeric char
| [in] | ascii | - ASCII char to check |

test for upper case alphabetic char
| [in] | ascii | - ASCII char to check |
ascii is alphabetic char first (false will be always returned in case non alphabetic char) 
ASCII decimal string to 32bit unsigned integer.
| [in] | pASCII | - pointer to ASCII string |
| [in] | len | - ASCII string length (max shall be 10, and may overflow return value when 10) |

ASCII hexadecimal string to 32bit unsigned integer.
| [in] | pASCII | - pointer to ASCII string |
| [in] | len | - ASCII string length (max shall be 8) |

Convert upper case alphabetic char to lower case.
| [in] | ascii | - ASCII char to convert |
ascii is alphabetic char first 