jrioInit
參數(shù)資料
型號: 101-0814
廠商: Rabbit Semiconductor
文件頁數(shù): 53/94頁
文件大小: 0K
描述: COMPUTER SNG BD BL1810 512K SRAM
標(biāo)準(zhǔn)包裝: 10
系列: SBC
模塊/板類型: 單板計算機(jī)模塊
適用于相關(guān)產(chǎn)品: BL1810
User’s Manual
53
The output value is set using the following function.
sets the state of an analog output channel.
jrioInit must be called first.
channel is the output channel number (0 or 1 on the Jackrabbit).
value is an integer from 0–1024 that corresponds to an output voltage as shown in Table 5.
NOTE: See the sample program JRIOTEST.C for examples of using the anaOut func-
tion.
Effect of Interrupts on Analog I/O
The stability of the voltage output (and hence the voltage input determination as well)
depends on the ability of the driver to respond quickly to interrupt requests. Dynamic C
debugging, use of the printf function, or any serial communications can disrupt the
pulse-width modulation utilized by the driver and cause fluctuations in the voltage out-
puts. Avoid using serial communications or printf statements during portions of your
program where the voltage must remain steady. Also be aware that debugging and running
Dynamic C in polling mode will cause fluctuations. Finally, be certain to disable the PWM
drivers by setting the output values to 0 or 1024 when you are done using them to free up
the CPU.
Calibration of Values to Voltages
The analog output channels on the Jackrabbit can be more accurately calibrated for each
individual Jackrabbit in the following manner (calibration of DA0 is assumed in this
example, calibration of DA1 would proceed similarly):
Set desired channel output to PWM_MIN.
Measure voltage Vmin on DA0.
Set desired channel output to PWM_MAX0.
Measure voltage Vmax on DA0.
A linear relation between input value and voltage can now be calculated:
Table 5. Typical Analog Output Voltages Corresponding
to Values in anaOut Function
Channel
0
PWM_MIN
PWM_MAX
1024
DA0
0.08 V
2.875 V
3.4 V
DA1
0.004 V
0.63 V
3.6 V
void anaOut(int channel, int value);
bVmax
m
PWM_MAX0
×
=
相關(guān)PDF資料
PDF描述
101-1007 MODULE POWERCORE FLEX 3810
101-1028 MODULE RABBITCORE RCM3750
101-1087 MODULE RABBITCORE RCM 3365
1B31AN IC SIGNAL COND STRAIN GAGE 28DIP
1B32AN IC SIGNAL COND HYBRID 28-DIP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
101-0815 功能描述:單板計算機(jī) SR9100 512K SRAM RoHS:否 制造商:Ampro By ADLINK 外觀尺寸:EPIC 處理器類型:Intel Atom D510 頻率:1.66 GHz 存儲容量:2 GB (max) 存儲類型:DDR2, L2 Cache 接口類型:Ethernet, PS/2, SATA, Serial, USB 工作電源電壓:5 V, 12 V 功耗:13 W 最大工作溫度:+ 70 C 尺寸:165.1 mm x 114.3 mm
101-0816 功能描述:KIT DEV RABBITCORE TCP/IP 2000 RoHS:否 類別:編程器,開發(fā)系統(tǒng) >> 過時/停產(chǎn)零件編號 系列:* 標(biāo)準(zhǔn)包裝:1 系列:- 類型:MCU 適用于相關(guān)產(chǎn)品:Freescale MC68HC908LJ/LK(80-QFP ZIF 插口) 所含物品:面板、纜線、軟件、數(shù)據(jù)表和用戶手冊 其它名稱:520-1035
101-0817 功能描述:單板計算機(jī) BL2030 512K SRAM RoHS:否 制造商:Ampro By ADLINK 外觀尺寸:EPIC 處理器類型:Intel Atom D510 頻率:1.66 GHz 存儲容量:2 GB (max) 存儲類型:DDR2, L2 Cache 接口類型:Ethernet, PS/2, SATA, Serial, USB 工作電源電壓:5 V, 12 V 功耗:13 W 最大工作溫度:+ 70 C 尺寸:165.1 mm x 114.3 mm
101-0818 功能描述:單板計算機(jī) BL2100 Fric Lk 512K RoHS:否 制造商:Ampro By ADLINK 外觀尺寸:EPIC 處理器類型:Intel Atom D510 頻率:1.66 GHz 存儲容量:2 GB (max) 存儲類型:DDR2, L2 Cache 接口類型:Ethernet, PS/2, SATA, Serial, USB 工作電源電壓:5 V, 12 V 功耗:13 W 最大工作溫度:+ 70 C 尺寸:165.1 mm x 114.3 mm
101-0820 功能描述:COMPUTER SGL-BD BL2000 SRAM/FLSH RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器或微處理器模塊 系列:SBC 產(chǎn)品目錄繪圖:DLP-245SY-G 標(biāo)準(zhǔn)包裝:1 系列:USB 模塊/板類型:開發(fā)板 適用于相關(guān)產(chǎn)品:USB 其它名稱:813-1006