Revision 1c1b3372
| modules/PowerManagement_1-1/module.h | ||
|---|---|---|
| 34 | 34 |
*/ |
| 35 | 35 |
/*===========================================================================*/ |
| 36 | 36 |
|
| 37 |
/* |
|
| 37 |
/**
|
|
| 38 | 38 |
* @brief Makro to store data in the core coupled memory (ccm). |
| 39 | 39 |
* Example: |
| 40 | 40 |
* int compute_buffer[128] CCM_RAM; |
| 41 | 41 |
* |
| 42 | 42 |
* @note The ccm is not connected to any bus system. |
| 43 | 43 |
*/ |
| 44 |
#define CCM_RAM __attribute__((section(".ram4"), aligned(4)))
|
|
| 44 |
#define CCM_RAM(...) __attribute__((section(".ram4"), ##__VA_ARGS__))
|
|
| 45 | 45 |
|
| 46 |
/* |
|
| 46 |
/**
|
|
| 47 | 47 |
* @brief Makro to store data in the ethernet memory (eth). |
| 48 | 48 |
* Example: |
| 49 | 49 |
* int dma_buffer[128] ETH_RAM; |
| 50 | 50 |
* |
| 51 | 51 |
* @note The eth is a dedicated memory block with its own DMA controller. |
| 52 | 52 |
*/ |
| 53 |
#define ETH_RAM __attribute__((section(".ram2"), aligned(4)))
|
|
| 53 |
#define ETH_RAM(...) __attribute__((section(".ram2"), ##__VA_ARGS__))
|
|
| 54 | 54 |
|
| 55 |
/* |
|
| 55 |
/**
|
|
| 56 | 56 |
* @brief Makro to store data in the backup memory (bckp). |
| 57 | 57 |
* Example: |
| 58 | 58 |
* int backup_buffer[128] BCKP_RAM; |
| 59 | 59 |
* |
| 60 | 60 |
* @note The eth is a dedicated memory block with its own DMA controller. |
| 61 | 61 |
*/ |
| 62 |
#define BCKP_RAM __attribute__((section(".ram5"), aligned(4)))
|
|
| 62 |
#define BCKP_RAM(...) __attribute__((section(".ram5"), ##__VA_ARGS__))
|
|
| 63 | 63 |
|
| 64 | 64 |
/** @} */ |
| 65 | 65 |
|
Also available in: Unified diff