代码搜索结果
找到约 5,266 项符合
DAC 的代码
dac.c
#include"c8051f020.h"
#include"math.h"
sfr16 DAC0 = 0xd2; /*DAC0数据*/
sfr16 DAC1 = 0xd5; /*DAC1数据*/
void DAC0_Init(void)
{
REF0CN =0x03; /*内
da.m
function y=dac(b,code)
code1=code(2:b);
s=0;
for i=1:(b-1)
s=s+code1(i)*2^(b-1-i);
end
a=code(1);
y=s*((-1)^(a+1));
tmp.out
BL51 BANKED LINKER/LOCATER V5.01 - SN: K1DZP-5IUSHE
COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2002
F:\book\protest\5DAC\DAC.obj TO F:\book\protest\5DAC\DAC RS(256) PL(68) PW(78)
*** WARNING L16
cyglink.txt
F:\book\protest\5DAC\DAC.obj TO F:\book\protest\5DAC\DAC RS(256) PL(68) PW(78)
debug.lkf
-z -q -c -m"./Debug/dac.map" -o"./Debug/dac.out" -x -i"C:/ti/c2000/cgtools/lib"
"C:\ti\myprojects\dac\Debug\DAC7724_TEST.obj"
"C:\ti\myprojects\dac\Debug\DSP28_Adc.obj"
"C:\ti\myprojects\dac\Debug\
cc_build_debug.log
------------------------------ dac.pjt - Debug ------------------------------
"C:\ti\c2000\cgtools\bin\cl2000" -g -q -fr"C:/ti/myprojects/dac/Debug" -d"_DEBUG" -d"LARGE_MODEL" -ml -v28 -@"Debug.lkf
debug.lkv
-z -q -c -m"./Debug/dac.map" -o"./Debug/dac.out" -x -i"C:/ti/c2000/cgtools/lib"
"C:\ti\myprojects\dac\Debug\DAC7724_TEST.obj"
"C:\ti\myprojects\dac\Debug\DSP28_Adc.obj"
"C:\ti\myprojects\dac\Debug\
dac_drv.h
//! @file Dac_drv.h
//!
//! Copyright (c) 2004
//!
//! Please read file license.txt for copyright notice.
//!
//! @brief This file contains the low level macros and definition for the DAC
//!
cyglink.txt
D:\1\DAC.obj,
D:\1\key.obj,
D:\1\MAIN.obj TO D:\c8051\Software\ADC&UART\MAIN RS(256) PL(68) PW(78)
demo.lnp
"key.obj",
"MAIN.obj",
"DAC.obj"
TO "DEMO"
RAMSIZE(256)