Abl-electronic PIC Microcontrollers PIC16 Instrukcja Użytkownika Strona 144

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 312
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 143
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
mikroC
- C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
136
MikroElektronika:
Development
tools
-
Books
-
Compilers
page
BUILT-IN ROUTINES
Prototype
void Delay_us(const time_in_us);
Description Creates a software delay in duration of time_in_us microseconds (a constant). Range
of applicable constants depends on the oscillator frequency.
Example
Delay_us(10);
/* Ten microseconds pause */
Delay_us
Prototype
void Delay_ms(const time_in_ms);
Description Creates a software delay in duration of time_in_ms milliseconds (a constant). Range of
applicable constants depends on the oscillator frequency.
Example
Delay_ms(1000);
/* One second pause */
Delay_ms
Przeglądanie stron 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 311 312

Komentarze do niniejszej Instrukcji

Brak uwag