/hal_infineon-3.7.0/mtb-pdl-cat1/drivers/source/ |
D | cy_syspm.c | 404 cy_en_syspm_status_t retVal = CY_SYSPM_SUCCESS; in Cy_SysPm_CpuEnterSleep() local 411 retVal = Cy_SysPm_ExecuteCallback(CY_SYSPM_SLEEP, CY_SYSPM_CHECK_READY); in Cy_SysPm_CpuEnterSleep() 418 if(retVal == CY_SYSPM_SUCCESS) in Cy_SysPm_CpuEnterSleep() 473 retVal = CY_SYSPM_FAIL; in Cy_SysPm_CpuEnterSleep() 475 return retVal; in Cy_SysPm_CpuEnterSleep() 489 cy_en_syspm_status_t retVal = CY_SYSPM_SUCCESS; in Cy_SysPm_CpuEnterDeepSleep() local 498 retVal = Cy_SysPm_ExecuteCallback(CY_SYSPM_DEEPSLEEP, CY_SYSPM_CHECK_READY); in Cy_SysPm_CpuEnterDeepSleep() 505 if (retVal == CY_SYSPM_SUCCESS) in Cy_SysPm_CpuEnterDeepSleep() 593 retVal = CY_SYSPM_SYSCALL_PENDING; in Cy_SysPm_CpuEnterDeepSleep() 659 if (retVal == CY_SYSPM_SUCCESS) in Cy_SysPm_CpuEnterDeepSleep() [all …]
|
D | cy_syspm_v2.c | 154 cy_en_syspm_status_t retVal = CY_SYSPM_SUCCESS; in Cy_SysPm_CpuEnterSleep() local 161 retVal = Cy_SysPm_ExecuteCallback(CY_SYSPM_SLEEP, CY_SYSPM_CHECK_READY); in Cy_SysPm_CpuEnterSleep() 168 if(retVal == CY_SYSPM_SUCCESS) in Cy_SysPm_CpuEnterSleep() 207 retVal = CY_SYSPM_FAIL; in Cy_SysPm_CpuEnterSleep() 209 return retVal; in Cy_SysPm_CpuEnterSleep() 216 cy_en_syspm_status_t retVal = CY_SYSPM_SUCCESS; in Cy_SysPm_SystemLpActiveEnter() local 221 retVal = CY_SYSPM_FAIL; in Cy_SysPm_SystemLpActiveEnter() 228 …retVal = Cy_SysPm_ExecuteCallback((cy_en_syspm_callback_type_t)cbSleepRootIdx, CY_SYSPM_CHECK_READ… in Cy_SysPm_SystemLpActiveEnter() 231 if (retVal == CY_SYSPM_SUCCESS) in Cy_SysPm_SystemLpActiveEnter() 261 retVal = Cy_SysPm_SystemSetMinRegulatorCurrent(); in Cy_SysPm_SystemLpActiveEnter() [all …]
|
D | cy_sysclk.c | 45 cy_en_sysclk_status_t retVal = CY_SYSCLK_BAD_PARAM; in Cy_SysClk_PeriphSetDivider() local 52 retVal = CY_SYSCLK_SUCCESS; in Cy_SysClk_PeriphSetDivider() 61 retVal = CY_SYSCLK_SUCCESS; in Cy_SysClk_PeriphSetDivider() 67 return (retVal); in Cy_SysClk_PeriphSetDivider() 73 uint32_t retVal; in Cy_SysClk_PeriphGetDivider() local 80 retVal = _FLD2VAL(PERI_DIV_8_CTL_INT8_DIV, PERI_DIV_8_CTL[dividerNum]); in Cy_SysClk_PeriphGetDivider() 85 retVal = _FLD2VAL(PERI_DIV_16_CTL_INT16_DIV, PERI_DIV_16_CTL[dividerNum]); in Cy_SysClk_PeriphGetDivider() 87 return (retVal); in Cy_SysClk_PeriphGetDivider() 95 cy_en_sysclk_status_t retVal = CY_SYSCLK_BAD_PARAM; in Cy_SysClk_PeriphSetFracDivider() local 104 retVal = CY_SYSCLK_SUCCESS; in Cy_SysClk_PeriphSetFracDivider() [all …]
|
D | cy_syspm_v4.c | 182 cy_en_syspm_status_t retVal = CY_SYSPM_SUCCESS; in Cy_SysPm_CpuEnterSleep() local 189 retVal = Cy_SysPm_ExecuteCallback(CY_SYSPM_SLEEP, CY_SYSPM_CHECK_READY); in Cy_SysPm_CpuEnterSleep() 196 if(retVal == CY_SYSPM_SUCCESS) in Cy_SysPm_CpuEnterSleep() 235 retVal = CY_SYSPM_FAIL; in Cy_SysPm_CpuEnterSleep() 237 return retVal; in Cy_SysPm_CpuEnterSleep() 243 cy_en_syspm_status_t retVal = CY_SYSPM_FAIL; in Cy_SysPm_SetSysDeepSleepMode() local 258 retVal = CY_SYSPM_SUCCESS; in Cy_SysPm_SetSysDeepSleepMode() 273 retVal = CY_SYSPM_SUCCESS; in Cy_SysPm_SetSysDeepSleepMode() 288 retVal = CY_SYSPM_SUCCESS; in Cy_SysPm_SetSysDeepSleepMode() 293 retVal = CY_SYSPM_BAD_PARAM; in Cy_SysPm_SetSysDeepSleepMode() [all …]
|
D | cy_syspm_v3.c | 116 cy_en_syspm_status_t retVal = CY_SYSPM_SUCCESS; in Cy_SysPm_CpuEnterSleep() local 123 retVal = Cy_SysPm_ExecuteCallback(CY_SYSPM_SLEEP, CY_SYSPM_CHECK_READY); in Cy_SysPm_CpuEnterSleep() 130 if(retVal == CY_SYSPM_SUCCESS) in Cy_SysPm_CpuEnterSleep() 169 retVal = CY_SYSPM_FAIL; in Cy_SysPm_CpuEnterSleep() 171 return retVal; in Cy_SysPm_CpuEnterSleep() 178 cy_en_syspm_status_t retVal = CY_SYSPM_SUCCESS; in Cy_SysPm_SystemLpActiveEnter() local 183 retVal = CY_SYSPM_FAIL; in Cy_SysPm_SystemLpActiveEnter() 190 …retVal = Cy_SysPm_ExecuteCallback((cy_en_syspm_callback_type_t)cbSleepRootIdx, CY_SYSPM_CHECK_READ… in Cy_SysPm_SystemLpActiveEnter() 193 if (retVal == CY_SYSPM_SUCCESS) in Cy_SysPm_SystemLpActiveEnter() 236 retVal = CY_SYSPM_FAIL; in Cy_SysPm_SystemLpActiveEnter() [all …]
|
D | cy_seglcd.c | 380 cy_en_seglcd_status_t retVal = CY_SEGLCD_BAD_PARAM; in Cy_SegLCD_Init() local 417 retVal = CY_SEGLCD_SUCCESS; in Cy_SegLCD_Init() 421 return (retVal); in Cy_SegLCD_Init() 445 cy_en_seglcd_status_t retVal = CY_SEGLCD_BAD_PARAM; in Cy_SegLCD_Contrast() local 453 retVal = Cy_SegLCD_Init(base, config); in Cy_SegLCD_Contrast() 455 if ((CY_SEGLCD_SUCCESS == retVal) && enabled) in Cy_SegLCD_Contrast() 461 return (retVal); in Cy_SegLCD_Contrast() 590 uint32_t retVal = (uint32_t)CY_SEGLCD_BAD_PARAM; in Cy_SegLCD_ClrFrame() local 598 retVal = (uint32_t)CY_SEGLCD_SUCCESS; in Cy_SegLCD_ClrFrame() 603 retVal |= (uint32_t)Cy_SegLCD_WritePixel(base, commons[i], true); in Cy_SegLCD_ClrFrame() [all …]
|
D | cy_sysclk_v2.c | 45 cy_en_sysclk_status_t retVal = CY_SYSCLK_BAD_PARAM; in Cy_SysClk_PeriPclkSetDivider() local 58 retVal = CY_SYSCLK_SUCCESS; in Cy_SysClk_PeriPclkSetDivider() 67 retVal = CY_SYSCLK_SUCCESS; in Cy_SysClk_PeriPclkSetDivider() 73 return (retVal); in Cy_SysClk_PeriPclkSetDivider() 79 uint32_t retVal; in Cy_SysClk_PeriPclkGetDivider() local 90 retVal = _FLD2VAL(PERI_DIV_8_CTL_INT8_DIV, PERI_DIV_8_CTL(instNum, grpNum, dividerNum)); in Cy_SysClk_PeriPclkGetDivider() 95 retVal = _FLD2VAL(PERI_DIV_16_CTL_INT16_DIV, PERI_DIV_16_CTL(instNum, grpNum, dividerNum)); in Cy_SysClk_PeriPclkGetDivider() 97 return (retVal); in Cy_SysClk_PeriPclkGetDivider() 105 cy_en_sysclk_status_t retVal = CY_SYSCLK_BAD_PARAM; in Cy_SysClk_PeriPclkSetFracDivider() local 120 retVal = CY_SYSCLK_SUCCESS; in Cy_SysClk_PeriPclkSetFracDivider() [all …]
|
D | cy_trigmux.c | 125 cy_en_trigmux_status_t retVal = CY_TRIGMUX_BAD_PARAM; in Cy_TrigMux_Connect() local 145 retVal = CY_TRIGMUX_SUCCESS; in Cy_TrigMux_Connect() 148 return retVal; in Cy_TrigMux_Connect() 184 cy_en_trigmux_status_t retVal = CY_TRIGMUX_BAD_PARAM; in Cy_TrigMux_Select() local 204 retVal = CY_TRIGMUX_SUCCESS; in Cy_TrigMux_Select() 207 return retVal; in Cy_TrigMux_Select() 234 cy_en_trigmux_status_t retVal = CY_TRIGMUX_BAD_PARAM; in Cy_TrigMux_Deselect() local 250 retVal = CY_TRIGMUX_SUCCESS; in Cy_TrigMux_Deselect() 253 return retVal; in Cy_TrigMux_Deselect() 285 cy_en_trigmux_status_t retVal = CY_TRIGMUX_BAD_PARAM; in Cy_TrigMux_SetDebugFreeze() local [all …]
|
D | cy_rtc.c | 114 cy_en_rtc_status_t retVal = CY_RTC_BAD_PARAM; in Cy_RTC_SetDateAndTime() local 142 retVal = Cy_RTC_WriteEnable(CY_RTC_WRITE_ENABLED); in Cy_RTC_SetDateAndTime() 143 if (retVal == CY_RTC_SUCCESS) in Cy_RTC_SetDateAndTime() 149 retVal = Cy_RTC_WriteEnable(CY_RTC_WRITE_DISABLED); in Cy_RTC_SetDateAndTime() 154 return(retVal); in Cy_RTC_SetDateAndTime() 238 cy_en_rtc_status_t retVal = CY_RTC_BAD_PARAM; in Cy_RTC_SetAlarmDateAndTime() local 283 retVal = Cy_RTC_WriteEnable(CY_RTC_WRITE_ENABLED); in Cy_RTC_SetAlarmDateAndTime() 284 if (CY_RTC_SUCCESS == retVal) in Cy_RTC_SetAlarmDateAndTime() 299 retVal = Cy_RTC_WriteEnable(CY_RTC_WRITE_DISABLED); in Cy_RTC_SetAlarmDateAndTime() 304 return(retVal); in Cy_RTC_SetAlarmDateAndTime() [all …]
|
D | cy_mcwdt_b.c | 566 uint32_t retVal = 0UL; in Cy_MCWDT_GetAutoService() local 571 … retVal = (_FLD2VAL(MCWDT_CTR_CONFIG_AUTO_SERVICE, MCWDT_CTR_CONFIG(base, CY_MCWDT_COUNTER0))); in Cy_MCWDT_GetAutoService() 574 … retVal = (_FLD2VAL(MCWDT_CTR_CONFIG_AUTO_SERVICE, MCWDT_CTR_CONFIG(base, CY_MCWDT_COUNTER1))); in Cy_MCWDT_GetAutoService() 581 return retVal;/* Control shouldn't reach here, fixes IAR compilation warning */ in Cy_MCWDT_GetAutoService() 648 uint32_t retVal = 0UL; in Cy_MCWDT_GetSleepDeepPause() local 653 … retVal = (_FLD2VAL(MCWDT_CTR_CONFIG_SLEEPDEEP_PAUSE, MCWDT_CTR_CONFIG(base, CY_MCWDT_COUNTER0))); in Cy_MCWDT_GetSleepDeepPause() 656 … retVal = (_FLD2VAL(MCWDT_CTR_CONFIG_SLEEPDEEP_PAUSE, MCWDT_CTR_CONFIG(base, CY_MCWDT_COUNTER1))); in Cy_MCWDT_GetSleepDeepPause() 659 retVal = (_FLD2VAL(MCWDT_CTR2_CONFIG_SLEEPDEEP_PAUSE, MCWDT_CTR2_CONFIG(base))); in Cy_MCWDT_GetSleepDeepPause() 666 return retVal;/* Control shouldn't reach here, fixes IAR compilation warning */ in Cy_MCWDT_GetSleepDeepPause() 733 uint32_t retVal = 0UL; in Cy_MCWDT_GetDebugRun() local [all …]
|
D | cy_syspm_btss.c | 47 cy_en_btss_status_t retVal = CY_BTSS_INVALID_STATE; in Cy_BTSS_PowerDep() local 69 retVal = CY_BTSS_TIMEOUT; in Cy_BTSS_PowerDep() 73 retVal = CY_BTSS_SUCCESS; in Cy_BTSS_PowerDep() 77 if(retVal == CY_BTSS_SUCCESS) in Cy_BTSS_PowerDep() 99 retVal = CY_BTSS_SUCCESS; in Cy_BTSS_PowerDep() 102 return retVal; in Cy_BTSS_PowerDep() 107 cy_en_btss_status_t retVal = CY_BTSS_INVALID_STATE; in Cy_BTSS_CPUSSPowerDep() local 122 retVal = CY_BTSS_SUCCESS; in Cy_BTSS_CPUSSPowerDep() 138 retVal = CY_BTSS_SUCCESS; in Cy_BTSS_CPUSSPowerDep() 143 return retVal; in Cy_BTSS_CPUSSPowerDep()
|
D | cy_systick.c | 139 Cy_SysTick_Callback retVal; in Cy_SysTick_SetCallback() local 143 retVal = Cy_SysTick_Callbacks[number]; in Cy_SysTick_SetCallback() 148 retVal = NULL; in Cy_SysTick_SetCallback() 151 return (retVal); in Cy_SysTick_SetCallback() 156 Cy_SysTick_Callback retVal; in Cy_SysTick_GetCallback() local 160 retVal = Cy_SysTick_Callbacks[number]; in Cy_SysTick_GetCallback() 164 retVal = NULL; in Cy_SysTick_GetCallback() 167 return (retVal); in Cy_SysTick_GetCallback()
|
D | cy_systick_v2.c | 173 Cy_SysTick_Callback retVal; in Cy_SysTick_SetCallback() local 177 retVal = Cy_SysTick_Callbacks[number]; in Cy_SysTick_SetCallback() 182 retVal = NULL; in Cy_SysTick_SetCallback() 185 return (retVal); in Cy_SysTick_SetCallback() 190 Cy_SysTick_Callback retVal; in Cy_SysTick_GetCallback() local 194 retVal = Cy_SysTick_Callbacks[number]; in Cy_SysTick_GetCallback() 198 retVal = NULL; in Cy_SysTick_GetCallback() 201 return (retVal); in Cy_SysTick_GetCallback()
|
D | cy_adcmic.c | 98 cy_en_adcmic_status_t retVal = CY_ADCMIC_BAD_PARAM; in Cy_ADCMic_Init() local 145 retVal = Cy_ADCMic_SetSampleRate(base, locMicCgf->sampleRate); in Cy_ADCMic_Init() 181 retVal = Cy_ADCMic_SetSampleRate(base, locPdmCgf->sampleRate); in Cy_ADCMic_Init() 211 retVal = CY_ADCMIC_SUCCESS; in Cy_ADCMic_Init() 216 if (CY_ADCMIC_SUCCESS == retVal) in Cy_ADCMic_Init() 222 return (retVal); in Cy_ADCMic_Init() 307 cy_en_adcmic_status_t retVal = CY_ADCMIC_BAD_PARAM; in Cy_ADCMic_SetPgaGain() local 312 retVal = CY_ADCMIC_SUCCESS; in Cy_ADCMic_SetPgaGain() 315 return (retVal); in Cy_ADCMic_SetPgaGain() 351 cy_en_adcmic_status_t retVal = CY_ADCMIC_BAD_PARAM; in Cy_ADCMic_SetSampleRate() local [all …]
|
D | cy_dmac.c | 259 uint32_t retVal = 0UL; in Cy_DMAC_Descriptor_GetXloopDataCount() local 267 …retVal = (_FLD2VAL(DMAC_CH_V2_DESCR_X_SIZE_X_COUNT, ((cy_stc_dmac_dscr_scatter_t const*)descriptor… in Cy_DMAC_Descriptor_GetXloopDataCount() 272 retVal = _FLD2VAL(DMAC_CH_V2_DESCR_X_SIZE_X_COUNT, descriptor->xSize) + 1UL; in Cy_DMAC_Descriptor_GetXloopDataCount() 275 return (retVal); in Cy_DMAC_Descriptor_GetXloopDataCount() 404 uint32_t retVal = 0UL; in Cy_DMAC_Descriptor_GetNextDescriptor() local 411 retVal = ((cy_stc_dmac_dscr_single_t const*)descriptor)->nextPtr; in Cy_DMAC_Descriptor_GetNextDescriptor() 415 retVal = ((cy_stc_dmac_dscr_memcpy_t const*)descriptor)->nextPtr; in Cy_DMAC_Descriptor_GetNextDescriptor() 419 retVal = ((cy_stc_dmac_dscr_1d_t const*)descriptor)->nextPtr; in Cy_DMAC_Descriptor_GetNextDescriptor() 423 retVal = ((cy_stc_dmac_dscr_2d_t const*)descriptor)->nextPtr; in Cy_DMAC_Descriptor_GetNextDescriptor() 431 return ((cy_stc_dmac_descriptor_t*)retVal); in Cy_DMAC_Descriptor_GetNextDescriptor()
|
D | cy_flash_v2.c | 514 cy_en_flashdrv_status_t retVal; in Cy_Flash_ProcessOpcode() local 522 retVal = CY_FLASH_DRV_SUCCESS; in Cy_Flash_ProcessOpcode() 525 retVal = CY_FLASH_DRV_ERR_UNC; in Cy_Flash_ProcessOpcode() 528 retVal = CY_FLASH_DRV_INV_PROT; in Cy_Flash_ProcessOpcode() 531 retVal = CY_FLASH_DRV_INVALID_FM_PL; in Cy_Flash_ProcessOpcode() 534 retVal = CY_FLASH_DRV_INVALID_FLASH_ADDR; in Cy_Flash_ProcessOpcode() 537 retVal = CY_FLASH_DRV_ROW_PROTECTED; in Cy_Flash_ProcessOpcode() 540 retVal = CY_FLASH_DRV_IPC_BUSY; in Cy_Flash_ProcessOpcode() 543 retVal = CY_FLASH_DRV_CHECKSUM_NON_ZERO; in Cy_Flash_ProcessOpcode() 546 retVal = CY_FLASH_DRV_SECTOR_SUSPEND; in Cy_Flash_ProcessOpcode() [all …]
|
D | cy_profile.c | 208 cy_stc_profile_ctr_ptr_t retVal = NULL; /* error value if no counter is available */ in Cy_Profile_ConfigureCounter() local 231 retVal = &cy_ep_ctrs[i]; in Cy_Profile_ConfigureCounter() 234 retVal->cntAddr->CTL = in Cy_Profile_ConfigureCounter() 235 _VAL2FLD(PROFILE_CNT_STRUCT_CTL_CNT_DURATION, retVal->ctlRegVals.cntDuration) | in Cy_Profile_ConfigureCounter() 236 _VAL2FLD(PROFILE_CNT_STRUCT_CTL_REF_CLK_SEL, retVal->ctlRegVals.refClkSel) | in Cy_Profile_ConfigureCounter() 237 _VAL2FLD(PROFILE_CNT_STRUCT_CTL_MON_SEL, retVal->ctlRegVals.monSel); in Cy_Profile_ConfigureCounter() 240 return (retVal); in Cy_Profile_ConfigureCounter()
|
D | cy_sysfault.c | 80 uint32_t retVal = 0; in Cy_SysFault_GetPendingFault() local 86 retVal = _FLD2VAL(FAULT_STRUCT_PENDING0_SOURCE, FAULT_PENDING0(base)); in Cy_SysFault_GetPendingFault() 92 retVal = _FLD2VAL(FAULT_STRUCT_PENDING1_SOURCE, FAULT_PENDING1(base)); in Cy_SysFault_GetPendingFault() 98 retVal = _FLD2VAL(FAULT_STRUCT_PENDING1_SOURCE, FAULT_PENDING2(base)); in Cy_SysFault_GetPendingFault() 109 return retVal; in Cy_SysFault_GetPendingFault()
|
/hal_infineon-3.7.0/mtb-template-cat1/files/cat1b/ |
D | cybsp_pm_callbacks.c | 75 cy_en_syspm_status_t retVal = CY_SYSPM_FAIL; in cybsp_smif_power_up_callback() local 82 retVal = CY_SYSPM_SUCCESS; in cybsp_smif_power_up_callback() 93 retVal = (cy_en_syspm_status_t)Cy_SMIF_MemCmdPowerDown(SMIF0, smifConfigLocal[0], in cybsp_smif_power_up_callback() 113 retVal = CY_SYSPM_SUCCESS; in cybsp_smif_power_up_callback() 121 retVal = CY_SYSPM_SUCCESS; in cybsp_smif_power_up_callback() 129 return retVal; in cybsp_smif_power_up_callback() 146 cy_en_syspm_status_t retVal = CY_SYSPM_FAIL; in cybsp_dsram_smif_power_up_callback() local 153 retVal = CY_SYSPM_SUCCESS; in cybsp_dsram_smif_power_up_callback() 162 retVal = (cy_en_syspm_status_t)Cy_SMIF_MemCmdPowerDown(SMIF0, smifConfigLocal[0], in cybsp_dsram_smif_power_up_callback() 182 retVal = CY_SYSPM_SUCCESS; in cybsp_dsram_smif_power_up_callback() [all …]
|
/hal_infineon-3.7.0/bless/ |
D | cy_ble.c | 902 cy_en_syspm_status_t retVal; in Cy_BLE_DeepSleepCallbackSingleCore() local 914 retVal = CY_SYSPM_FAIL; in Cy_BLE_DeepSleepCallbackSingleCore() 919 retVal = CY_SYSPM_FAIL; in Cy_BLE_DeepSleepCallbackSingleCore() 924 retVal = CY_SYSPM_FAIL; in Cy_BLE_DeepSleepCallbackSingleCore() 941 retVal = CY_SYSPM_SUCCESS; in Cy_BLE_DeepSleepCallbackSingleCore() 951 retVal = CY_SYSPM_SUCCESS; in Cy_BLE_DeepSleepCallbackSingleCore() 956 retVal = CY_SYSPM_FAIL; in Cy_BLE_DeepSleepCallbackSingleCore() 970 retVal = CY_SYSPM_FAIL; in Cy_BLE_DeepSleepCallbackSingleCore() 972 if(retVal == CY_SYSPM_FAIL) in Cy_BLE_DeepSleepCallbackSingleCore() 983 retVal = CY_SYSPM_SUCCESS; in Cy_BLE_DeepSleepCallbackSingleCore() [all …]
|
D | cy_ble_controller.c | 501 cy_en_syspm_status_t retVal; in Cy_BLE_ControllerDeepSleepCallback() local 517 retVal = CY_SYSPM_FAIL; in Cy_BLE_ControllerDeepSleepCallback() 522 retVal = CY_SYSPM_FAIL; in Cy_BLE_ControllerDeepSleepCallback() 539 retVal = CY_SYSPM_SUCCESS; in Cy_BLE_ControllerDeepSleepCallback() 549 retVal = CY_SYSPM_SUCCESS; in Cy_BLE_ControllerDeepSleepCallback() 554 retVal = CY_SYSPM_FAIL; in Cy_BLE_ControllerDeepSleepCallback() 566 retVal = CY_SYSPM_FAIL; in Cy_BLE_ControllerDeepSleepCallback() 568 if(retVal == CY_SYSPM_FAIL) in Cy_BLE_ControllerDeepSleepCallback() 579 retVal = CY_SYSPM_SUCCESS; in Cy_BLE_ControllerDeepSleepCallback() 583 retVal = CY_SYSPM_FAIL; in Cy_BLE_ControllerDeepSleepCallback() [all …]
|
/hal_infineon-3.7.0/mtb-hal-cat1/source/ |
D | cyhal_udb_sdio.c | 272 cy_rslt_t retVal = SDIO_ReserveResources(); in cyhal_sdio_init() local 275 if (retVal == CY_RSLT_SUCCESS) in cyhal_sdio_init() 277 retVal = _cyhal_sdio_configure_pin(clk, &obj->pin_clk, &_cyhal_sdio_pin_clk_config); in cyhal_sdio_init() 279 if (retVal == CY_RSLT_SUCCESS) in cyhal_sdio_init() 281 retVal = _cyhal_sdio_configure_pin(cmd, &obj->pin_cmd, &_cyhal_sdio_pin_config); in cyhal_sdio_init() 283 if (retVal == CY_RSLT_SUCCESS) in cyhal_sdio_init() 285 retVal = _cyhal_sdio_configure_pin(data0, &obj->pin_data0, &_cyhal_sdio_pin_config); in cyhal_sdio_init() 287 if (retVal == CY_RSLT_SUCCESS) in cyhal_sdio_init() 289 retVal = _cyhal_sdio_configure_pin(data1, &obj->pin_data1, &_cyhal_sdio_pin_config); in cyhal_sdio_init() 291 if (retVal == CY_RSLT_SUCCESS) in cyhal_sdio_init() [all …]
|
/hal_infineon-3.7.0/mtb-pdl-cat1/drivers/include/ |
D | cy_rtc.h | 998 uint32_t retVal; in Cy_RTC_ConvertDayOfWeek() local 1016 retVal = in Cy_RTC_ConvertDayOfWeek() 1020 if (0u == retVal) in Cy_RTC_ConvertDayOfWeek() 1022 retVal = CY_RTC_SATURDAY; in Cy_RTC_ConvertDayOfWeek() 1025 return(retVal); in Cy_RTC_ConvertDayOfWeek() 1079 uint32_t retVal; in Cy_RTC_DaysInMonth() local 1084 retVal = cy_RTC_daysInMonthTbl[month - 1UL]; in Cy_RTC_DaysInMonth() 1090 retVal++; in Cy_RTC_DaysInMonth() 1093 return(retVal); in Cy_RTC_DaysInMonth() 1165 cy_en_rtc_status_t retVal = CY_RTC_INVALID_STATE; in Cy_RTC_WriteEnable() local [all …]
|
D | cy_sar.h | 2505 uint32_t retVal = 0UL; in Cy_SAR_FifoGetDataCount() local 2511 retVal = PASS_FIFO_USED(base); in Cy_SAR_FifoGetDataCount() 2514 return (retVal); in Cy_SAR_FifoGetDataCount() 2631 uint32_t retVal = 0UL; in Cy_SAR_GetFifoInterruptStatus() local 2637 retVal = PASS_FIFO_INTR(base); in Cy_SAR_GetFifoInterruptStatus() 2640 return (retVal); in Cy_SAR_GetFifoInterruptStatus() 2660 uint32_t retVal = 0UL; in Cy_SAR_GetFifoInterruptMask() local 2666 retVal = PASS_FIFO_INTR_MASK(base); in Cy_SAR_GetFifoInterruptMask() 2669 return (retVal); in Cy_SAR_GetFifoInterruptMask() 2689 uint32_t retVal = 0UL; in Cy_SAR_GetFifoInterruptStatusMasked() local [all …]
|
/hal_infineon-3.7.0/mtb-pdl-cat1/device-info/personalities/platform/ |
D | fll_solver-2.0.tcl | 96 set retVal [verify_desired_frequency $srcFreqMHz $targetFreqMHz $::OUTPUT_DIV_ENABLED] 97 if {$retVal != $::SUCCESS} { 98 return $retVal 127 set retVal [verify_desired_frequency $srcFreqMHz $expectedFreq $::OUTPUT_DIV_ENABLED] 128 if {$retVal != $::SUCCESS} { 129 return $retVal
|