#endif | #endif | ||||
extern int nvic_execution_priority(void); | extern int nvic_execution_priority(void); | ||||
#ifdef HAS_KINETIS_HSRUN | |||||
#if defined(HAS_KINETIS_HSRUN) && F_CPU > 120000000 | |||||
extern int kinetis_hsrun_disable(void); | extern int kinetis_hsrun_disable(void); | ||||
extern int kinetis_hsrun_enable(void); | extern int kinetis_hsrun_enable(void); | ||||
#else | #else |
} | } | ||||
#ifdef HAS_KINETIS_HSRUN | |||||
#if defined(HAS_KINETIS_HSRUN) && F_CPU > 120000000 | |||||
int kinetis_hsrun_disable(void) | int kinetis_hsrun_disable(void) | ||||
{ | { | ||||
if (SMC_PMSTAT == SMC_PMSTAT_HSRUN) { | if (SMC_PMSTAT == SMC_PMSTAT_HSRUN) { | ||||
} | } | ||||
return 0; | return 0; | ||||
} | } | ||||
#endif // HAS_KINETIS_HSRUN | |||||
#endif // HAS_KINETIS_HSRUN && F_CPU > 120000000 | |||||