User manual
mikroPascal PRO for dsPIC30/33 and PIC24
MikroElektronika
146
Built-in Routines
mikroPascal 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 Pascal routines. Their sources can be found in the delays.mpas le 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
- GetDateTime
- GetVersion