English
Language : 

AN3375 Datasheet, PDF (16/73 Pages) STMicroelectronics – CR95HF library for ISO15693 and Dual Interface EEPROM products
CR95HF low level layer
AN3375
2.3.6
RdReg function
This function sends a RdReg command to the CR95HF to read the CR95HF internal
register.
Table 12. CR95HF_RdReg function description
Function description
Prototype
Input parameter
Output parameter
Return parameter
result = int8_t CR95HF_RdReg(uc8
Length,uc8 Address,uc8 RegCount,uc8
Flags,uint8_t *pResponse);
Length : Number of bytes (Address+RegCount+Flags)
Address: register address
RegCount: nb of byte to read
Flags: ST reserved (must be 0x00)
pResponse : pointer to CR95HF response
CR95HF_ERRORCODE_PARAMETER: function failed
CR95HF_SUCCESS_CODE: function successful
CR95HF_ERRORCODE_PARAMETERLENGTH:
parameter length is erroneous
2.3.7
BaudRate function
This function sends a BaudRate command to the CR95HF. It allows to configure the UART
baudrate.
Table 13. CR95HF_BaudRate function description
Function description
Prototype
Input parameter
Output parameter
Return parameter
result = int8_t CR95HF_BaudRate (uc8
BaudRate,uint8_t *pResponse);
BaudRate: new baud rate = 13.56/(2*BaudRate+2) Mbps
pResponse : pointer to the CR95HF response
CR95HF_SUCCESS_CODE
For more details on this command, please refer to CR95HF datasheet.
16/73
Doc ID 018637 Rev 1