công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
MCP2200T-I/SO bảng dữ liệu(PDF) 11 Page - Microchip Technology |
|
MCP2200T-I/SO bảng dữ liệu(HTML) 11 Page - Microchip Technology |
11 / 34 page 2010 Microchip Technology Inc. DS22228A-page 11 MCP2200 Parameters: IOMap - A byte which represents the input/ output state of the pins (each bit may be either a 1 for input, and 0 for output. Baudrate - RxLED & TxLED - constant OFF, TOGGLE, BLINKSLOW, BLINKFAST Boolean - HWFlow control, USBCFG, Suspend Returns: Function returns true if the transmission is successful, returns False if there the transmission fails. Example: <code> if (SimpleIOClass::ConfigureMCP2200(0x43, 9600, BLINKSLOW, BLINKFAST, false, false, false) == SUCCESS) lblStatusBar->Text = "Success"; else lblStatusBar->Text = "Invalid command " </code> 2.3.1.7 fnRxLED bool SimpleIOClass::fnRxLED (unsigned int mode) Summary: Configures the RxLED pin function. Description: Sets the Precondition: The Vendor and Product ID must have been specified by SimpleIOInit. Parameters: mode (constant): OFF, TOGGLE, BLINKSLOW, BLINKFAST Returns: Function returns true if the transmission is successful, returns False if there the transmission fails. Error code logged in LastError. Example: <code> if (SimpleIOClass::fnRxLED(BLINKFAST) == SUCCESS) lblStatusBar->Text = "Success"; else lblStatusBar->Text = "Invalid command " + SimpleIOClass::LastError; </code> 2.3.1.8 fnTxLED bool SimpleIOClass::fnTxLED (unsigned int mode) Summary: Configures the TxLED pin function. Description: Sets the Precondition: The Vendor and Product ID must have been specified by SimpleIOInit. Parameters: mode (constant): OFF, TOGGLE, BLINKSLOW, BLINKFAST Returns: Function returns true if the transmission is successful, returns False if there the transmission fails. Error code logged in LastError. Example: <code> if (SimpleIOClass::fnTxLED(BLINKFAST) == SUCCESS) lblStatusBar->Text = "Success"; else lblStatusBar->Text = "Invalid command " + SimpleIOClass::LastError; </code> 2.3.1.9 fnHardwareFlowControl bool SimpleIOClass::fnHardwareFlowControl (unsigned int onOff) Summary: Configures the device. Description: Sets the Precondition: The Vendor and Product ID must have been specified by SimpleIOInit. Parameters: IOMap - An array of configuration parameters, one byte per IO Line Returns: Function returns true if the transmission is successful, returns False if there the transmission fails. |
Số phần tương tự - MCP2200T-I/SO |
|
Mô tả tương tự - MCP2200T-I/SO |
|
|
Link URL |
Chính sách bảo mật |
ALLDATASHEET.VN |
Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
Family Site : ic2ic.com |
icmetro.com |