Page MenuHomeFreeBSD

twsi: some variants clear interrupt flag by writing 0, others by writing 1
ClosedPublic

Authored by avg on Sep 3 2020, 8:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 19, 3:34 PM
Unknown Object (File)
Tue, Mar 19, 3:09 PM
Unknown Object (File)
Jan 10 2024, 2:02 AM
Unknown Object (File)
Dec 10 2023, 1:34 AM
Unknown Object (File)
Dec 3 2023, 4:48 PM
Unknown Object (File)
Dec 3 2023, 4:37 PM
Unknown Object (File)
Dec 3 2023, 4:37 PM
Unknown Object (File)
Dec 3 2023, 4:04 PM
Subscribers

Details

Summary

Make that distinction more explicit and regular in the code.
The difference in behavior is documented in the respective datasheets.

Previously, the code handled the distinction by writing the control
register multiple times where at least one write was zero and another
was one.

This can be considered a follow-up to rS363021.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

avg requested review of this revision.Sep 3 2020, 8:23 AM

Mhm I was sure that the read was needed and I think it was H3 that I tested that with, but since you have H3 I guess I was wrong.

This revision is now accepted and ready to land.Sep 3 2020, 9:31 AM