Built-In Routines - mikroElektronika PIC Microcontrollers PIC12 User Manual

Mikroc user's manual
Table of Contents

Advertisement

mikroC - C Compiler for Microchip PIC microcontrollers

BUILT-IN ROUTINES

mikroC compiler provides a set of useful built-in utility functions. Built-in func-
tions do not require any header files to be included; you can use them in any part
of your project.
Currently, mikroC includes following built-in functions:
Delay_us
Delay_ms
Delay_Cyc
Clock_Khz
Delay_us
Prototype
void Delay_us(const time_in_us);
Description
Creates a software delay in duration of
of applicable constants depends on the oscillator frequency.
Example
Delay_us(10);
Delay_ms
Prototype
void Delay_ms(const time_in_ms);
Description
Creates a software delay in duration of
applicable constants depends on the oscillator frequency.
Example
Delay_ms(1000);
page
136
time_in_us
/* Ten microseconds pause */
time_in_ms
/* One second pause */
MikroElektronika: Development tools - Books - Compilers
making it simple...
microseconds (a constant). Range
milliseconds (a constant). Range of
mikroC

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PIC Microcontrollers PIC12 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Pic microcontrollers pic16Pic microcontrollers pic18

Table of Contents