| 전자부품 데이터시트 검색엔진 |
|
AN3985 데이터시트(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3985 데이터시트(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 |
|
링크 URL |
| 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 |