[riot-notifications] [RIOT-OS/RIOT] core/bitarithm: introduce bitarithm_get/set_masked(), convert pca9685 (#12238)

Kaspar Schleiser notifications at github.com
Mon Sep 16 22:17:30 CEST 2019


> Now to set `bar` in `byte` you would do `mask=0b11110000`, the if `byte=0b00000110` and `bit=0b1001` => `result = 0b10010110`.

Ah, thanks!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12238#issuecomment-531940540
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190916/5f2a5069/attachment.htm>


More information about the notifications mailing list