| Electronic Components Datasheet Search |
|
AN1105 Datasheet(PDF) 74 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1105 Datasheet(HTML) 74 Page - STMicroelectronics |
|
74 / 100 page ![]() 74/100 ST7 pCAN PERIPHERAL DRIVER Clr_RDY_Bit(); soft_buffer_ptr->buffer_rw=CFALSE;//If the buffer is full, releases it return CAN_RECEIVE_FATAL; //and exit } receive_status=CAN_Store_Rcvd_Msg(soft_buffer_ptr); //Saves message and re- leases the hardware buffer //Writing identifier : *(int*)soft_buffer_ptr = message_ident; //End of routine : if (receive_status!=CAN_RECEIVE_SUCCESS) { Clr_RDY_Bit(); soft_buffer_ptr->buffer_rw=CFALSE;//In case of failure, releases the buffer and exits return CAN_RECEIVE_FATAL; } soft_buffer_ptr->buffer_free=CFALSE; //In case of success, marks the buffer as in use soft_buffer_ptr->buffer_rw=CFALSE; //Unlock it CAN_Data_Reception_Notification(message_ident); return CAN_RECEIVE_SUCCESS; } /*-------------------------------------------------------------------------- ROUTINE NAME : CAN_Interrupt INPUT/OUTPUT : -- /-- DESCRIPTION : interrupt processing function COMMENTS : Each case must be taken into account. Calls CAN_Get_IT_Type CAN_Reception_Notification CAN_Transmission_Notification CAN_Fill_Transmission_Buffer CAN_Dominant_Bit_Reception_Notification May call (optionnal) : CAN_Transmission_Error_Notification CAN_Bus_Passive_Notification CAN_Bus_Active_Notification CAN_Bus_Off_Notification |
|
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 |