I read the datasheet of w5500 and understood the following below.
The protocol i am using is TCP.
- To enable socket n interrupt, i need to set SIMR and Sn_IMR registers.
- The interrupt is asserted based upon the value of Sn_IR register which is set by socket APIs.
- The interrupt is cleared by writing 1 into the particular interrupt bit of Sn_IR register.
Tell me whether my understandings above were correct or not.
Hari BabU T D.