KEIL的一些函数

一 Predefined Functions:http://www.keil.com/support/man/docs/uv4cl/uv4cl_df_predeffunct.htm

主要有三角/反三角函数计算、对/指数运算、在指定地址读和写字节/字/浮点/长整型、随机数、打印输出和输入、延迟和延时函数(信号函数调用)

二 The DEFINE command creates a symbol of a specified type in Toolbox,和执行操作http://www.keil.com/support/man/docs/uv4cl/uv4cl_cm_define.htm

      DEFINE BUTTON "My Registers", "MyRegs()" //定义工具箱来调试

  Kill Button ID /*删除ID*/

    命令行下ESC撤销

三 用户自定义函数:User functions should not invoke Signal Functions or the built-in function twatch.

FUNC return_type fname (parameter_list) {
  statements
}

猜你喜欢

转载自www.cnblogs.com/jieruishu/p/10963042.html