Oh, I have checked question 2, the mask is actually in CFG register.
But are the address match & byte complete interrupt is none-mask interrupt? Since no mask for them.
1)PSoC3 I2C_CSR.bit3 (address) (0x49d7) was descripted in TRM as be cleared by firmware writing '0'.
But in EZI2C_INT.c generated by creator, ISR function never write this bit '0' to clear it. Is this bit will be cleared by any accessing instead of writing '0' ?
This bit is cleared in the EzI2C Interrupt routine. If you look at lines 301 and 319 of the ISR you will see that the CSR register is written to. In these writes the address bit is not written with a 1, so it is cleared.
Oh, yeh, I see.
So how about the address match & byte complete interrupt? They are non-mask?
Thanks for the reply.