| Electronic Components Datasheet Search |
|
AN1105 Datasheet(PDF) 18 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1105 Datasheet(HTML) 18 Page - STMicroelectronics |
|
18 / 100 page ![]() 18/100 ST7 pCAN PERIPHERAL DRIVER Figure 11. Transmission IT Procedure – In the event of a reception IT, after having found which buffer is involved, the driver performs an optional software filtering, then notifies the application. If the cell received a remote frame, the CAN_Remote_Reception_Notification function is called. Otherwise, if the cell received data, the CAN_Request_Buffer function is called to request a buffer from your application. After the buffer is filled, the driver calls the CAN_Data_Reception_Notification function to no- tify you that the data is ready. If the DEBUG option is set, the CAN_Reception_Status func- tion is called just before leaving the IT routine, which passes the status of the reception processing procedure (Error, Success...) as a parameter. This is used to detect the causes of any problems. See “Can_custom.h File” on page 24 for more information about notification routines. Figure 12. Reception IT Procedure CAN Bus Successful Transmission IT Notification Error notification, only if DEBUG defined Fills buffer with next data Clears flags Next Transmission attempt What see Driver Processing you 1 3 4 5 2 Application ST Driver ST7 Hardware CAN Bus Successful Reception IT Notification: Error notification Only if DEBUG defined Save data in software buffer Buffer free for What see Driver Processing reception Data or Remote Notification (case data) (case data) + clears flags you Application ST Driver ST7 Hardware 1 2 3 4 5 next |
|
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 |