PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 202

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
get_ticks( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
getc( ) getch( ) getchar( ) fgetc( )
Syntax:
Parameters:
Returns:
Function:
188
value = getc()
value = fgetc(stream)
value=getch()
value=getchar()
stream is a stream identifier (a constant byte)
An 8 bit character
This function waits for a character to come in over the RS232 RCV pin and
returns the character. If you do not want to hang forever waiting for an incoming
character use kbhit() to test for a character available. If a built-in USART is used
the hardware can buffer 3 characters otherwise GETC must be active while the
character is being received by the PIC
If fgetc() is used then the specified stream is used where getc() defaults to STDIN
(the last USE RS232).
value = get_ticks();
None
value – a 8, 16, 32 or 64 bit integer. (int8, int16, int32 or int64)
Returns the current tick value of the tick timer. The size returned depends on
the size of the tick timer.
All devices.
#USE TIMER(options)
#USE_TIMER(TIMER=1,TICKS=1ms,BITS=16,NOISR)
void main(void) {
}
None
#USE
unsigned int16 current_tick;
current_tick = get_ticks();
TIMER,
set_ticks()
®
.

Related parts for PCDIDE COMPILER