| 전자부품 데이터시트 검색엔진 |
|
MCP2200 데이터시트(PDF) 12 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP2200 데이터시트(HTML) 12 Page - Microchip Technology |
|
12 / 34 page ![]() MCP2200 DS22228A-page 12 2010 Microchip Technology Inc. Example: <code> if (SimpleIOClass::ConfigureMCP2200(OutputPacket Buffer) == SUCCESS) lblStatusBar->Text = "Success"; else lblStatusBar->Text = "Invalid command " + SimpleIOClass::LastError; </code> 2.3.1.10 fnUSBCFG bool SimpleIOClass::fnUSBCFG (unsigned int onOff) Summary: Configures the USBCFG pin function. Precondition: The Vendor and Product ID must have been specified by SimpleIOInit. Parameters: onOff (constant): ON or OFF. Returns: Function returns true if the transmission is successful, returns False if there the transmission fails. Example: <code> if (SimpleIOClass::ConfigureMCP2200(OutputPacket Buffer) == SUCCESS) lblStatusBar->Text = "Success"; else lblStatusBar->Text = "Invalid command " + SimpleIOClass::LastError; </code> Remarks: Error code is returned in LastError 2.3.1.11 fnSuspend bool SimpleIOClass::fnSuspend (unsigned int onOff) Summary: Configures the SSPND function Precondition: The Vendor and Product ID must have been specified by SimpleIOInit. Parameters: onOff (constant): ON or OFF. Returns: Function returns true if the transmission is successful, returns False if there the transmission fails. Example: <code> if (SimpleIOClass::ConfigureMCP2200(OutputPacket Buffer) == SUCCESS) lblStatusBar->Text = "Success"; else lblStatusBar->Text = "Invalid command " + SimpleIOClass::LastError; </code> Remarks: Error code is returned in LastError 2.3.1.12 fnSetBaudRate bool SimpleIOClass::fnSetBaudRate (unsigned long BaudRateParam) Summary: Configures the device. 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. Example: <code> if (SimpleIOClass::ConfigureMCP2200(OutputPacket Buffer) == SUCCESS) lblStatusBar->Text = "Success"; else lblStatusBar->Text = "Invalid command " + SimpleIOClass::LastError; </code> Remarks: Error code is returned in LastError 2.3.1.13 ConfigureIO bool SimpleIOClass::ConfigureIO (unsigned char IOMap) Summary: Configures the IO pins for Digital Input, Digital Output Description: IO Pins can be configured as Digital Input, Digital Output |
|
링크 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 |