这是intrinsics.h头文件,怎么没有__delay_cycles函数啊,用这个函数CCS也编译不通过,我用的CCS6
void _nop(void);
void _enable_interrupts(void);
void _disable_interrupts(void);
unsigned short _swap_bytes(unsigned short a);
unsigned short _bic_SR_register(unsigned short a);
unsigned short _bic_SR_register_on_exit(unsigned short a);
unsigned short _bis_SR_register(unsigned short);
unsigned short _bis_SR_register_on_exit(unsigned short a);
unsigned short _get_SR_register(void);
unsigned short _get_SR_register_on_exit(void);
void _never_executed(void );
unsigned short _bcd_add_short(unsigned short, unsigned short);
unsigned long _bcd_add_long(unsigned long, unsigned long);
unsigned int _even_in_range(unsigned int, unsigned int);
void _op_code(unsigned short);
void _data20_write_char(unsigned long, unsigned char);
void _data20_write_short(unsigned long, unsigned short);
void _data20_write_long(unsigned long, unsigned long);
unsigned char _data20_read_char(unsigned long);
unsigned short _data20_read_short(unsigned long);
unsigned long _data20_read_long(unsigned long);
unsigned short _get_interrupt_state(void);
void _set_interrupt_state(unsigned short);
unsigned short _get_SP_register(void);
void _set_SP_register(unsigned short);
此帖出自
小平头技术问答
一周热门 更多>