Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Devicetree SRAM API

Macros

#define DT_CHOSEN_SRAM_ADDR   DT_REG_ADDR(DT_CHOSEN(zephyr_sram))
 Get chosen SRAM node address.
#define DT_CHOSEN_SRAM_SIZE   DT_REG_SIZE(DT_CHOSEN(zephyr_sram))
 Get chosen SRAM node size.

Detailed Description

Macro Definition Documentation

◆ DT_CHOSEN_SRAM_ADDR

#define DT_CHOSEN_SRAM_ADDR   DT_REG_ADDR(DT_CHOSEN(zephyr_sram))

#include <sram.h>

Get chosen SRAM node address.

Returns
Absolute address of chosen SRAM node, if it exists

◆ DT_CHOSEN_SRAM_SIZE

#define DT_CHOSEN_SRAM_SIZE   DT_REG_SIZE(DT_CHOSEN(zephyr_sram))

#include <sram.h>

Get chosen SRAM node size.

Returns
Size of chosen SRAM node, if it exists