Skip to content

These module docs are in beta and may be incomplete.

modm:architecture:memory

Content

// Function
void* operator new(size_t size, modm::MemoryTraits traits) noexcept;
void* operator new[](size_t size, modm::MemoryTraits traits) noexcept;

// Enum
enum class MemoryTrait;

// Variable
constexpr MemoryTraits modm::MemoryBackup = (MemoryTrait::AccessSBus | MemoryTrait::TypeNonVolatile);
constexpr MemoryTraits modm::MemoryDMA = (MemoryTrait::AccessSBus | MemoryTrait::AccessDMA);
constexpr MemoryTraits modm::MemoryDMA2D = (MemoryTrait::AccessSBus | MemoryTrait::AccessDMA2D);
constexpr MemoryTraits modm::MemoryDefault = MemoryDMA;
constexpr MemoryTraits modm::MemoryExternal = (MemoryTrait::AccessSBus | MemoryTrait::TypeExternal);
constexpr MemoryTraits modm::MemoryFastCode = (MemoryTrait::AccessIBus | MemoryTrait::TypeCoreCoupled);
constexpr MemoryTraits modm::MemoryFastData = (MemoryTrait::AccessDBus | MemoryTrait::TypeCoreCoupled);

// Typedef
using modm::MemoryTraits = typedef Flags16<MemoryTrait>;

Dependencies

modm:architecture:memory modm_architecture_memory modm: architecture: memory modm_architecture modm: architecture modm_architecture_memory->modm_architecture modm_architecture_register modm: architecture: register modm_architecture_memory->modm_architecture_register modm_board_disco-f469ni modm: board: disco-f469ni modm_board_disco-f469ni->modm_architecture_memory modm_platform_core modm: platform: core modm_platform_core->modm_architecture_memory