| 전자부품 데이터시트 검색엔진 |
|
MCP2200 데이터시트(PDF) 11 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP2200 데이터시트(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. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |