hi. all.
I have question.
ECAPIntStatusClear Function in the Starterware 2.00.00.07/drivers/ecap.c is not operated.
Original source is below. But This is not worked.
void ECAPIntStatusClear(unsigned int baseAdd, unsigned int flag)
{
HWREGH(baseAdd + ECAP_ECCLR) = HWREGH(baseAdd + ECAP_ECCLR) & flag;
}
Seems to be modified as follows. isn't it?
==> HWREGH(baseAdd + ECAP_ECCLR) = HWREGH(baseAdd + ECAP_ECFLG) & flag;