代码搜索结果
找到约 10,000 项符合
Power 的代码
acad_cal.c
#include"acad_cal.h"
#include"math.h"
#include"global_data.h"
#define N 32
//函数功能:有效值计算
//参数:a--电流或者电压采样结果,n--采样点数
//返回值:有效值
static long acad_virtual_value_calculation( long *a ,int n)
epm.c
#include "sys_parameter.h"
byte data Timer0_Count = 0;
bit overload_ind=0;
unsigned char data real_pulse_count = 0;
/*
* overload counter,6 minutes or 360 seconds polling
* 10 --- 1.0 kW 4
tat51rx.hec
/******************************************************************************/
/* SCCS: %Z% Name: %M% Date US: %G% %U% Ver.: %I% */
/***************************************************************
or100_sw_else.c
#include
#define DISPLAY_FLASH_FREQ 200 //显示报警时的数码管闪烁频率
//LED显示字符表,控制LED显示不同字符
char code DISPLAY_TABLE[14] = {
0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0xbf,0xff,0xc7,
cpud.conf
###############################################################################
# /etc/cpud.conf: cpud(1) configuration file, read by cpuctl(1) #
# Lines starting with ``#'' are treated as
channelpass.m
function receive=channelpass(sig_in,channel,snr_db)
%信道:多径加噪声
avg_sig_power = sum(abs(sig_in).^2)/length(sig_in);
%求信号的平均功率
snr = power(10,snr_db/10);
%换算信噪比
avg_noise_power = avg_sig_power/(2*s
control.c
#define control_c
#include "main.h"
//********************电源控制**************************//
void control_pow(void)
{
static uchar power_onf_sms=0;//应答器无应答计数
if((set_pown==1)&(adv_m>ADV_MIN)
key_process.c
#if 1
#include "comm.h"
#include "key_process.h"
#include "ir.h"
#include "debug.h"
extern uchar user_key;
extern bit ir_enable;
extern int linear_timer;
extern bit power_flag;
#if 0
voi
initial.h
#ifdef __INITIAL__
void Reset_RTD(void);
void Init_Input_Source(void);
#else
extern void MCU_Init(void);
extern void Firmware_Init(void);
extern void Power_Up_Init(void);
extern void Rese
initial.h
#ifdef __INITIAL__
void Reset_RTD(void);
void Init_Input_Source(void);
#else
extern void MCU_Init(void);
extern void Firmware_Init(void);
extern void Power_Up_Init(void);
extern void Rese