代码搜索结果
找到约 10,000 项符合
PID 的代码
pid.c
#include
#include
#include
#include
#include
#include
#define MAX_LENGTH 64
static struct proc_dir
pid.c
#include
#include
/*******************************************************************************/
int idata p,ti,td,t,gd; /*p--比例度, ti--积分时间, td--微分时间,t--采样时间,gd--给定值*/
pid.c
#include
#include
typedef struct PID {
int SetPoint; // 设定目标 Desired value Q0
int Proportion; // 比例常数 Proportional Const Q12
int Integral; // 积分常数 Int
pid.c
typedef struct PID {
int SetPoint; // 设定目标 Desired value
int Proportion; // 比例常数 Proportional Const
int Integral; // 积分常数 Integral Const
int Derivative; // 微分常数 Derivative Const
unsi
pid.pjt
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectDir="E:\brian\DSP\project\lab0602-PID\"
ProjectType=Executable
CPUFamily=TMS320C54XX
Tool
pid.c
#include "scancode.h"
#include "ctr.h"
#include "PID.h"
#include
//定时器分频参数 ------------------------------------------------------------------
#define T100 99 // 100个时钟周期中断一次
#define
pid.h
// VC5416DSP's registers
#define REGISTERCLKMD (*(unsigned int *)0x58)
#define WAITSTATUS (*(unsigned int *)0x28)
#define TIM *(int *)0x24
#define PRD *(int *)0x25
#define TCR *(int *)0x26
pid.cmd
-w
-stack 600h
-heap 400
-l rts.lib
-l ctr.lib
MEMORY
{
PAGE 0:
VECT : o=80h,l=80h
PRAM : o=100h,l=3f00h
PAGE 1:
DRAM : o=4000h,l=2000h
}
SECTIONS
{
.text