| 전자부품 데이터시트 검색엔진 |
|
MCP2221 데이터시트(PDF) 48 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP2221 데이터시트(HTML) 48 Page - Microchip Technology |
|
48 / 80 page ![]() MCP2221 DS20005292B-page 48 2015 Microchip Technology Inc. 3.1.12 GET GPIO VALUES This command is used to retrieve the GPIO direction and pin value for those GP pins assigned for GPIO operation (GPIO inputs or outputs). 3.1.12.1 Responses TABLE 3-34: COMMAND STRUCTURE Byte Index Value Effect 0 0x51 Get GPIO Values – command code 1-63 Don’t care TABLE 3-35: RESPONSE 1 STRUCTURE Byte Index Function Description Value Effect 0 0x51 Get GPIO Values – command code 1 0x00 Command completed successfully 2 GP0 pin value 0xEE If GP0 is not set for GPIO operation Other values (0x00 or 0x01) If GP0 is already set for GPIO operation, the value represents the GP0 logic pin value 3GP0 direction value 0xEF If GP0 is not set for GPIO operation Other values (0x00 or 0x01) If GP0 is already set for GPIO operation, the value represents the GP0 pin designation (0x00 for output and 0x01 for input) 4 GP1 pin value 0xEE If GP1 is not set for GPIO operation Other values (0x00 or 0x01) If GP1 is already set for GPIO operation, the value represents the GP1 logic pin value 5GP1 direction value 0xEF If GP1 is not set for GPIO operation Other values (0x00 or 0x01) If GP1 is already set for GPIO operation, the value represents the GP1 pin designation (0x00 for output and 0x01 for input) 6 GP2 pin value 0xEE If GP2 is not set for GPIO operation Other values (0x00 or 0x01) If GP2 is already set for GPIO operation, the value represents the GP2 logic pin value 7GP2 direction value 0xEF If GP2 is not set for GPIO operation Other values (0x00 or 0x01) If GP2 is already set for GPIO operation, the value represents the GP2 pin designation (0x00 for output and 0x01 for input) 8 GP3 pin value 0xEE If GP3 is not set for GPIO operation Other values (0x00 or 0x01) If GP3 is already set for GPIO operation, the value represents the GP3 logic pin value 9GP3 direction value 0xEF If GP3 is not set for GPIO operation Other values (0x00 or 0x01) If GP3 is already set for GPIO operation, the value represents the GP3 pin designation (0x00 for output and 0x01 for input) 10-63 Don’t care |
|
링크 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 |