Loading...
Searching...
No Matches
hsem_map.h
1#pragma once
2
3/******************************************************************************
4 * Semaphores
5 * THIS SHALL NO BE CHANGED AS THESE SEMAPHORES ARE USED AS WELL ON THE CM0+
6 *****************************************************************************/
11#define CFG_HW_PWR_STANDBY_SEMID 10
23#define CFG_HW_THREAD_NVM_SRAM_SEMID 9
24
36#define CFG_HW_BLE_NVM_SRAM_SEMID 8
37
49#define CFG_HW_BLOCK_FLASH_REQ_BY_CPU2_SEMID 7
50
57#define CFG_HW_BLOCK_FLASH_REQ_BY_CPU1_SEMID 6
58
66#define CFG_HW_CLK48_CONFIG_SEMID 5
67
68/* Index of the semaphore used to manage the entry Stop Mode procedure */
69#define CFG_HW_ENTRY_STOP_MODE_SEMID 4
70
71/* Index of the semaphore used to access the RCC */
72#define CFG_HW_RCC_SEMID 3
73
74/* Index of the semaphore used to access the FLASH */
75#define CFG_HW_FLASH_SEMID 2
76
77/* Index of the semaphore used to access the PKA */
78#define CFG_HW_PKA_SEMID 1
79
80/* Index of the semaphore used to access the RNG */
81#define CFG_HW_RNG_SEMID 0