Mikroelektronika MIKROE-724 データシート

ページ / 726
mikroBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
147
Built-in Routines
The  mikroBasic  PRO  for  dsPIC30/33  and  PIC24  compiler  provides  a  set  of  useful  built-in  utility  functions.  Built-in 
functions do not have any special requirements. You can use them in any part of your project.
The 
Delay_us
 and 
Delay_ms
 routines are implemented as “inline”; i.e. code is generated in the place of a call, so the 
call doesn’t count against the nested call limit.
The 
Vdelay_ms, Vdelay_advanced_ms, Delay_Cyc, Delay_Cyc_Long, Get_Fosc_kHz and Get_Fosc_
Per_Cyc
 are actual Basic routines. Their sources can be found in the
 __Lib_Delays.mbas
 file located in the 
Uses
 
folder of the compiler.
 
- Lo 
 
- Hi 
 
- Higher 
 
- Highest 
 
- LoWord 
 
- HiWord 
 
- Inc
 
- Dec
 
- Chr
 
- Ord
 
- SetBit
 
- ClearBit
 
- TestBit
 
- Delay_us 
 
- Delay_ms 
 
- Vdelay_ms 
 
- Vdelay_Advanced_ms 
 
- Delay_Cyc 
 
- Delay_Cyc_Long 
 
- Clock_kHz 
 
- Clock_MHz 
 
- Get_Fosc_kHz 
 
- Get_Fosc_Per_Cyc 
 
- Reset
 
- ClrWdt
 
- DisableContextSaving
 
- SetFuncCall
 
- SetOrg
 
- DoGetDateTime
 
- DoGetVersion