Home
last modified time | relevance | path

Searched refs:BitIndex (Results 1 – 1 of 1) sorted by relevance

/openthread-latest/src/core/meshcop/
Dmeshcop.hpp368 uint8_t BitIndex(uint8_t aBit) const { return (mLength - 1 - (aBit / kBitsPerByte)); } in BitIndex() function in ot::MeshCoP::SteeringData
371 bool GetBit(uint8_t aBit) const { return (m8[BitIndex(aBit)] & BitFlag(aBit)) != 0; } in GetBit()
372 void SetBit(uint8_t aBit) { m8[BitIndex(aBit)] |= BitFlag(aBit); } in SetBit()
373 void ClearBit(uint8_t aBit) { m8[BitIndex(aBit)] &= ~BitFlag(aBit); } in ClearBit()