User manual
155
mikoBasic PRO for PIC32
MikroElektronika
Prototype
sub function Get_Fosc_Per_Cyc() as word
Description Function returns device’s clock per cycle, rounded to the nearest integer.
Note that Get_Fosc_Per_Cyc is library function rather than a built-in routine; it is presented in this
topic for the sake of convenience.
Parameters None.
Returns Device’s clock per cycle, rounded to the nearest integer.
Requires Nothing.
Example
dim clk_per_cyc as word
...
clk_per_cyc = Get_Fosc_Per_Cyc()
Notes None.
Get_Fosc_Per_Cyc
Prototype
sub procedure Reset()
Description This procedure is equal to assembler instruction reset.
Parameters None.
Returns Nothing.
Requires Nothing.
Example
Reset() ‘ Resets the MCU
Notes None.
Reset
Prototype
sub procedure ClrWdt()
Description This procedure is equal to assembler instruction clrwdt.
Parameters None.
Returns Nothing.
Requires Nothing.
Example
ClrWdt() ‘ Clears WDT
Notes None.
ClrWdt