Struct alloc_cortex_m::Heap [] [src]

pub struct Heap { /* fields omitted */ }

A heap allocator

Methods

impl Heap
[src]

Initializes the heap

This method must be called before you run any code that makes use of the allocator.

This method must be called exactly ONCE.

heap_bottom is the address where the heap will be located. Note that heap grows "upwards", towards larger addresses.

heap_size is the size of the heap in bytes