mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 17:13:34 +08:00
Doc comment
This commit is contained in:
@@ -42,6 +42,13 @@ public:
|
|||||||
StaticAssert<sizeof(uint8_t) == 1>::check();
|
StaticAssert<sizeof(uint8_t) == 1>::check();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Write/read calls interpret bytes as bit arrays, 8 bits per byte, where the most
|
||||||
|
* significant bits have lower index, i.e.:
|
||||||
|
* Hex: 55 2d
|
||||||
|
* Bits: 01010101 00101101
|
||||||
|
* Indices: 0 .. 7 8 .. 15
|
||||||
|
*/
|
||||||
int write(const uint8_t* bytes, const int bitlen);
|
int write(const uint8_t* bytes, const int bitlen);
|
||||||
int read(uint8_t* bytes, const int bitlen);
|
int read(uint8_t* bytes, const int bitlen);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user