參數(shù)資料
型號: DLP-245PL-G
廠商: DLP Design Inc
文件頁數(shù): 12/14頁
文件大?。?/td> 0K
描述: MOD USB-MCU FT245RL W/18LF8722
產(chǎn)品目錄繪圖: DLP-245PL-G
標(biāo)準(zhǔn)包裝: 1
系列: USB
模塊/板類型: 開發(fā)板
適用于相關(guān)產(chǎn)品: USB
其它名稱: 813-1005
7
TOKEN I/O COMMAND SET
0xA5 – Line In – Reads the state of a single port pin
Parameters:
Port – Select from available port pins (PIN_A3, PIN_B0, etc.)
Returns:
1 Byte: State of the port pin (0 or 1)
Function:
This function will read the state of a single port pin. If the data direction for the
pin selected was set to output, the direction is first set to input.
Example:
0x2, 0xA5, 0x2F, 0x88 - Reads the current state of port pin PIN_A3.
0xA6 – Line Out - Sets a single port pin high or low
Parameters:
Port – Select from available port pins (PIN_A3, PIN_B3, etc.)
State – 0 or 1
Returns:
Undefined
Function:
This function will change the output state of a single port pin. If the data direction
for the pin selected was set to input, the direction is first set to output.
Example:
0x3, 0xA6, 0x2F, 0x1, 0x8B – Sets port pin PIN_A3 high.
0xA7 – Return Board ID
Parameters:
None
Returns:
5 bytes: “245PL”
Function:
This function will return the boardID.
Example:
0x1, 0xA7, A6 – Reads the board ID.
0xA8 – Setup A/D
Parameters:
Port Configuration – Selects analog port configuration. [See command 0xA8,
setup_AD() in the example firmware for options.]
A/D Conversion Clock – Select the source for the A/D conversion clock. [See
command 0xA8, setup_AD() in the example firmware for options.]
Returns:
Undefined
Function:
This function will select the input channel(s) and the source for the A/D
conversion clock. (Refer to the datasheet for the 18LF8722 for a detailed
explanation of the conversion clock.)
Example:
0x3, 0xA8, 0x00, 0x7, 0xAC – Sets all available A/D inputs on the DLP-245PL-G
to analog mode (0x00) and selects Fosc/64 for 20MHz operation (0x7).
0xA9 – A/D Conversion
Parameters:
Analog Port Number – Selects the analog port for the A/D conversion.
Returns:
2 Bytes: The 10-bit voltage data; LSB first.
Function:
This function will set the channel for the A/D conversion, pause 10uS, perform
the A/D conversion, and then return 2 bytes to the host (LSB first). Command
0xA8 must have been previously called to configure the desired analog channel
as an A/D input.
Example:
0x2, 0xA9, 0x2, 0xA8 – Selects analog channel 2 (AN2), performs the A/D
conversion, and returns 2 bytes of data.
相關(guān)PDF資料
PDF描述
DLP-245SY-G MODULE USB-MCU FT245RL W/SX48
DLP-FPGA MODULE USB-TO-FPGA TRAINING TOOL
DLP-HS-FPGA3 MODULE USB-TO-FPGA SPARTAN 3A
DP83848CVVX/NOPB TXRX ETHERNET PHYTER 48LQFP
DP83848HSQ/NOPB IC TXRX ETHERNET PHYTER 40-LLP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DLP-245PL-G-CCS 功能描述:界面開發(fā)工具 DLP-245PL PACKAGED w/CCS Compiler RoHS:否 制造商:Bourns 產(chǎn)品:Evaluation Boards 類型:RS-485 工具用于評估:ADM3485E 接口類型:RS-485 工作電源電壓:3.3 V
DLP-245SX 功能描述:界面模塊 USB/Micro Dev Board RoHS:否 制造商:4D Systems 產(chǎn)品:Serial Converters 通道/端口數(shù)量: 數(shù)據(jù)速率: 接口類型:USB, UART 工作電源電壓:3.3 V, 5 V 最大工作溫度:
DLP-245SY 功能描述:界面模塊 USB/Micro Dev Board RoHS:否 制造商:4D Systems 產(chǎn)品:Serial Converters 通道/端口數(shù)量: 數(shù)據(jù)速率: 接口類型:USB, UART 工作電源電壓:3.3 V, 5 V 最大工作溫度:
DLP-245SY-G 功能描述:界面模塊 USB/Micro Dev Board RoHS:否 制造商:4D Systems 產(chǎn)品:Serial Converters 通道/端口數(shù)量: 數(shù)據(jù)速率: 接口類型:USB, UART 工作電源電壓:3.3 V, 5 V 最大工作溫度:
DLP-245SY-G-C 功能描述:界面模塊 USB/Micro Dev Board W/GRICH C COMPILER RoHS:否 制造商:4D Systems 產(chǎn)品:Serial Converters 通道/端口數(shù)量: 數(shù)據(jù)速率: 接口類型:USB, UART 工作電源電壓:3.3 V, 5 V 最大工作溫度: