1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

6 Commits

Author SHA1 Message Date
Benjamin Valentin
d406f12028 sys/bitfield: improve documentation of bf_get_unset() 2022-03-08 10:28:31 +01:00
Benjamin Valentin
f3e519e27a sys/bitfield: add support for bitfield operations 2022-03-08 10:28:16 +01:00
Martine Lenders
a6623f834f bitfield: unify order
Currently the bitfield type mixes up the order of bits: While the byte
order is big-endian (most significant byte first), the bit order of each
single byte within the bitfield is little-endian (most significant bit
last). While this isn't a problem for most applications of the bitfield
type it becomes one when sending the bitfield over the network (as done
e.g. in the [ACKs of Selective Fragment Recovery][SFR-ACKs]).

This change unifies byte order and bit order to both be most
significant bX first.

[SFR-ACKs]: https://tools.ietf.org/html/draft-ietf-6lo-fragment-recovery-07
2019-11-20 18:53:11 +01:00
fb9a862177 sys: bitfield: add bf_get_unset 2015-07-07 17:49:17 +02:00
3965e889e1 sys: bitfield.h: some fixes 2015-05-29 15:56:23 +02:00
Oleg Hahm
2ab7565d99 bitfield: introduce bitfield operators 2015-05-28 13:27:41 +02:00