| 전자부품 데이터시트 검색엔진 |
|
AS3955 데이터시트(PDF) 96 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
AS3955 데이터시트(HTML) 96 Page - ams AG |
|
96 / 111 page ![]() Page 96 ams Datasheet Document Feedback [v1-01] 2015-Apr-29 AS3955 − Application Information s8 ndefReadFile (u8 * rxPtr, u8 hdrLen) { s8 err = ERR_NONE; if (filePtr != NULL) { // read from file u16 offset = (*(rxPtr + 1) << 8) | *(rxPtr + 2); u8 length = *(rxPtr + 3); memcpy(&txBuffer.data[hdrLen], filePtr + offset, length); txBuffer.data[hdrLen + length] = 0x90; txBuffer.data[hdrLen + length + 1] = 0x00; txBuffer.size = hdrLen + length + 2; } else { txBuffer.data[hdrLen + 0] = 0x6a; txBuffer.data[hdrLen + 1] = 0x82; err = ERR_PARAM; } return err; } s8 ndefWriteFile (u8 * rxPtr) { s8 err = ERR_NONE; if (filePtr != NULL) { //write to file u16 offset = (*(rxPtr + 1) << 8) | *(rxPtr + 2); u8 length = *(rxPtr + 3); memcpy(filePtr + offset, rxPtr + 4, length); } else { err = ERR_PARAM; } return err; } s8 ndefSelectFile (u8 * rxPtr) { s8 err = ERR_NONE; filePtr = NULL; if (*(rxPtr + 3) == 0x02) { // ID size == 2 -> files if (*(rxPtr + 4) == 0xE1) { switch (*(rxPtr + 5)) { |
|
링크 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 |