SW006013 Microchip Technology, SW006013 Datasheet - Page 24

MPLAB C Compiler For DsPIC DSCs

SW006013

Manufacturer Part Number
SW006013
Description
MPLAB C Compiler For DsPIC DSCs
Manufacturer
Microchip Technology
Series
DsPIC30F/33Fr
Type
MPLAB® C Compilerr
Datasheet

Specifications of SW006013

Supported Families
DsPIC30F, DsPIC33F
Core Architecture
DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
DsPIC30F And DsPIC33F
Tool Function
Compiler
Tool Type
Compiler
Processor Series
dsPIC
Lead Free Status / RoHS Status
na
For Use With/related Products
dSPIC DSCs
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
DS51456E-page 20
isspace (Continued)
isupper
Description:
Include:
Prototype:
Argument:
Return Value:
Remarks:
Example:
isxdigit
Description:
Include:
Prototype:
Argument:
Return Value:
Remarks:
Output:
& is NOT a white-space character
a tab is a white-space character
Test for an upper case letter.
<ctype.h>
int isupper (int c);
c
Returns a non-zero integer value if the character is an upper case
alphabetic character; otherwise, returns zero.
A character is considered to be an upper case alphabetic character if it
is in the range of ‘A’-‘Z’.
#include <ctype.h> /* for isupper */
#include <stdio.h> /* for printf */
int main(void)
{
}
Output:
B is upper case
b is NOT upper case
Test for a hexadecimal digit.
<ctype.h>
int isxdigit (int c);
c
Returns a non-zero integer value if the character is a hexadecimal digit;
otherwise, returns zero.
A character is considered to be a hexadecimal digit character if it is in
the range of ‘0’-‘9’, ‘A’-‘F’, or ‘a’-‘f’. Note: The list does not include the
leading 0x because 0x is the prefix for a hexadecimal number but is not
an actual hexadecimal digit.
int ch;
ch = 'B';
if (isupper(ch))
else
ch = 'b';
if (isupper(ch))
else
printf("B is upper case\n");
printf("B is NOT upper case\n");
printf("b is upper case\n");
printf("b is NOT upper case\n");
character to test
character to test
© 2008 Microchip Technology Inc.

Related parts for SW006013