代码搜索结果
找到约 10,000 项符合
ADC 的代码
adc.pjt
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectDir="D:\dsp2x\bakup\experimt\EDU2407\Lab8-AD\"
ProjectType=Executable
CPUFamily=TMS320C24X
adc.asm
ORG 0000H
LJMP MAIN
ORG 0053H
LJMP ADC
ORG 500H
MAIN: MOV TMOD,#20H ;定时器T1为方式2
MOV TL1,#0FDH
MOV TH1,#0FDH ;波特率为9600
SETB TR1 ;启动T
adc.h
#ifndef __ASM_CPU_SH3_ADC_H
#define __ASM_CPU_SH3_ADC_H
/*
* Copyright (C) 2004 Andriy Skulysh
*/
#define ADDRAH 0xa4000080
#define ADDRAL 0xa4000082
#define ADDRBH 0xa4000084
#define ADDRBL 0xa
adc.h
#ifndef __ADC_H__
#define __ADC_H__
void Test_DMA_Adc(void);
void Test_Adc(void);
#endif /*__ADC_H__*/
adc.c
#include
#include "..\..\inc\44b.h"
#include "..\..\inc\44blib.h"
#include "..\..\inc\cputest\adc.h"
void BDMA1_Done(void) __attribute__ ((interrupt ("IRQ")));
int ReadAdc(int ch);
adc.c
/*
* Copyright (C) 2004 by Ole Reinhardt ,
* Kernelconcepts http://www.kernelconcepts.de
*
* Redistribution and use in source and binary form
adc.h
//*---------------------------------------------------------------------------
//* ATMEL Microcontroller Software Support - ROUSSET -
//*--------------------------------------------------
grt.adc
-- GHDL Run Time (GRT) - Configuration pragmas.
-- Copyright (C) 2002, 2003, 2004, 2005 Tristan Gingold
--
-- GHDL is free software; you can redistribute it and/or modify it under
-- the terms of