| Electronic Components Datasheet Search |
|
AN3985 Datasheet(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3985 Datasheet(HTML) 13 Page - STMicroelectronics |
|
13 / 105 page ![]() AN3985 CR95HF low level layer Doc ID 022255 Rev 2 13/105 4 CR95HF low level layer This layer is composed of: ● the lib_CR95HF.c source file ● the lib_CR95HF.h include file 4.1 Overview This layer supports all the commands defined in the CR95HF datasheet. Each CR95HF command corresponds to a specific function. As an example, the function calling the ECHO command is u8 CR95HF_Echo (void). Additional functions are described in Table 8: CR95HF layer additional functions. Application developers can use the functions described in Table 7: CR95HF layer functions based on CR95HF commands to create their own higher level functions. Refer to the CR95HF datasheet for more details on the commands. 4.2 Structures 4.2.1 Command format A command from MCU to CR95HF is composed of three fields: ● command code ● length ● data The dedicated structure is CR95HF_CommandSending. Table 2 lists the fields of a generic command to CR95HF, the number of bytes and the name of the dedicated structure member. The structure definition of a command to CR95HF is: typedef struct { u8 cmd_code; u8 data_length; u8 data[MAX_DATASENT_LENGTH]; }CR95HF_CommandSending; Table 2. Command fields formats Field Length Dedicated structure Command code 1 byte cmd_code Length 1 byte data_lenght Data Up to 255 bytes data |
|
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 |