代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
pi_extr.h
/*************************************************************************/
/* */
/* Copyright (c) 1993-2001 Accelerated
pi_defs.h
/*************************************************************************/
/* */
/* Copyright (c) 1993-2001 Accelerated
pi_extr.h
/*************************************************************************/
/* */
/* Copyright (c) 1993-2001 Accelerated
pi_defs.h
/*************************************************************************/
/* */
/* Copyright (c) 1993-2001 Accelerated
fuzzy_pi.asm
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; 模糊数字PI控制程序
;;;; 本程序的文件名是Fuzzy_PI.asm
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
.title "Fuzzy_PI.asm"
.in
fuzzy_pi.cmd
-stack 40
MEMORY
{
PAGE 0: /*程序空间*/
VECS: origin=0000h,length=0040h /*中断向量存贮空间*/
PVECS: origin=0044h,length=0100h /*外围中断向量*/
PM: origin=0150h,length=7EB0h /*片内Flash
pi-solution.c
#include
#include
#define NUM_STEPS 1000000
#define NUM_THREADS 4
double gStep = 0.0;
double gPi = 0.0;
pthread_mutex_t gLock;
void *threadFunction(void *pArg)
{
int myNum
pi_extr.h
/*************************************************************************/
/* */
/* Copyright Mentor Graphics Cor
pi_defs.h
/*************************************************************************/
/* */
/* Copyright Mentor Graphics Cor
current_pi.asm
**************************************
; File name: current_pi.asm
; Module names: i_pi_reg
;Initialization routines: init_i_pi_reg
;Description: PI current regulator with