Public Attributes | |
uint16_t | hd |
struct PmHeapDesc_s * | prev |
struct PmHeapDesc_s * | next |
MSb LSb 7 6 5 4 3 2 1 0 pchunk-> +-+-+-+-+-+-+-+-+ | S[9:2] | S := Size of the chunk (2 LSbs dropped) +-+-+-----------+ F := Chunk free bit (not in use) |F|R| S[15:10] | R := Bit reserved for future use +-+-+-----------+ | P(L) | P := hd_prev: Pointer to previous node | P(H) | N := hd_next: Pointer to next node | N(L) | | N(H) | Theoretical min size == 6 +---------------+ Effective min size == 8 | unused space | (12 on 32-bit MCUs) ... ... | end chunk | +---------------+
uint16_t PmHeapDesc_s::hd |
Heap descriptor
struct PmHeapDesc_s* PmHeapDesc_s::next [read] |
Ptr to next heap chunk
struct PmHeapDesc_s* PmHeapDesc_s::prev [read] |
Ptr to prev heap chunk