29 lines
844 B
C
29 lines
844 B
C
|
|
/*
|
|||
|
|
*********************************************************************************************************
|
|||
|
|
*
|
|||
|
|
* APPLICATION CONFIGURATION
|
|||
|
|
*
|
|||
|
|
* IAR Development Kits
|
|||
|
|
* on the
|
|||
|
|
*
|
|||
|
|
* Nano130
|
|||
|
|
*
|
|||
|
|
* Filename : main.h
|
|||
|
|
* Version : V1.00
|
|||
|
|
* Programmer(s) : Qian Xianghong
|
|||
|
|
*********************************************************************************************************
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#ifndef USER_MAIN_PRESENT
|
|||
|
|
#define USER_MAIN_PRESENT
|
|||
|
|
|
|||
|
|
// <20><><EFBFBD><EFBFBD>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
extern volatile uint32_t SYS_RSTSTS;
|
|||
|
|
|
|||
|
|
uint16_t Byte2IntS(uint8_t *buf, int pos);
|
|||
|
|
void Int2ByteS(uint8_t *buf, int pos, uint16_t val);
|
|||
|
|
uint32_t Byte2IntL(uint8_t *buf, int pos);
|
|||
|
|
void Int2ByteL(uint8_t *buf, int pos, uint32_t val);
|
|||
|
|
|
|||
|
|
#endif
|