SW006010 Microchip Technology, SW006010 Datasheet - Page 96

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
MPLAB
apRNOVS^-page 92
C17 C Compiler Libraries
atoub
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
atoui
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
btoa
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
PIC17C4X, PIC17C756
Converts a string to an 16-bit unsigned integer.
stdlib.h
unsigned int atoui (static char *string);
string
Pointer to ASCII string.
This function converts the ASCII string into an 16-bit unsigned
integer. It first finds the length of the string by searching for the
null character. If the string length is greater than 6 characters,
this function returns 0. It then starts processing the string into
the 16-bit unsigned integer. (0 to 65535)
16-bit unsigned integer for all strings with 6 characters or less (0
to 65535). 0 for all strings greater than 6 characters
atoui.c
PIC17C4X, PIC17C756
Converts a string to an 8-bit unsigned byte.
stdlib.h
unsigned char atoub (static char *string);
string
Pointer to ASCII string.
This function converts the ASCII string into an 8-bit unsigned
byte. It first finds the length of the string by searching for the null
character. If the string length is greater than 4 characters, this
function returns 0. It then starts processing the string into the
8-bit unsigned byte (0 to 255).
8-bit unsigned byte for all strings with 4 characters or less (0 to
255). 0 for all strings greater than 4 characters.
atoub.c
PIC17C4X, PIC17C756
Converts an 8-bit signed byte to string.
stdlib.h
void btoa (static char value, static char *string);
value
An 8-bit signed byte.
string
Pointer to ASCII string.
This function converts the 8-bit signed byte in the argument
value to a ASCII string representation. The string must be long
enough to hold the ASCII representation which is:
number(3) + sign(1) + null(1) = 5
 2002 Microchip Technology Inc.

Related parts for SW006010