ADuCM4x50 Device Drivers API Reference Manual
Release 4.0.0.0
adi_global_config.h
1
13
#ifndef ADI_GLOBAL_CONFIG_H
14
#define ADI_GLOBAL_CONFIG_H
15
22
#define ADI_FLCC_ENABLE_BUS_ERR (0u)
23
25
#define ADI_SRAM_PARITY_ENABLE (0u)
26
41
#define ADI_CFG_RTOS_NO_OS (1)
42
43
#define ADI_CFG_RTOS_MICRIUM_III (2)
44
45
#define ADI_CFG_RTOS_FREERTOS (3)
46
47
#define ADI_CFG_RTOS_THREADX (4)
48
49
#define ADI_CFG_RTOS_MICRIUM_II (5)
50
60
#define ADI_CFG_RTOS ADI_CFG_RTOS_NO_OS
61
85
#if ((ADI_CFG_RTOS != ADI_CFG_RTOS_NO_OS))
86
#define ADI_CFG_ENTER_LOW_PWR_MODE_SUPPORT (0)
87
#else
88
#define ADI_CFG_ENTER_LOW_PWR_MODE_SUPPORT (1)
89
#endif
90
94
/*
95
** Verify the macro configuration
96
*/
97
98
#if ((ADI_CFG_RTOS != ADI_CFG_RTOS_NO_OS) && \
99
(ADI_CFG_RTOS != ADI_CFG_RTOS_MICRIUM_II) && \
100
(ADI_CFG_RTOS != ADI_CFG_RTOS_MICRIUM_III) && \
101
(ADI_CFG_RTOS != ADI_CFG_RTOS_THREADX) && \
102
(ADI_CFG_RTOS != ADI_CFG_RTOS_FREERTOS))
103
#error "ADI_CFG_RTOS macro wrongly configured"
104
#endif
/* ADI_CFG_RTOS verification */
105
106
#if ((ADI_CFG_ENTER_LOW_PWR_MODE_SUPPORT != 0) && \
107
(ADI_CFG_ENTER_LOW_PWR_MODE_SUPPORT != 1))
108
#error "ADI_CFG_ENTER_LOW_PWR_MODE_SUPPORT macro is wrongly configured"
109
#endif
110
111
#if ((ADI_CFG_ENTER_LOW_PWR_MODE_SUPPORT == 1) && (ADI_CFG_RTOS != ADI_CFG_RTOS_NO_OS))
112
#error "ADI_CFG_ENTER_LOW_PWR_MODE_SUPPORT cannot be set to 1 in multi-threaded applications"
113
#endif
114
118
#endif
/* ADI_GLOBAL_CONFIG_H */
Include
config
adi_global_config.h
Generated on Tue Aug 31 2021 19:04:42 for ADuCM4x50 Device Drivers API Reference Manual by
1.8.15