Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 176) sorted by relevance

12345678

/hal_infineon-latest/XMCLib/drivers/inc/
Dxmc1_gpio.h223 XMC_GPIO_MODE_t mode; /**< Defines the direction and characteristics of a pin */ member
231 __STATIC_INLINE bool XMC_GPIO_IsModeValid(XMC_GPIO_MODE_t mode) in XMC_GPIO_IsModeValid() argument
233 return ((mode == XMC_GPIO_MODE_INPUT_TRISTATE) || in XMC_GPIO_IsModeValid()
234 (mode == XMC_GPIO_MODE_INPUT_PULL_DOWN) || in XMC_GPIO_IsModeValid()
235 (mode == XMC_GPIO_MODE_INPUT_PULL_UP) || in XMC_GPIO_IsModeValid()
236 (mode == XMC_GPIO_MODE_INPUT_SAMPLING) || in XMC_GPIO_IsModeValid()
237 (mode == XMC_GPIO_MODE_INPUT_INVERTED_TRISTATE) || in XMC_GPIO_IsModeValid()
238 (mode == XMC_GPIO_MODE_INPUT_INVERTED_PULL_DOWN) || in XMC_GPIO_IsModeValid()
239 (mode == XMC_GPIO_MODE_INPUT_INVERTED_PULL_UP) || in XMC_GPIO_IsModeValid()
240 (mode == XMC_GPIO_MODE_INPUT_INVERTED_SAMPLING) || in XMC_GPIO_IsModeValid()
[all …]
Dxmc4_gpio.h280 XMC_GPIO_MODE_t mode; /**< Defines the direction and characteristics of a pin */ member
289 __STATIC_INLINE bool XMC_GPIO_IsModeValid(XMC_GPIO_MODE_t mode) in XMC_GPIO_IsModeValid() argument
291 return ((mode == XMC_GPIO_MODE_INPUT_TRISTATE) || in XMC_GPIO_IsModeValid()
292 (mode == XMC_GPIO_MODE_INPUT_PULL_DOWN) || in XMC_GPIO_IsModeValid()
293 (mode == XMC_GPIO_MODE_INPUT_PULL_UP) || in XMC_GPIO_IsModeValid()
294 (mode == XMC_GPIO_MODE_INPUT_SAMPLING) || in XMC_GPIO_IsModeValid()
295 (mode == XMC_GPIO_MODE_INPUT_INVERTED_TRISTATE) || in XMC_GPIO_IsModeValid()
296 (mode == XMC_GPIO_MODE_INPUT_INVERTED_PULL_DOWN) || in XMC_GPIO_IsModeValid()
297 (mode == XMC_GPIO_MODE_INPUT_INVERTED_PULL_UP) || in XMC_GPIO_IsModeValid()
298 (mode == XMC_GPIO_MODE_INPUT_INVERTED_SAMPLING) || in XMC_GPIO_IsModeValid()
[all …]
/hal_infineon-latest/mtb-hal-cat1/source/
Dcyhal_syspm.c140 …k_data_t* entry, bool* allow, cyhal_syspm_callback_state_t state, cyhal_syspm_callback_mode_t mode) in _cyhal_syspm_call_all_pm_callbacks() argument
146 (entry->ignore_modes & mode) != mode) in _cyhal_syspm_call_all_pm_callbacks()
148 *allow = entry->callback(state, mode, entry->args) || mode != CYHAL_SYSPM_CHECK_READY; in _cyhal_syspm_call_all_pm_callbacks()
174 static cy_en_syspm_status_t _cyhal_syspm_common_cb(cy_en_syspm_callback_mode_t mode, cyhal_syspm_ca… in _cyhal_syspm_common_cb() argument
177 cyhal_syspm_callback_mode_t hal_mode = _cyhal_utils_convert_pdltohal_pm_mode(mode); in _cyhal_syspm_common_cb()
206 static cy_en_syspm_status_t _cyhal_syspm_cb_sleep_deepsleep(cy_en_syspm_callback_mode_t mode, cyhal… in _cyhal_syspm_cb_sleep_deepsleep() argument
208 cy_en_syspm_status_t status = _cyhal_syspm_common_cb(mode, state); in _cyhal_syspm_cb_sleep_deepsleep()
210 if (mode == CY_SYSPM_BEFORE_TRANSITION) in _cyhal_syspm_cb_sleep_deepsleep()
218 else if (mode == CY_SYSPM_AFTER_TRANSITION) in _cyhal_syspm_cb_sleep_deepsleep()
228 …l_syspm_cb_sleep(cy_stc_syspm_callback_params_t *callback_params, cy_en_syspm_callback_mode_t mode) in _cyhal_syspm_cb_sleep() argument
[all …]
/hal_infineon-latest/mtb-pdl-cat1/drivers/include/
Dcy_usbfs_dev_drv_pvt.h43 __STATIC_INLINE uint32_t GetEndpointInactiveMode(uint32_t mode);
52 cy_en_usbfs_dev_drv_ep_management_mode_t mode,
64 cy_en_usbfs_dev_drv_ep_management_mode_t mode,
145 #define IS_EP_ISOC(mode) ((CY_USBFS_DEV_DRV_EP_CR_ISO_IN == (mode)) || \ argument
146 (CY_USBFS_DEV_DRV_EP_CR_ISO_OUT == (mode)))
199 __STATIC_INLINE uint32_t GetEndpointInactiveMode(uint32_t mode) in GetEndpointInactiveMode() argument
201 switch(mode) in GetEndpointInactiveMode()
204 mode = CY_USBFS_DEV_DRV_EP_CR_NAK_IN; in GetEndpointInactiveMode()
208 mode = CY_USBFS_DEV_DRV_EP_CR_NAK_OUT; in GetEndpointInactiveMode()
214 mode = CY_USBFS_DEV_DRV_EP_CR_DISABLE; in GetEndpointInactiveMode()
[all …]
Dcy_ctdac.h400 #define CY_CTDAC_FORMAT(mode) (((mode) == CY_CTDAC_FORMAT_UNSIGNED) || ((mode argument
401 #define CY_CTDAC_UPDATE(mode) ((mode) <= CY_CTDAC_UPDATE_STROBE_LEVEL) argument
402 #define CY_CTDAC_DEGLITCH(mode) (((mode) == CY_CTDAC_DEGLITCHMODE_NONE) \ argument
403 … || ((mode) == CY_CTDAC_DEGLITCHMODE_UNBUFFERED) \
404 || ((mode) == CY_CTDAC_DEGLITCHMODE_BUFFERED) \
405 || ((mode) == CY_CTDAC_DEGLITCHMODE_BOTH))
406 #define CY_CTDAC_OUTPUTMODE(mode) (((mode) == CY_CTDAC_OUTPUT_HIGHZ) \ argument
407 || ((mode) == CY_CTDAC_OUTPUT_VALUE) \
408 || ((mode) == CY_CTDAC_OUTPUT_VALUE_PLUS1) \
409 || ((mode) == CY_CTDAC_OUTPUT_VSSA) \
[all …]
Dcy_syspm.h1899 #define CY_SYSPM_IS_CORE_BUCK_PROFILE_VALID(mode) (((mode) == CY_SYSPM_CORE_BUCK_PROFILE_… argument
1900 … ((mode) == CY_SYSPM_CORE_BUCK_PROFILE_LP) || \
1901 … ((mode) == CY_SYSPM_CORE_BUCK_PROFILE_SKIP) || \
1902 … ((mode) == CY_SYSPM_CORE_BUCK_PROFILE_ULP))
1980 #define CY_SYSPM_IS_MISCLDO_MODE_VALID(mode) (((mode) == CY_SYSPM_MISCLDO_VCCACT) || \ argument
1981 ((mode) == CY_SYSPM_MISCLDO_VOUT))
2011 #define CY_SYSPM_IS_DEEPSLEEP_MODE_VALID(mode) (((mode) == CY_SYSPM_DEEPSLEEP) || \ argument
2012 ((mode) == CY_SYSPM_DEEPSLEEP_RAM) || \
2013 ((mode) == CY_SYSPM_DEEPSLEEP_OFF))
2019 #define CY_SYSPM_IS_CORE_BUCK_MODE_VALID(mode) (((mode) == CY_SYSPM_CORE_BUCK_MODE_LP) … argument
[all …]
Dcy_crypto_core_hkdf.h82 …ypto_status_t Cy_Crypto_Core_Hkdf_Extract(CRYPTO_Type *base, cy_en_crypto_sha_mode_t mode, in Cy_Crypto_Core_Hkdf_Extract() argument
96 (void)mode; /* Suppress a compiler warning about unused variables */ in Cy_Crypto_Core_Hkdf_Extract()
107 … tmpResult = Cy_Crypto_Core_V2_Hkdf_Extract(base, mode, salt, saltLength, ikm, ikmLength, prk); in Cy_Crypto_Core_Hkdf_Extract()
151 …rypto_status_t Cy_Crypto_Core_Hkdf_Expand(CRYPTO_Type *base, cy_en_crypto_sha_mode_t mode, in Cy_Crypto_Core_Hkdf_Expand() argument
166 (void)mode; /* Suppress a compiler warning about unused variables */ in Cy_Crypto_Core_Hkdf_Expand()
178 …tmpResult = Cy_Crypto_Core_V2_Hkdf_Expand(base, mode, prk, prkLength, info, infoLength, okm, okmLe… in Cy_Crypto_Core_Hkdf_Expand()
225 …cy_en_crypto_status_t Cy_Crypto_Core_Hkdf(CRYPTO_Type *base, cy_en_crypto_sha_mode_t mode, in Cy_Crypto_Core_Hkdf() argument
243 (void)mode; /* Suppress a compiler warning about unused variables */ in Cy_Crypto_Core_Hkdf()
257 … tmpResult = Cy_Crypto_Core_V2_Hkdf(base, mode, salt, saltLength, ikm, ikmLength, info, infoLength, in Cy_Crypto_Core_Hkdf()
Dcy_crypto_core_sha.h50 cy_en_crypto_sha_mode_t mode);
89 cy_en_crypto_sha_mode_t mode) in Cy_Crypto_Core_Sha() argument
96 tmpResult = Cy_Crypto_Core_V1_Sha(base, message, messageSize, digest, mode); in Cy_Crypto_Core_Sha()
102 tmpResult = Cy_Crypto_Core_V2_Sha(base, message, messageSize, digest, mode); in Cy_Crypto_Core_Sha()
135 cy_en_crypto_sha_mode_t mode, in Cy_Crypto_Core_Sha_Init() argument
143 tmpResult = Cy_Crypto_Core_V1_Sha_Init(base, shaHashState, mode, shaBuffers); in Cy_Crypto_Core_Sha_Init()
149 tmpResult = Cy_Crypto_Core_V2_Sha_Init(base, shaHashState, mode, shaBuffers); in Cy_Crypto_Core_Sha_Init()
Dcy_crypto_core_hmac.h53 cy_en_crypto_sha_mode_t mode);
100 cy_en_crypto_sha_mode_t mode) in Cy_Crypto_Core_Hmac() argument
107 tmpResult = Cy_Crypto_Core_V1_Hmac(base, hmac, message, messageSize, key, keyLength, mode); in Cy_Crypto_Core_Hmac()
113 tmpResult = Cy_Crypto_Core_V2_Hmac(base, hmac, message, messageSize, key, keyLength, mode); in Cy_Crypto_Core_Hmac()
146 …_Type *base, cy_stc_crypto_hmac_state_t *hmacState, cy_en_crypto_sha_mode_t mode, void *hmacBuffer) in Cy_Crypto_Core_Hmac_Init() argument
159 …tmpResult = Cy_Crypto_Core_V2_Hmac_Init(base, hmacState, mode, (cy_stc_crypto_v2_hmac_buffers_t *)… in Cy_Crypto_Core_Hmac_Init()
165 (void)mode; /* Suppress a compiler warning about unused variables */ in Cy_Crypto_Core_Hmac_Init()
Dcy_mcwdt.h575 #define CY_MCWDT_IS_LOWER_LIMIT_MODE_VALID(mode) ((CY_MCWDT_LOWER_LIMIT_MODE_NOTHING == ( argument
576 … (CY_MCWDT_LOWER_LIMIT_MODE_INT == (mode)) || \
577 … (CY_MCWDT_LOWER_LIMIT_MODE_RESET == (mode)))
584 #define CY_MCWDT_IS_MODE_VALID(mode) ((CY_MCWDT_MODE_NONE == (mode)) || \ argument
585 (CY_MCWDT_MODE_INT == (mode)) || \
586 (CY_MCWDT_MODE_RESET == (mode)) || \
587 (CY_MCWDT_MODE_INT_RESET == (mode)))
626 …id Cy_MCWDT_SetMode(MCWDT_STRUCT_Type *base, cy_en_mcwdtctr_t counter, cy_en_mcwdtmode_t mode);
650 …itMode(MCWDT_STRUCT_Type *base, cy_en_mcwdtlowerlimit_t counter, cy_en_mcwdtlowerlimitmode_t mode);
968 …NE void Cy_MCWDT_SetMode(MCWDT_STRUCT_Type *base, cy_en_mcwdtctr_t counter, cy_en_mcwdtmode_t mode) in Cy_MCWDT_SetMode() argument
[all …]
Dcy_ctb.h460 #define CY_CTB_OAMODE(mode) (((mode) == CY_CTB_MODE_OPAMP1X) \ argument
461 || ((mode) == CY_CTB_MODE_OPAMP10X) \
462 || ((mode) == CY_CTB_MODE_COMP))
471 #define CY_CTB_CURRENTMODE(mode) (((mode) == CY_CTB_CURRENT_HIGH_ACTIVE) \ argument
472 || ((mode) == CY_CTB_CURRENT_HIGH_ACTIVE_DEEPSLEEP) \
473 || ((mode) == CY_CTB_CURRENT_LOW_ACTIVE_DEEPSLEEP))
474 #define CY_CTB_SAMPLEHOLD(mode) ((mode) <= CY_CTB_SH_HOLD) argument
1071 void Cy_CTB_SetOutputMode(CTBM_Type *base, cy_en_ctb_opamp_sel_t opampNum, cy_en_ctb_mode_t mode);
1080 void Cy_CTB_DACSampleAndHold(CTBM_Type *base, cy_en_ctb_sample_hold_mode_t mode);
Dcy_sar.h843 #define CY_SAR_TRIGGER(mode) (((mode) == CY_SAR_TRIGGER_MODE_FW_ONLY) || \ argument
844 ((mode) == CY_SAR_TRIGGER_MODE_FW_AND_HWEDGE) || \
845 ((mode) == CY_SAR_TRIGGER_MODE_FW_AND_HWLEVEL))
846 #define CY_SAR_RETURN(mode) (((mode) == CY_SAR_RETURN_STATUS) || \ argument
847 ((mode) == CY_SAR_WAIT_FOR_RESULT) || \
848 ((mode) == CY_SAR_RETURN_STATUS_INJ) || \
849 ((mode) == CY_SAR_WAIT_FOR_RESULT_INJ))
850 #define CY_SAR_STARTCONVERT(mode) (((mode) == CY_SAR_START_CONVERT_SINGLE_SHOT) || ((mode) ==… argument
1552 …INE void Cy_SAR_SimultStart(PASS_Type *base, uint32_t sarMask, cy_en_sar_start_convert_sel_t mode);
1578 …epCallback(const cy_stc_syspm_callback_params_t *callbackParams, cy_en_syspm_callback_mode_t mode);
[all …]
Dcy_scb_uart.h699 …eepSleepCallback(cy_stc_syspm_callback_params_t *callbackParams, cy_en_syspm_callback_mode_t mode);
700 …ibernateCallback(cy_stc_syspm_callback_params_t *callbackParams, cy_en_syspm_callback_mode_t mode);
935 #define CY_SCB_UART_IS_MODE_VALID(mode) ( (CY_SCB_UART_STANDARD == (mode)) || \ argument
936 (CY_SCB_UART_SMARTCARD == (mode)) || \
937 (CY_SCB_UART_IRDA == (mode)) )
965 …CB_UART_IS_OVERSAMPLE_VALID(ovs, mode, lpRx) ( ((CY_SCB_UART_STANDARD == (mode)) || (CY_SCB_UA… argument
973 #define CY_SCB_UART_IS_MUTLI_PROC_VALID(mp, mode, width, parity) ( (mp) ? ((CY_SCB_UART_STANDARD… argument
/hal_infineon-latest/mtb-pdl-cat1/drivers/source/
Dcy_crypto_core_sha_v2.c91 cy_en_crypto_sha_mode_t mode, in Cy_Crypto_Core_V2_Sha_Init() argument
184 switch (mode) in Cy_Crypto_Core_V2_Sha_Init()
191 hashState->mode = (uint32_t)mode; in Cy_Crypto_Core_V2_Sha_Init()
205 hashState->mode = (uint32_t)mode; in Cy_Crypto_Core_V2_Sha_Init()
216 hashState->mode = (uint32_t)mode; in Cy_Crypto_Core_V2_Sha_Init()
230 hashState->mode = (uint32_t)mode; in Cy_Crypto_Core_V2_Sha_Init()
241 hashState->mode = (uint32_t)mode; in Cy_Crypto_Core_V2_Sha_Init()
252 hashState->mode = (uint32_t)mode; in Cy_Crypto_Core_V2_Sha_Init()
263 hashState->mode = (uint32_t)mode; in Cy_Crypto_Core_V2_Sha_Init()
275 hashState->mode = (uint32_t)mode; in Cy_Crypto_Core_V2_Sha_Init()
[all …]
Dcy_crypto_core_sha_v1.c131 cy_en_crypto_sha_mode_t mode, in Cy_Crypto_Core_V1_Sha_Init() argument
197 switch (mode) in Cy_Crypto_Core_V1_Sha_Init()
205 hashState->mode = (uint32_t)mode; in Cy_Crypto_Core_V1_Sha_Init()
221 hashState->mode = (uint32_t)mode; in Cy_Crypto_Core_V1_Sha_Init()
235 hashState->mode = (uint32_t)mode; in Cy_Crypto_Core_V1_Sha_Init()
252 hashState->mode = (uint32_t)mode; in Cy_Crypto_Core_V1_Sha_Init()
266 hashState->mode = (uint32_t)mode; in Cy_Crypto_Core_V1_Sha_Init()
280 hashState->mode = (uint32_t)mode; in Cy_Crypto_Core_V1_Sha_Init()
294 hashState->mode = (uint32_t)mode; in Cy_Crypto_Core_V1_Sha_Init()
582 cy_en_crypto_sha_mode_t mode) in Cy_Crypto_Core_V1_Sha() argument
[all …]
Dcy_crypto_core_hkdf_v2.c46 static uint32_t Cy_Crypto_Core_sha_hashSize(cy_en_crypto_sha_mode_t mode) in Cy_Crypto_Core_sha_hashSize() argument
50 switch (mode) in Cy_Crypto_Core_sha_hashSize()
119 …o_status_t Cy_Crypto_Core_V2_Hkdf_Extract(CRYPTO_Type *base, cy_en_crypto_sha_mode_t mode, in Cy_Crypto_Core_V2_Hkdf_Extract() argument
143 saltlen = Cy_Crypto_Core_sha_hashSize(mode); in Cy_Crypto_Core_V2_Hkdf_Extract()
152 return Cy_Crypto_Core_V2_Hmac(base, prk, ikm, ikmLength, saltptr, saltlen, mode); in Cy_Crypto_Core_V2_Hkdf_Extract()
190 cy_en_crypto_status_t Cy_Crypto_Core_V2_Hkdf_Expand(CRYPTO_Type *base, cy_en_crypto_sha_mode_t mode in Cy_Crypto_Core_V2_Hkdf_Expand() argument
229 hashlen = Cy_Crypto_Core_sha_hashSize(mode); in Cy_Crypto_Core_V2_Hkdf_Expand()
246 status = Cy_Crypto_Core_V2_Hmac_Init(base, &hmacState, mode, &hmacBuffer); in Cy_Crypto_Core_V2_Hkdf_Expand()
350 cy_en_crypto_status_t Cy_Crypto_Core_V2_Hkdf(CRYPTO_Type *base, cy_en_crypto_sha_mode_t mode, … in Cy_Crypto_Core_V2_Hkdf() argument
371 status = Cy_Crypto_Core_V2_Hkdf_Extract(base, mode, salt, saltLength, ikm, ikmLength, prk); in Cy_Crypto_Core_V2_Hkdf()
[all …]
Dcy_syspm_ppu.c140 cy_en_syspm_status_t cy_pd_ppu_set_power_mode(struct ppu_v1_reg *ppu, uint32_t mode) in cy_pd_ppu_set_power_mode() argument
145 CY_ASSERT(mode < PPU_V1_MODE_COUNT); in cy_pd_ppu_set_power_mode()
147 …(void)ppu_v1_dynamic_enable(ppu, (enum ppu_v1_mode) mode); /* Suppress a compiler warning about un… in cy_pd_ppu_set_power_mode()
154 rpcArgs.argv[1] = mode; in cy_pd_ppu_set_power_mode()
207 cy_en_syspm_status_t cy_pd_ppu_set_static_power_mode(struct ppu_v1_reg *ppu, uint32_t mode) in cy_pd_ppu_set_static_power_mode() argument
212 CY_ASSERT(mode < PPU_V1_MODE_COUNT); in cy_pd_ppu_set_static_power_mode()
214 …(void)ppu_v1_set_power_mode(ppu, (enum ppu_v1_mode) mode); /* Suppress a compiler warning about un… in cy_pd_ppu_set_static_power_mode()
221 rpcArgs.argv[1] = mode; in cy_pd_ppu_set_static_power_mode()
Dcy_syspm_v4.c344 uint32_t mode; in Cy_SysPm_GetSysDeepSleepMode() local
347 mode = (uint32_t)cy_pd_ppu_get_programmed_power_mode((struct ppu_v1_reg *)CY_PPU_MAIN_BASE); in Cy_SysPm_GetSysDeepSleepMode()
349 switch(mode) in Cy_SysPm_GetSysDeepSleepMode()
447 uint32_t mode; in Cy_SysPm_GetAppDeepSleepMode() local
450 mode = (uint32_t)cy_pd_ppu_get_programmed_power_mode((struct ppu_v1_reg *)CY_PPU_PD1_BASE); in Cy_SysPm_GetAppDeepSleepMode()
452 switch(mode) in Cy_SysPm_GetAppDeepSleepMode()
551 uint32_t mode; in Cy_SysPm_GetDeepSleepMode() local
553 mode = (uint32_t)cy_pd_ppu_get_programmed_power_mode((struct ppu_v1_reg *)CY_PPU_MAIN_BASE); in Cy_SysPm_GetDeepSleepMode()
556mode |= ((uint32_t)cy_pd_ppu_get_programmed_power_mode((struct ppu_v1_reg *)CY_PPU_PD1_BASE) << 8U… in Cy_SysPm_GetDeepSleepMode()
559 switch(mode) in Cy_SysPm_GetDeepSleepMode()
[all …]
Dcy_usbfs_dev_drv_io.c126 if (CY_USBFS_DEV_DRV_EP_MANAGEMENT_CPU != context->mode) in Cy_USBFS_Dev_Drv_ConfigDevice()
130 if (CY_USBFS_DEV_DRV_EP_MANAGEMENT_DMA_AUTO == context->mode) in Cy_USBFS_Dev_Drv_ConfigDevice()
142 USBFS_DEV_ARB_CFG(base) = _VAL2FLD(USBFS_USBDEV_ARB_CFG_DMA_CFG, context->mode) | in Cy_USBFS_Dev_Drv_ConfigDevice()
223 bufSize = (CY_USBFS_DEV_DRV_EP_MANAGEMENT_DMA_AUTO != context->mode) ? in GetEndpointBuffer()
264 cy_en_usbfs_dev_drv_ep_management_mode_t mode, in RestoreEndpointHwBuffer() argument
278 if (CY_USBFS_DEV_DRV_EP_MANAGEMENT_DMA == mode) in RestoreEndpointHwBuffer()
387 if (CY_USBFS_DEV_DRV_EP_MANAGEMENT_DMA == context->mode) in AddEndpointHwBuffer()
390 …cy_en_usbfs_dev_drv_status_t retStatus = DmaEndpointInit(base, context->mode, context->useReg16, &… in AddEndpointHwBuffer()
854 switch(context->mode) in Cy_USBFS_Dev_Drv_Abort()
Dcy_syspm_v3.c525 cy_en_syspm_status_t Cy_SysPm_LdoSetMode(cy_en_syspm_ldo_mode_t mode) in Cy_SysPm_LdoSetMode() argument
527 CY_ASSERT_L3(CY_SYSPM_IS_LDO_MODE_VALID(mode)); in Cy_SysPm_LdoSetMode()
531 switch (mode) in Cy_SysPm_LdoSetMode()
1211 …atus_t Cy_SysPm_ExecuteCallback(cy_en_syspm_callback_type_t type, cy_en_syspm_callback_mode_t mode) in Cy_SysPm_ExecuteCallback() argument
1214 CY_ASSERT_L3(CY_SYSPM_IS_CALLBACK_MODE_VALID(mode)); in Cy_SysPm_ExecuteCallback()
1221 if ((mode == CY_SYSPM_BEFORE_TRANSITION) || (mode == CY_SYSPM_CHECK_READY)) in Cy_SysPm_ExecuteCallback()
1227 … while ((curCallback != NULL) && ((retVal != CY_SYSPM_FAIL) || (mode != CY_SYSPM_CHECK_READY))) in Cy_SysPm_ExecuteCallback()
1230 if (0UL == ((uint32_t) mode & curCallback->skipMode)) in Cy_SysPm_ExecuteCallback()
1236 retVal = curCallback->callback(&curParams, mode); in Cy_SysPm_ExecuteCallback()
1249 if (mode == CY_SYSPM_CHECK_READY) in Cy_SysPm_ExecuteCallback()
[all …]
/hal_infineon-latest/abstraction-rtos/include/
Dcyabs_rtos_internal.h44 uint32_t mode = __get_mode(); in is_in_isr() local
45 return (mode == 0x11U /*FIQ*/) || (mode == 0x12U /*IRQ*/) || (mode == 0x13U /*SVC*/) || in is_in_isr()
46 (mode == 0x17U /*ABT*/) || (mode == 0x1BU /*UND*/); in is_in_isr()
/hal_infineon-latest/bless/
Dcy_ble.c28 … 'COMPONENTS+=BLESS_HOST_IPC CM0_BLESS' - to operate in dual CPU mode, \
29 … 'COMPONENTS+=BLESS_CONTROLLER BLESS_HOST' - to operate in single CPU mode, \
30 … 'COMPONENTS+=BLESS_CONTROLLER' - to operate in controller only (HCI) mode. \
46 cy_en_syspm_callback_mode_t mode);
48 cy_en_syspm_callback_mode_t mode);
50 cy_en_syspm_callback_mode_t mode);
895 cy_en_syspm_callback_mode_t mode) in Cy_BLE_DeepSleepCallbackSingleCore() argument
899 (void) mode; in Cy_BLE_DeepSleepCallbackSingleCore()
909 switch(mode) in Cy_BLE_DeepSleepCallbackSingleCore()
1034 cy_en_syspm_callback_mode_t mode) in Cy_BLE_DeepSleepCallbackDualCore() argument
[all …]
/hal_infineon-latest/mtb-template-cat1/files/cat1b/
Dcybsp_pm_callbacks.c73 cy_en_syspm_callback_mode_t mode) in cybsp_smif_power_up_callback() argument
79 switch (mode) in cybsp_smif_power_up_callback()
144 cy_en_syspm_callback_mode_t mode) in cybsp_dsram_smif_power_up_callback() argument
150 switch (mode) in cybsp_dsram_smif_power_up_callback()
212 cy_en_syspm_callback_mode_t mode) in cybsp_deepsleep_ram_callback() argument
218 switch (mode) in cybsp_deepsleep_ram_callback()
253 cy_en_syspm_callback_mode_t mode) in cybsp_hibernate_callback() argument
259 switch (mode) in cybsp_hibernate_callback()
/hal_infineon-latest/XMCLib/drivers/src/
Dxmc_eru.c76 #define XMC_ERU_ETL_CHECK_STATUS_FLAG_MODE(mode) \ argument
77 ((mode == XMC_ERU_ETL_STATUS_FLAG_MODE_SWCTRL) || \
78 (mode == XMC_ERU_ETL_STATUS_FLAG_MODE_HWCTRL))
207 const XMC_ERU_ETL_STATUS_FLAG_MODE_t mode) in XMC_ERU_ETL_SetStatusFlagMode() argument
211 …XMC_ERU_ETL_SetStatusFlagMode:Invalid Status Flag Mode", XMC_ERU_ETL_CHECK_STATUS_FLAG_MODE(mode)); in XMC_ERU_ETL_SetStatusFlagMode()
213 eru->EXICON_b[channel].LD = (uint8_t)mode; in XMC_ERU_ETL_SetStatusFlagMode()
287 const XMC_ERU_OGU_SERVICE_REQUEST_t mode) in XMC_ERU_OGU_SetServiceRequestMode() argument
291 …_OGU_SetServiceRequestMode:Invalid Service Request Mode", XMC_ERU_OGU_CHECK_SERIVCE_REQUEST(mode)); in XMC_ERU_OGU_SetServiceRequestMode()
293 eru->EXOCON_b[channel].GP = (uint8_t)mode; in XMC_ERU_OGU_SetServiceRequestMode()
Dxmc4_scu.c510 (config->syspll_config.mode == XMC_SCU_CLOCK_SYSPLL_MODE_NORMAL)) || in XMC_SCU_CLOCK_Init()
511 (config->syspll_config.mode == XMC_SCU_CLOCK_SYSPLL_MODE_PRESCALAR)); in XMC_SCU_CLOCK_Init()
513 (config->syspll_config.mode == XMC_SCU_CLOCK_SYSPLL_MODE_NORMAL)) || in XMC_SCU_CLOCK_Init()
514 (config->syspll_config.mode == XMC_SCU_CLOCK_SYSPLL_MODE_PRESCALAR)); in XMC_SCU_CLOCK_Init()
516 ((config->syspll_config.mode == XMC_SCU_CLOCK_SYSPLL_MODE_NORMAL) || in XMC_SCU_CLOCK_Init()
517 (config->syspll_config.mode == XMC_SCU_CLOCK_SYSPLL_MODE_PRESCALAR))); in XMC_SCU_CLOCK_Init()
520 ((config->syspll_config.mode == XMC_SCU_CLOCK_SYSPLL_MODE_NORMAL) || in XMC_SCU_CLOCK_Init()
521 (config->syspll_config.mode == XMC_SCU_CLOCK_SYSPLL_MODE_PRESCALAR))); in XMC_SCU_CLOCK_Init()
556 if (config->syspll_config.mode == XMC_SCU_CLOCK_SYSPLL_MODE_DISABLED) in XMC_SCU_CLOCK_Init()
565 config->syspll_config.mode, in XMC_SCU_CLOCK_Init()
[all …]

12345678