Microchip® Advanced Software Framework

isp.h File Reference
#include "preprocessor.h"
#include "conf_isp.h"

Macros

#define pm_disable_clk   ATPASTE2(pm_disable_clk, ISP_OSC)
 
#define pm_enable_clk_no_wait   ATPASTE3(pm_enable_clk, ISP_OSC, _no_wait)
 
#define pm_enable_osc_crystal   ATPASTE3(pm_enable_osc, ISP_OSC, _crystal)
 
#define pm_enable_osc_ext_clock   ATPASTE3(pm_enable_osc, ISP_OSC, _ext_clock)
 

Functions

void sys_clk_gen_start (void)
 Setup the system clocks. More...
 
void sys_clk_gen_stop (void)
 Undo the setup of the system clocks (restore the same clock settings as after a POR. More...
 
void wait_10_ms (void)
 Wait 10ms active. More...
 

#define pm_disable_clk   ATPASTE2(pm_disable_clk, ISP_OSC)
#define pm_enable_clk_no_wait   ATPASTE3(pm_enable_clk, ISP_OSC, _no_wait)
#define pm_enable_osc_crystal   ATPASTE3(pm_enable_osc, ISP_OSC, _crystal)
#define pm_enable_osc_ext_clock   ATPASTE3(pm_enable_osc, ISP_OSC, _ext_clock)

void sys_clk_gen_start ( void  )

Setup the system clocks.

Start the generation of system clocks

References gpio_clr_gpio_pin().

Referenced by main().

void sys_clk_gen_stop ( void  )

Undo the setup of the system clocks (restore the same clock settings as after a POR.

Stop the generation of system clocks and switch to RCOsc

Referenced by process_cmd_grp_exec().

void wait_10_ms ( void  )

Wait 10ms active.

References Get_system_register, and Set_system_register.

Referenced by process_cmd_grp_exec().