| поискавой системы для электроныых деталей |
|
AN3985 датащи(PDF) 27 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3985 датащи(HTML) 27 Page - STMicroelectronics |
|
27 / 105 page ![]() AN3985 CR95HF low level layer Doc ID 022255 Rev 2 27/105 CR95HF_Wait_Wake_up_From_Idle function The purpose of this function is to wait for CR95HF to exit the idle state and retrieve what caused the wake-up. The method proposed is to wait for the CR95HF answer and then to send several echo commands in order to resume communication and clear the CR95HF response FIFO stack. This function waits for CR95HF to wake-up on its own (internal timer, tag detection). After this, the CR95HF_Wake_up_CR95HF function may be called to wake-up the CR95HF with NNS or IRQ_IN interrupt. CR95HF_Wake_up_CR95HF function This function wakes up the CR95HF device from idle mode. The method proposed is to send several echo commands in order to resume communication and clear the CR95HF response FIFO stack. Table 36. CR95HF_Wait_Wake_up_From_Idle function description Prototype u8 CR95HF_Wait_Wake_up_from_Idle(CR95HF_ResponseReceiving* CR95HF_Response_Idle,CR95HF_Idle_Config* Idle_Config, u8 Number_of_DELAY_BEFORE_TIMEOUT_250MS); Input parameter Idle_Config: pointer on the structure to update with the new last reason of wake-up Number_of_DELAY_BEFORE_TIMEOUT_250MS: number of periods of 250ms duration to wait before aborting the procedure Output parameter Idle_Config: pointer on the structure to write the High compare value and low compare value for tag detection and the last wake-up reason Return parameter EXIT_COMMUNICATION_OK (CR95HF_SUCCESS_CODE): communication is possible. EXIT_COMMUNICATION_TIMEOUT: communication is not possible. Table 37. CR95HF_Wake_up_CR95HF function description Prototype u8 CR95HF_Wake_up_CR95HF(CR95HF_Idle_Config* Idle_Config); Input parameter Idle_Config: contains the wake-up condition Output parameter None Return parameter CR95HF_SUCCESS_CODE: the CR95HF woke up, communication is possible. CR95HF_ERROR_CODE: fail to wake-up the CR95HF, either the CR95HF waits for another event (tag detection, timer) or communication cannot be resumed. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |