代码搜索结果
找到约 10,000 项符合
PID 的代码
speed_reg.h
#ifndef __SPEED_REG_H__
#define __SPEED_REG_H__
#include "Pid_reg1.h"
typedef struct
{
PIDREG1 *pid_reg;
int Qep_F;
int Pwm;
int Speed;
void (*init)();
void (*updat
speed_reg.h
#ifndef __SPEED_REG_H__
#define __SPEED_REG_H__
#include "Pid_reg1.h"
typedef struct
{
PIDREG1 *pid_reg;
int Qep_F;
int Pwm;
int Speed;
void (*init)();
void (*updat
timestamp.h
#ifndef _TIMESTAMP_H_
#define _TIMESTAMP_H_
#include
#include
//! use 27 bytes on mica2
#define TIMESTAMP_DEFAULT_SIZE 4
#ifndef _MODULE_
/**
* @brief register ti
mq_notify.c
/* include mq_notify */
#include "unpipc.h"
#include "mqueue.h"
int
mymq_notify(mymqd_t mqd, const struct sigevent *notification)
{
int n;
pid_t pid;
struct mymq_hdr *mqhdr;
struct mymq_info *mq
rand_key.c
/* rand_key.c */
/* Copyright (C) 1993 Eric Young - see README for more details */
#include "des_locl.h"
int des_random_key(ret)
des_cblock ret;
{
des_key_schedule ks;
static unsi
sshlogin.h
/* $OpenBSD: sshlogin.h,v 1.4 2002/08/29 15:57:25 stevesk Exp $ */
/*
* Author: Tatu Ylonen
* Copyright (c) 1995 Tatu Ylonen , Espoo, Finland
* Al
mq_notify.c
/* include mq_notify */
#include "unpipc.h"
#include "mqueue.h"
int
mymq_notify(mymqd_t mqd, const struct sigevent *notification)
{
int n;
pid_t pid;
struct mymq_hdr *mqhdr;
struct mymq_info *mq
chap7_4f1.m
function f=pid_ncd_pg_eq(nl_pid)
assignin('base','kp',nl_pid(1));
assignin('base','ki',nl_pid(2));
assignin('base','kd',nl_pid(3));
opt=simset('solver','ode5');
[tout,xout,yout]=sim('chap7_4f2',[
chap7_4f1.m
function f=pid_ncd_pg_eq(nl_pid)
assignin('base','kp',nl_pid(1));
assignin('base','ki',nl_pid(2));
assignin('base','kd',nl_pid(3));
opt=simset('solver','ode5');
[tout,xout,yout]=sim('chap7_4f2',[
exec1.c
#include "apue.h"
#include
char *env_init[] = { "USER=unknown", "PATH=/tmp", NULL };
int
main(void)
{
pid_t pid;
if ((pid = fork()) < 0) {
err_sys("fork error");
} else if (pid ==