參數(shù)資料
型號(hào): 20-101-0554
廠商: Rabbit Semiconductor
文件頁(yè)數(shù): 43/94頁(yè)
文件大?。?/td> 0K
描述: COMPUTER SNGL BD BL2000 BOTT MNT
標(biāo)準(zhǔn)包裝: 1
系列: SBC
模塊/板類(lèi)型: 單板計(jì)算機(jī)模塊
適用于相關(guān)產(chǎn)品: BL2000
44
Wildcat (BL2000)
4.4.2 Digital I/O
Reads the state of an input channel:
IN0–IN10—standard digital inputs, ± 36 V DC
IN11–IN14—pseudo digital inputs using A/D converter inputs ADC0–ADC3, ± 10 V DC
IN15–IN19—pseudo digital inputs using A/D converter inputs ADC4–ADC8, 0 V to 48 V DC
IN20–IN21—pseudo digital inputs using A/D converter inputs DAC0–DAC1, 0 V to 48 V DC
(BL2010 and BL2030)
The threshold is fixed at 2.40 V for channels IN0–IN10. Anything below 2.40 V is a logic 0, and any-
thing higher than or equal to 2.40 V is a logic 1.
The default threshold for channels IN11–IN21 is also set to 2.40 V. The threshold for these channels may
be changed by adding the following two lines to your program.
#undef
THRESHOLD
#define
THRESHOLD xx.xx
where xx.xx is the desired threshold voltage. Anything below the threshold value is a logic 0, and any-
thing higher than or equal to the threshold value is a logic 1.
PARAMETER
channel is the input channel number (0–21)
RETURN VALUE
The state of the input (0 or 1).
SEE ALSO
brdInit, digOut
Sets the state of a digital output (
OUT0–OUT9).
The default setting for the function is for current-sinking outputs. To change from sinking to sourcing
outputs, add the following two lines at the beginning of your program.
#undef
OUTPUT_DRIVE
#define
OUTPUT_DRIVE
SOURCING
The relay is driven by PA0, which is the same Rabbit 2000 parallel port that drives OUT0 and LED DS4.
OUT0 therefore works in parallel with the relay output. Rabbit therefore recommends that you do not use
OUT0 for a digital output when you are using the relay.
PARAMETERS
channel is the output channel number (0–9).
value is the output value (0 or 1).
SEE ALSO
brdInit, digIn
int digIn(int channel);
void digOut(int channel, int value);
相關(guān)PDF資料
PDF描述
006200508130000+ CONN FFC/FPC 8POS 1MM R/A SMD
32FMN-BMTR-A-TB CONN FMN HSNG 32POS SGL REV SMD
32FMN-BMT-A-TF CONN FMN HSNG 32POS SNGL NOR SMD
006200512230000 CONN FFC/FPC 12POS 1MM R/A SMD
101-1051 MODULE MEMORY CORE RCM3365
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
20-101-0555 功能描述:單板計(jì)算機(jī) BL2000 Friction Lock RoHS:否 制造商:Ampro By ADLINK 外觀尺寸:EPIC 處理器類(lèi)型:Intel Atom D510 頻率:1.66 GHz 存儲(chǔ)容量:2 GB (max) 存儲(chǔ)類(lèi)型:DDR2, L2 Cache 接口類(lèi)型:Ethernet, PS/2, SATA, Serial, USB 工作電源電壓:5 V, 12 V 功耗:13 W 最大工作溫度:+ 70 C 尺寸:165.1 mm x 114.3 mm
20-101-0556 功能描述:模塊化系統(tǒng) - SOM BL2000 W/IDCHEADERS RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類(lèi)型:ARM926EJ-S 頻率:150 MHz 存儲(chǔ)容量:8 MB, 16 MB 存儲(chǔ)類(lèi)型:NOR Flash, SDRAM 接口類(lèi)型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-0561 功能描述:模塊化系統(tǒng) - SOM RCM3400 Rabbit Core RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類(lèi)型:ARM926EJ-S 頻率:150 MHz 存儲(chǔ)容量:8 MB, 16 MB 存儲(chǔ)類(lèi)型:NOR Flash, SDRAM 接口類(lèi)型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-0562 功能描述:模塊化系統(tǒng) - SOM RCM3410 RABBITCORE RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類(lèi)型:ARM926EJ-S 頻率:150 MHz 存儲(chǔ)容量:8 MB, 16 MB 存儲(chǔ)類(lèi)型:NOR Flash, SDRAM 接口類(lèi)型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-0563 功能描述:模塊配件 RCM3400 PROTOTYPING BOARD RoHS:否 制造商:Lantronix 產(chǎn)品: 用于: