motor.h

来自「第三届飞思卡尔智能车竞赛华东赛一等奖的程序」· C头文件 代码 · 共 15 行

H
15
字号
#ifndef _MOTOR_H_
#define _MOTOR_H_

#include <hidef.h>      /* common defines and macros */
#include <mc9s12dg128.h>     /* derivative information */
#pragma LINK_INFO DERIVATIVE "mc9s12dg128b"

void Init_Motor(void);
void disable_motor(void);
void enable_motor(void);
interrupt void PJ_ISR(void);

extern int speed_ref;

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?