nkjnm
Dependencies: MAX44000 nexpaq_mdk
Fork of LED_Demo by
Diff: nexpaq_mdk_src/source/np_system.h
- Revision:
- 0:b86eda0e990d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nexpaq_mdk_src/source/np_system.h Sat Sep 17 16:21:40 2016 +0000 @@ -0,0 +1,31 @@ +/* + * np_system.h + * + * Created on: July 14, 2016 + * Author: Alan.Lin + * + * Copyright: NexPack Ltd. + */ + +#ifndef NP_SYSTEM_H_ +#define NP_SYSTEM_H_ + +#ifdef __cplusplus +extern "C" { +#endif +#include <stdint.h> + +typedef void (*app_function)(void); +void np_system_disable_interrupt(void); +void np_system_disable_interrupt(void); +void np_system_initial(app_function np_app_setup); +void np_system_loop(app_function np_api_loop); +void np_sys_init(); +void np_sys_start(); +void np_sys_bsl_chk(); +void delay_ms(uint32_t t_ms); +#ifdef __cplusplus +} +#endif + +#endif /* NP_SYSTEM_H_ */