Mikroelektronika MIKROE-350 Fiche De Données
BUILT-IN ROUTINES
The mikroBasic PRO for AVR compiler provides a set of useful built-in utility func-
tions.
tions.
The
Lo, Hi, Higher, Highest
routines are implemented as macros. If you want
to use these functions you must include
built_in.h
header file (located in the
inl-
clude
folder of the compiler) into your project.
The
Delay_us
and
Delay_ms
routines are implemented as “inline”; i.e. code is gen-
erated in the place of a call, so the call doesn’t count against the nested call limit.
The
Vdelay_ms
,
Delay_Cyc
and
Get_Fosc_kHz
are actual Basic routines. Their
sources can be found in
Delays.mbas
file located in the
uses
folder of the compiler.
- Lo
- Hi
- Higher
- Highest
- Hi
- Higher
- Highest
- Inc
- Dec
- Dec
- Delay_us
- Delay_ms
- Vdelay_ms
- Delay_Cyc
- Delay_ms
- Vdelay_ms
- Delay_Cyc
- Clock_Khz
- Clock_Mhz
- Clock_Mhz
- SetFuncCall
95
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Specifics
mikroBasic PRO for AVR
CHAPTER 3