| 전자부품 데이터시트 검색엔진 |
|
AN1105 데이터시트(PDF) 73 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1105 데이터시트(HTML) 73 Page - STMicroelectronics |
|
73 / 100 page ![]() 73/100 ST7 pCAN PERIPHERAL DRIVER message_ident = (((unsigned int)CANIDHR)<<8)|CANIDLR; message_ident >>= FILTER_SHIFT; //Appropriate rigth shift message_ident &= 0xFFF0; //Filtering function #ifdef FILTERS_ENABLED /*Conditionnal compilation*/ filtering_status=CAN_Filter(message_ident); //Filtering fonction call if (filtering_status==CAN_FILTER_NO_MATCH) { Clr_RDY_Bit(); //Frees the hardware buffer for a new reception return CAN_FILTERING_FAILURE; } #endif //Tests if remote frame if(ValBit(CANIDLR,4)) { Clr_RDY_Bit(); CAN_Remote_Reception_Notification(message_ident); return CAN_RECEIVE_REMOTE; } //Else, saves the datas in a buffer passed by the application soft_buffer_ptr=CAN_Request_Buffer(message_ident); //Requests a buffer for the messsage that successfully passed the filters if (soft_buffer_ptr==NULL) //The buffer must exist prior to beeing filled !!! { Clr_RDY_Bit(); return CAN_NO_BUFFER; //Kind of "software overrun" } if (soft_buffer_ptr->buffer_rw) { Clr_RDY_Bit(); return CAN_RECEIVE_FATAL; } soft_buffer_ptr->buffer_rw=CTRUE;//Locks the buffer if (!(soft_buffer_ptr->buffer_free)) { |
|
링크 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 |