Difference between SCB_SLAVE_CMPLT_CALLBACK and SCB_ISR_EXIT_CALLBACK

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
SaGh_4441651
Level 3
Level 3
First like received First like given

I understand that SCB_SLAVE_CMPLT_CALLBACK is only valid if the I2C is set up as slave. But what does SCB_ISR_EXIT_CALLBACK does in the same situation where the I2C is in slave mode?

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

SCB_ISR_EXIT_CALLBACK is called at the very end of the interrupt handler to allow the user some processing. The initial cause of the interrupt can be fired by FIFO and some other sources. So this is not a good place to be informed of a complete transfer.

Bob

View solution in original post

1 Reply
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

SCB_ISR_EXIT_CALLBACK is called at the very end of the interrupt handler to allow the user some processing. The initial cause of the interrupt can be fired by FIFO and some other sources. So this is not a good place to be informed of a complete transfer.

Bob