User manual
144
mikoPascal PRO for PIC32
MikroElektronika
Built-in Routines
mikroPascal PRO for PIC32 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