| Electronic Components Datasheet Search |
|
AN3985 Datasheet(PDF) 72 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3985 Datasheet(HTML) 72 Page - STMicroelectronics |
|
72 / 105 page ![]() M24LRxx layer AN3985 72/105 Doc ID 022255 Rev 2 M24LRxx_Get_Multiple_Blocks_Security_Status function This function sends, through the CR95HF, a get multiple blocks security status command to a contactless tag in the field. Note: Received data is stored into the internal EEPROM of the MCU. M24LRxx_Write_Sector_Password function This function sends, through the CR95HF, a write sector password command to a contactless tag in the field. Table 120. M24LRxx_Get_Multiple_Blocks_Security_Status function description Prototype u8 M24LRxx_Get_Multiple_Blocks_Security_Status(ISO15693_Tag* MyTag, const u8 Request_flags, const u8* Tag_UID, const u16 First_Block_number, const u8 Number_of_Blocks); 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) Number_of_Blocks: number of blocks to read after the first one 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. Table 121. M24LRxx_Write_Sector_Password function description Prototype u8 M24LRxx_Write_Sector_Password(ISO15693_Tag* MyTag, const u8 Request_flags, const u8* Tag_UID,const u8 Password_Number ,const u8* Password); 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) Password_Number: number identifying the password (between 1 and 3) Password: password to write 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 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 |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |