| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AN3985 bảng dữ liệu(PDF) 70 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3985 bảng dữ liệu(HTML) 70 Page - STMicroelectronics |
|
70 / 105 page ![]() M24LRxx layer AN3985 70/105 Doc ID 022255 Rev 2 M24LRxx_Read_Single_Block function This function sends, through the CR95HF, a read single block command to a contactless tag in the field. M24LRxx_Write_Single_Block function This function sends, through the CR95HF, a write single block command to a contactless tag in the field. Table 116. M24LRxx_Read_Single_Block function description Prototype u8 M24LRxx_Read_Single_Block(ISO15693_Tag* MyTag, const u8 Request_flags, const u8* Tag_UID, const u16 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) (2) Tag_UID: pointer on the UID (optional) block_number: address of the block to read (3) 1. The Address flag indicates if Tag_UID field will be added to the command (addressed mode). 2. If the memory size is more than 8 kbit, the protocol extension flag of request flags should be set. 3. If the memory size is more than 8 kbit, the block number is composed by two bytes. Output parameter MyTag: pointer on the structure that contains the tag response Return parameter ISO15693_COMMAND_ERROR_CODE: The command failed. ISO15693_ERROR_REQUEST_FLAGS_CODE: The inventory flag is set. ISO15693_COMMAND_SUCCESS_CODE: The tag answered the command. Table 117. M24LRxx_Write_Single_Block function description Prototype u8 M24LRxx_Write_Single_Block(ISO15693_Tag* MyTag, const u8 Request_flags, const u8* Tag_UID, const u16 Block_number, 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) (2) Tag_UID: pointer on the UID (optional) block_number: address of the block to read (3) Data: data to write into the contactless tag memory 1. The Address flag indicates if Tag_UID field will be added to the command (addressed mode). 2. If the memory size is more than 8 kbit, the protocol extension flag of request flags should be set. 3. If the memory size is more than 8 kbit, the block number is composed by two bytes. Output parameter MyTag: pointer on the structure that contains the tag response Return parameter M24LRxx_ERROR_CODE: The command failed. M24LRxx_ERROR_PARAMETERS_REQUEST_FLAGS: The inventory flag is set. M24LRxx_SUCCESS_CODE: The tag answered the command. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |