SW006010 Microchip Technology, SW006010 Datasheet - Page 95

no-image

SW006010

Manufacturer Part Number
SW006010
Description
MPLAB 17C SOFTWARE
Manufacturer
Microchip Technology
Datasheets

Specifications of SW006010

Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC17C
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
MPLAB®
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
4.4
 2002 Microchip Technology Inc.
NUMBER AND TEXT CONVERSION FUNCTIONS
atob
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
atoi
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
PIC17C4X, PIC17C756
Converts a string to an 8-bit signed byte.
stdlib.h
char atob (static char *string);
string
Pointer to ASCII string.
This function converts the ASCII string into an 8-bit signed byte.
It first finds the length of the string by searching for the null
character. If the string length is greater than 5 characters, this
function returns 0. It then starts processing the string into the
8-bit signed byte (-128 to 127).
8-bit signed byte for all strings with 5 characters or less (-128 to
127). 0 for all strings greater than 5 characters.
atob.c
PIC17C4X, PIC17C756
Converts a string to an 16-bit signed integer.
stdlib.h
int atoi(static char *string);
string
Pointer to ASCII string.
This function converts the ASCII string into an 16-bit signed
integer. It first finds the length of the string by searching for the
null character. If the string length is greater than 7 characters,
this function returns 0. It then starts processing the string into
the 16-bit signed integer (-32768 to 32767).
16-bit signed integer for all strings with 7 characters or less
(-32768 to 32767). 0 for all strings greater than 7 characters.
atoi.c
General Software Library
apRNOVS^-page 91

Related parts for SW006010