26-Aug-10 USB-232 HW143-19 www.firmwarefactory.com from 0x0000 to 0x03FF, which indicates the voltage relativ" />
參數(shù)資料
型號: TPFLXIC006
廠商: Microchip Technology
文件頁數(shù): 11/11頁
文件大?。?/td> 0K
描述: IC MICROCONTROLLER
標(biāo)準(zhǔn)包裝: 1
系列: *
p9 of 11
26-Aug-10
USB-232
HW143-19
www.firmwarefactory.com
from 0x0000 to 0x03FF, which indicates the voltage
relative to Vdd.
Example:
96
Command – Get Analog
96 02 36
Response – V = Vdd * (0x236/0x3FF)
Set Pin
The identifier SETPIN (0x91) sets the value of any
output pin. The command payload has two bytes, which
indicate the pin and the desired output.
Example:
91 25 01
Command – Set DTR pin active
Table 6. Get Pin / Set Pin Payload Structure*
Pin
Payload byte 1
Payload byte 2**
VIO0
0x10
00 = Low, 01 = High
VIO1
0x11
00 = Low, 01 = High
VIO2
0x12
00 = Low, 01 = High
VIO3
0x13
00 = Low, 01 = High
VIO4
0x14
00 = Low, 01 = High
VIO5
0x15
00 = Low, 01 = High
VIO6
0x16
00 = Low, 01 = High
VIO7
0x17
00 = Low, 01 = High
VIO8
0x18
00 = Low, 01 = High
VIO9
0x19
00 = Low, 01 = High
VIO10
0x1A
00 = Low, 01 = High
USBPwr
0x20
00 = Inactive, 01 = Active
SelfPwr
0x21
00 = Inactive, 01 = Active
DCD
0x22
00 = Inactive, 01 = Active
DSR
0x23
00 = Inactive, 01 = Active
RI
0x24
00 = Inactive, 01 = Active
DTR
0x25
00 = Inactive, 01 = Active
HostRdy
0x26
00 = Inactive, 01 = Active
Send
0x27
00 = Inactive, 01 = Active
TxInd
0x28
00 = Inactive, 01 = Active
RxInd
0x29
00 = Inactive, 01 = Active
AllSysGo
0x2A
00 = Inactive, 01 = Active
Config
0x2B
00 = Inactive, 01 = Active
Suspend
0x2C
00 = Inactive, 01 = Active
LowPower
0x2D
00 = Inactive, 01 = Active
BuffEmpty
0x2E
00 = Inactive, 01 = Active
TxEn
0x2F
00 = Inactive, 01 = Active
TxRxInd
0x30
00 = Inactive, 01 = Active
CTS
0x31
00 = Inactive, 01 = Active
RTS
0x32
00 = Inactive, 01 = Active
RWU
0x33
00 = Inactive, 01 = Active
*Byte 0 is the identifier 0x90 (Get Pin) or 0x91 (Set Pin)
** Used in Get Pin Response and Set Pin Command only
Host Ready
The Host Ready feature is used to indicate to the device
that a host application is running, has located the device,
and is ready to communicate with it.
If the Host Ready pin is implemented, the application
should tell the device when it is ready using the Host
Ready command.
It consists of the identifier
HOSTREADY (0x92) and one payload byte, which is
0x01 if the application is initialized and available, or
0x00 if the application is shutting down and not longer
available.
Interrupt
The Interrupt response is an unprompted message from
the device that an interrupt input transitioned from the
inactive to the active state.
It consists of the identifier INTERRUPT (0x95) and one
payload byte, which is 0x09 if the interrupt occurred on
pin VIO9, or 0x0A if the interrupt occurred on pin VIO10.
Set Serial
The identifier SETSERIAL (0x93) temporarily sets the
baud, parity and flow control characteristics of the
device. These settings are not remembered after device
reset and should be used if the settings are to be
frequently adjusted under software control.
The
command payload has three bytes as shown in table 7.
Example:
93 06 02 A0
Command – Set serial 9600, hardware
flow control, 8 bits, odd parity, no ack
Table 7. Set Serial
Byte
Name
Description / Value
0
Identifier
0x93
1
Baud *
110 (0x00)
300 (0x01)
600 (0x02)
1200 (0x03)
2400 (0x04)
4800 (0x05)
9600 (0x06)
19200 (0x07)
38400 (0x08)
57600 (0x09)
115200 (0x0A)
230400 (0x0B)
460800 (0x0C)
2
FlowCtrl
Flow Control:
OR
0x00 for no flow control
0x01 for Xon/Xoff flow control
0x02 for CTS/RTS flow control
WITH 0x00 for no ack on send to host
0x10 for ack on send to host
3
BitFields
Data, parity and stop bits (excl start
and final stop bits):
OR
0x00 for 8 bits including any
parity and stop bits
0x80 for 9 bits including any
parity and stop bits
WITH 0x05 if 8th bit is data
0x01 if 8th bit is stop bit
0x02 if 8th bit is odd parity
0x03 if 8th bit is even parity
0x04 if 8th bit is mark parity
0x01 if 8th bit is space parity
WITH 0x10 if 9th bit is stop bit
0x20 if 9th bit is odd parity
0x30 if 9th bit is even parity
0x40 if 9th bit is mark parity
0x10 if 9th bit is space parity
Note: prior to revision 7, the parity bit was not stripped
from incoming 7-bit-with-parity data.
To maintain
compatibility with revisions earlier than rev 7, the bit
should be stripped off in PC software.
Get Firmware ID
The identifier GETFWID (0x94) retrieves a zero-
terminated ASCII text string identifying the firmware and
its version number.
Example:
94
Command – Get Firmware ID
94 55 53 42 2D 32 33 32 20 30 30 30 35 00
相關(guān)PDF資料
PDF描述
VE-B5N-IW-F4 CONVERTER MOD DC/DC 18.5V 100W
TPFLXIC008 IC MICROCONTROLLER
MS27467T15B97SA CONN PLUG 12POS STRAIGHT W/SCKT
0351820192 CONN TAB 1POS TAB VERT RED
VE-B5N-IW-F1 CONVERTER MOD DC/DC 18.5V 100W
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
TPFLXIC007 功能描述:插座和適配器 FlexiPnl USB-SPI-DIL RoHS:否 制造商:Silicon Labs 產(chǎn)品:Adapter 用于:EM35x
TPFLXIC008 功能描述:插座和適配器 FlexiPnl USB-SPI-SS RoHS:否 制造商:Silicon Labs 產(chǎn)品:Adapter 用于:EM35x
TPFLXIC009 功能描述:插座和適配器 FlexiPnl USB-I2C-DIL RoHS:否 制造商:Silicon Labs 產(chǎn)品:Adapter 用于:EM35x
TPFLXIC010 功能描述:插座和適配器 FlexiPnl USB-I2C-SS RoHS:否 制造商:Silicon Labs 產(chǎn)品:Adapter 用于:EM35x
TPFLXIC011 功能描述:插座和適配器 EXPNIO-USB-FS-DIL-28 FlexiPanel RoHS:否 制造商:Silicon Labs 產(chǎn)品:Adapter 用于:EM35x