Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

Microchip MSSP Module: Does a Write Collision (WCOL) Set Interrupt Flag?

$
0
0
I am reviewing and editing some working I2C code from January, 2016. In my notes, I wrote that a write collision per se does not set an interrupt flag. That is, it can only be detected by testing the SSPxCON1 register. Unfortunately, I neglected to reference my comment. Elsewhere, I see "hints" that it is one of the events that can set the SSPxIF.

View attachment 105110

If it sets that flag, then one wouldn't need to test SSPxCON1, WCOL (as I currently do) and could rely on the...

Microchip MSSP Module: Does a Write Collision (WCOL) Set Interrupt Flag?

Viewing all articles
Browse latest Browse all 4923

Trending Articles