| 数据搜索系统,热门电子元器件搜索 |
|
AN3985 数据表(PDF) 39 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3985 数据表(HTML) 39 Page - STMicroelectronics |
|
39 / 105 page ![]() AN3985 ISO/IEC 15693 layer Doc ID 022255 Rev 2 39/105 ISO15693_Read_Single_Block function This function sends, through the CR95HF, a read single block command to the contactless tag in the field. ISO15693_Write_Single_Block function This function sends, through the CR95HF, a write single block command to the contactless tag in the field. Note: According to ISO/IEC 15693 specification, the WriteSingleBlock command supports the Option Flag. If the Option_flag is not set, the contactless tag shall return its response when it has completed the write operation. If it is set, the contactless tag waits for an EOF pulse from the CR95HF. Table 53. ISO15693_Read_Single_Block function description Prototype u8 ISO15693_Read_Single_Block(ISO15693_Tag* MyTag, const u8 Request_flags, const u8* Tag_UID, const u8 Block_number) Input parameter Request_flags: Specifies the actions to be performed by the contactless tag and whether corresponding fields are present or not (1). Tag_UID: pointer on the UID (optional) block_number: address of the block to read 1. The Address flag indicates if Tag_UID field will be added to the command (addressed mode). Output parameter MyTag: pointer on the structure that stores the data read from the tag Return parameter ISO15693_COMMAND_ERROR_CODE:The command failed. Either there is no tag or the tag did not manage to perform the request. ISO15693_ERROR_REQUEST_FLAGS_CODE: The inventory flag is set. ISO15693_COMMAND_SUCCESS_CODE: Tag answered the command. Table 54. ISO15693_Write_Single_Block function description Prototype u8 ISO15693_Write_Single_Block(ISO15693_Tag* MyTag, const u8 Request_flags, const u8* Tag_UID, const u8 Block_number,const u8 Block_Length, const u8* Data) Input parameter Request_flags: Specifies the actions to be performed by the contactless tag and whether corresponding fields are present or not (1). Tag_UID: pointer on the UID (optional) block_number: address of the block to read Block_Length: number of bytes in a block Data: pointer to data to write into contactless tag memory 1. The Address flag indicates if Tag_UID field will be added to the command (addressed mode). Output parameter MyTag: pointer on the structure that contains the tag response Return parameter ISO15693_ERROR_CODE: The command failed. ISO15693_ERROR_PARAMETERS_REQUEST_FLAGS: There is an error within the request flags parameters. ISO15693_SUCCESS_CODE: The contactless tag answered the command. |
|
链接网址 |
| 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 |