ADC_MUX_EXTERNAL1.c —Demonstrates how to enable the A/D interrupt MUX rou- tine for d" />
參數(shù)資料
型號: 101-1006
廠商: Rabbit Semiconductor
文件頁數(shù): 161/240頁
文件大?。?/td> 0K
描述: MODULE POWERCORE FLEX 3800
標準包裝: 1
模塊/板類型: MPU 核心模塊
適用于相關產(chǎn)品: RCM3800
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁當前第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁第223頁第224頁第225頁第226頁第227頁第228頁第229頁第230頁第231頁第232頁第233頁第234頁第235頁第236頁第237頁第238頁第239頁第240頁
User’s Manual
19
ADC_MUX_EXTERNAL1.c
—Demonstrates how to enable the A/D interrupt MUX rou-
tine for designs with multiple external A/D channels. This sample program will also
read and display the voltage of the external A/D channel that is located on pin 7 of
header J3 on the PowerCore Prototyping Board.
Since there is only one A/D converter channel on the Prototyping Board, the MUX
control is simulated by using LED DS5 on the Prototyping Board, which is controlled
by PD5.
LED = OFF = A/D channel 0
LED = ON = A/D channel 1.
The following steps explain how to implement round-robin MUX control.
1. Define the function prototype.
void adc_mux(void);
2. Define ADC_MUX_CNTRL as follows to call the adc_mux routine.
#define ADC_MUX_CNTRL call adc_mux
3. Define the number of A/D channels. Change the default from 1 to the number of A/D channels in
your design.
#define MAX_ADCHANNELS <Number Channels>
4. Create the adc_mux assembly routine as follows.
#asm root nodebug
adc_mux::
// Insert Mux control code
ret
#endasm
This routine will be called automatically by the low-level A/D converter driver.
5. Add I/O initialization code at the beginning of your application program for the port pins used for
MUX control.
In order to run this sample program, you will need a separate power supply. Connect
the positive lead from the power supply to the A/D channel input located on pin 7 of
header J3 on the Prototyping Board. Connect the negative lead from the power supply
to the GND located on pin 8 of J3 on the Prototyping Board.
相關PDF資料
PDF描述
101-0788 COMPUTER SGL-BOARD OP6600 W/SRAM
046232116103800 CONN FFC/FPC 16POS 1MM R/A SMD
346-048-540-804 CARDEDGE 48POS DUAL .125 GREEN
346-048-540-802 CARDEDGE 48POS DUAL .125 GREEN
346-048-540-204 CARDEDGE 48POS DUAL .125 GREEN
相關代理商/技術參數(shù)
參數(shù)描述
101-1006-000 制造商:ITT Interconnect Solutions 功能描述:1011006000 / 101-1006-000 / Circular
101100-6000EC 制造商:3M 制造商全稱:3M Electronics 功能描述:3M Mini D Ribbon (MDR) Connectors
101-1007 功能描述:MODULE POWERCORE FLEX 3810 RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器或微處理器模塊 系列:- 產(chǎn)品目錄繪圖:DLP-245SY-G 標準包裝:1 系列:USB 模塊/板類型:開發(fā)板 適用于相關產(chǎn)品:USB 其它名稱:813-1006
101-1007-000 制造商:ITT Interconnect Solutions 功能描述:1011007000 / 101-1007-000 / Circular
101-1008 功能描述:SOFTWARE CD FAT FILE V2 UPGRADE RoHS:否 類別:編程器,開發(fā)系統(tǒng) >> 軟件 系列:- 標準包裝:1 系列:ISE® 設計套件 類型:訂閱 適用于相關產(chǎn)品:Xilinx FPGAs 其它名稱:Q4986209T1081384