User manual
154
mikoPascal PRO for PIC32
MikroElektronika
Prototype
procedure ClrWdt();
Description This procedure is equal to assembler instruction clrwdt.
Parameters None.
Returns Nothing.
Requires Nothing.
Example
ClrWdt(); // Clears WDT
Notes None.
Prototype
procedure DisableContextSaving();
Description Use the DisableContextSaving() to instruct the compiler not to automatically perform context-
switching. This means that no register will be saved/restored by the compiler on entrance/exit from
interrupt service routine. This enables the user to manually write code for saving registers upon
entrance and to restore them before exit from interrupt.
Parameters None.
Returns Nothing.
Requires This routine must be called from main.
Example
DisableContextSaving(); // instruct the compiler not to automatically
perform context-switching
Notes None.
ClrWdt
DisableContextSaving