User manual

Table Of Contents
6
mikoC PRO for PIC32
MikroElektronika
Interrupts 141
Conguring Interrupts 141
Single Vector Mode 141
Multi Vector Mode 141
Interrupt Priorities 142
Interrupts and Register Sets 142
Register Set Selection in Single Vector Mode 142
Interrupts and Register Sets 142
Interrupt Coding Requirements 142
Interrupt Service Routine 142
Function Calls from Interrupt 143
Interrupt Example 144
Linker Directives 145
Directive absolute 145
Directive org 146
Directive orgall 146
Directive funcorg 146
Indirect Function Calls 146
Built-in Routines 147
Lo 148
Hi 148
Higher 149
Highest 149
LoWord 150
HiWord 150
Delay_us 151
Delay_ms 151
Vdelay_ms 151
VDelay_Advanced_ms 152
Delay_Cyc 152
Delay_Cyc_Long 152
Clock_kHz 153
Clock_Mhz 153
Get_Fosc_kHz 153
Get_Fosc_Per_Cyc 154
KVA0_TO_KVA1 154
KVA1_TO_KVA0 154
KVA_TO_PA 155
PA_TO_KVA0 155
PA_TO_KVA1 155
CP0_GET 155
CP0_SET 156
EnableInterrupts 156
DisableInterrupts 156
Code Optimization 158
Constant folding 158