/hal_infineon-3.4.0/mtb-pdl-cat1/drivers/source/ |
D | cy_canfd.c | 346 …_VAL2FLD(CANFD_CH_M_TTCAN_XIDFC_FLESA, _FLD2VAL(CANFD_CH_M_TTCAN_SIDFC_FLSSA, CANFD_SIDFC(base, ch… in Cy_CANFD_Init() 374 …_VAL2FLD(CANFD_CH_M_TTCAN_RXF0C_F0SA, _FLD2VAL(CANFD_CH_M_TTCAN_XIDFC_FLESA, CANFD_XIDFC(base, cha… in Cy_CANFD_Init() 389 _FLD2VAL(CANFD_CH_M_TTCAN_RXF0C_F0SA, CANFD_RXF0C(base, chan)) + in Cy_CANFD_Init() 400 …_VAL2FLD(CANFD_CH_M_TTCAN_RXBC_RBSA, _FLD2VAL(CANFD_CH_M_TTCAN_RXF1C_F1SA, CANFD_RXF1C(base, chan)… in Cy_CANFD_Init() 415 …_VAL2FLD(CANFD_CH_M_TTCAN_TXEFC_EFSA, _FLD2VAL(CANFD_CH_M_TTCAN_RXBC_RBSA, CANFD_RXBC(base, chan))… in Cy_CANFD_Init() 429 …_VAL2FLD(CANFD_CH_M_TTCAN_TXBC_TBSA, _FLD2VAL(CANFD_CH_M_TTCAN_TXEFC_EFSA, CANFD_TXEFC(base, chan)… in Cy_CANFD_Init() 739 address += (_FLD2VAL(CANFD_CH_M_TTCAN_RXBC_RBSA, CANFD_RXBC(base, chan)) in Cy_CANFD_CalcRxBufAdrs() 742 … dataBufferSizeInWord[_FLD2VAL(CANFD_CH_M_TTCAN_RXESC_RBDS, CANFD_RXESC(base, chan))])* in Cy_CANFD_CalcRxBufAdrs() 781 …address += (_FLD2VAL(CANFD_CH_M_TTCAN_TXBC_TBSA, CANFD_TXBC(base, chan)) /* Tx 32-bit Start Addre… in Cy_CANFD_CalcTxBufAdrs() 787 … dataBufferSizeInWord[_FLD2VAL(CANFD_CH_M_TTCAN_TXESC_TBDS, CANFD_TXESC(base, chan))]) * in Cy_CANFD_CalcTxBufAdrs() [all …]
|
D | cy_smartio.c | 277 if(CY_SMARTIO_DISABLE == _FLD2VAL(SMARTIO_PRT_CTL_ENABLED, SMARTIO_PRT_CTL(base))) in Cy_SmartIO_SetChBypass() 314 if(CY_SMARTIO_DISABLE == _FLD2VAL(SMARTIO_PRT_CTL_ENABLED, SMARTIO_PRT_CTL(base))) in Cy_SmartIO_SetClock() 363 if(CY_SMARTIO_DISABLE == _FLD2VAL(SMARTIO_PRT_CTL_ENABLED, SMARTIO_PRT_CTL(base))) in Cy_SmartIO_SetIoSync() 412 if(CY_SMARTIO_DISABLE == _FLD2VAL(SMARTIO_PRT_CTL_ENABLED, SMARTIO_PRT_CTL(base))) in Cy_SmartIO_SetChipSync() 456 if(CY_SMARTIO_DISABLE == _FLD2VAL(SMARTIO_PRT_CTL_ENABLED, SMARTIO_PRT_CTL(base))) in Cy_SmartIO_HoldOverride() 497 …trSrc = (cy_en_smartio_luttr_t)_FLD2VAL(SMARTIO_PRT_LUT_SEL_LUT_TR0_SEL, SMARTIO_PRT_LUT_SEL(base,… in Cy_SmartIO_GetLutTr() 502 …trSrc = (cy_en_smartio_luttr_t)_FLD2VAL(SMARTIO_PRT_LUT_SEL_LUT_TR1_SEL, SMARTIO_PRT_LUT_SEL(base,… in Cy_SmartIO_GetLutTr() 507 …trSrc = (cy_en_smartio_luttr_t)_FLD2VAL(SMARTIO_PRT_LUT_SEL_LUT_TR2_SEL, SMARTIO_PRT_LUT_SEL(base,… in Cy_SmartIO_GetLutTr() 553 if(CY_SMARTIO_DISABLE == _FLD2VAL(SMARTIO_PRT_CTL_ENABLED, SMARTIO_PRT_CTL(base))) in Cy_SmartIO_SetLutTr() 617 if(CY_SMARTIO_DISABLE == _FLD2VAL(SMARTIO_PRT_CTL_ENABLED, SMARTIO_PRT_CTL(base))) in Cy_SmartIO_SetLutTrAll() [all …]
|
D | cy_crypto_core_crc_v1.c | 144 while(0uL != _FLD2VAL(CRYPTO_STATUS_CRC_BUSY, REG_CRYPTO_STATUS(base))) in Cy_Crypto_Core_V1_Crc() 149 *crc = (uint32_t)_FLD2VAL(CRYPTO_CRC_REM_RESULT_REM, REG_CRYPTO_CRC_REM_RESULT(base)); in Cy_Crypto_Core_V1_Crc() 287 while(0uL != _FLD2VAL(CRYPTO_STATUS_CRC_BUSY, REG_CRYPTO_STATUS(base))) in Cy_Crypto_Core_V1_Crc_CalcPartial() 320 calculatedCrc = (uint32_t)_FLD2VAL(CRYPTO_CRC_REM_RESULT_REM, REG_CRYPTO_CRC_REM_RESULT(base)); in Cy_Crypto_Core_V1_Crc_CalcFinish() 323 if (_FLD2VAL(CRYPTO_CRC_CTL_REM_REVERSE, REG_CRYPTO_CRC_CTL(base)) == 0u) in Cy_Crypto_Core_V1_Crc_CalcFinish() 375 while(0uL != _FLD2VAL(CRYPTO_STATUS_CRC_BUSY, REG_CRYPTO_STATUS(base))) in Cy_Crypto_Core_V1_Crc_Calc() 380 calculatedCrc = (uint32_t)_FLD2VAL(CRYPTO_CRC_REM_RESULT_REM, REG_CRYPTO_CRC_REM_RESULT(base)); in Cy_Crypto_Core_V1_Crc_Calc() 383 if (_FLD2VAL(CRYPTO_CRC_CTL_REM_REVERSE, REG_CRYPTO_CRC_CTL(base)) == 0u) in Cy_Crypto_Core_V1_Crc_Calc()
|
D | cy_prot.c | 188 …status = (_FLD2VAL(PROT_MPU_MS_CTL_PC, PROT_MPU_MS_CTL(busMaster)) != pc) ? CY_PROT_FAILURE : CY_P… in Cy_Prot_SetActivePC() 219 …return ((uint32_t)_FLD2VAL(PROT_MPU_MS_CTL_PC, CY_PRA_REG32_GET((CY_PRA_INDX_PROT_MPU_MS_CTL + (ui… in Cy_Prot_GetActivePC() 221 return ((uint32_t)_FLD2VAL(PROT_MPU_MS_CTL_PC, PROT_MPU_MS_CTL(busMaster))); in Cy_Prot_GetActivePC() 312 …status = (_FLD2VAL(PROT_MPU_MPU_STRUCT_ATT_ENABLED, PROT_MPU_MPU_STRUCT_ATT(base)) != CY_PROT_STRU… in Cy_Prot_EnableMpuStruct() 350 …status = (_FLD2VAL(PROT_MPU_MPU_STRUCT_ATT_ENABLED, PROT_MPU_MPU_STRUCT_ATT(base)) == CY_PROT_STRU… in Cy_Prot_DisableMpuStruct() 534 …status = (_FLD2VAL(PROT_SMPU_SMPU_STRUCT_ATT1_ENABLED, PROT_SMPU_SMPU_STRUCT_ATT1(base)) != CY_PRO… in Cy_Prot_EnableSmpuMasterStruct() 574 …status = (_FLD2VAL(PROT_SMPU_SMPU_STRUCT_ATT1_ENABLED, PROT_SMPU_SMPU_STRUCT_ATT1(base)) == CY_PRO… in Cy_Prot_DisableSmpuMasterStruct() 614 …status = (_FLD2VAL(PROT_SMPU_SMPU_STRUCT_ATT0_ENABLED, PROT_SMPU_SMPU_STRUCT_ATT0(base)) != CY_PRO… in Cy_Prot_EnableSmpuSlaveStruct() 654 …status = (_FLD2VAL(PROT_SMPU_SMPU_STRUCT_ATT0_ENABLED, PROT_SMPU_SMPU_STRUCT_ATT0(base)) == CY_PRO… in Cy_Prot_DisableSmpuSlaveStruct() 773 …(_FLD2VAL(PROT_SMPU_SMPU_STRUCT_ATT0_ENABLED, PROT_SMPU_SMPU_STRUCT_IDX_ATT0(stcIdx)) != CY_PROT_S… in Cy_Prot_GetSmpuStruct() [all …]
|
D | cy_syspm.c | 338 else if(0U != _FLD2VAL(CPUSS_CM4_STATUS_SLEEPING, CPUSS_CM4_STATUS)) in Cy_SysPm_ReadStatus() 353 else if (0U != _FLD2VAL(CPUSS_CM0_STATUS_SLEEPING, CPUSS_CM0_STATUS)) in Cy_SysPm_ReadStatus() 518 …while (0U == _FLD2VAL(IPC_STRUCT_ACQUIRE_SUCCESS, REG_IPC_STRUCT_ACQUIRE(CY_IPC_STRUCT_PTR(CY_IPC_… in Cy_SysPm_CpuEnterDeepSleep() 617 … } while (_FLD2VAL(CPUSS_CM4_PWR_CTL_PWR_MODE, CPUSS_CM4_PWR_CTL) == CM4_PWR_STS_RETAINED); in Cy_SysPm_CpuEnterDeepSleep() 626 …while (0U == _FLD2VAL(IPC_STRUCT_ACQUIRE_SUCCESS, REG_IPC_STRUCT_ACQUIRE(CY_IPC_STRUCT_PTR(CY_IPC_… in Cy_SysPm_CpuEnterDeepSleep() 923 if (0U != _FLD2VAL(SRSS_PWR_CTL_LPM_READY, SRSS_PWR_CTL)) in Cy_SysPm_SystemSetMinRegulatorCurrent() 985 while ((0U == _FLD2VAL(SRSS_PWR_CTL_ACT_REF_OK, SRSS_PWR_CTL)) && (0U != timeOut)) in Cy_SysPm_SystemSetNormalRegulatorCurrent() 1034 if (0U != _FLD2VAL(SRSS_PWR_HIBERNATE_POLARITY_HIBPIN, wakeupSource)) in Cy_SysPm_SetHibernateWakeupSource() 1075 if (0U != _FLD2VAL(SRSS_PWR_HIBERNATE_POLARITY_HIBPIN, wakeupSource)) in Cy_SysPm_ClearHibernateWakeupSource() 1328 retVal = ((0U != _FLD2VAL(SRSS_PWR_BUCK_CTL2_BUCK_OUT2_HW_SEL, SRSS_PWR_BUCK_CTL2)) || in Cy_SysPm_BuckIsOutputEnabled() [all …]
|
D | cy_rtc.c | 179 dateTime->sec = CONVERT_BCD_TO_DEC(_FLD2VAL(BACKUP_RTC_TIME_RTC_SEC, tmpTime)); in Cy_RTC_GetDateAndTime() 180 dateTime->min = CONVERT_BCD_TO_DEC(_FLD2VAL(BACKUP_RTC_TIME_RTC_MIN, tmpTime)); in Cy_RTC_GetDateAndTime() 197 dateTime->hour = CONVERT_BCD_TO_DEC(_FLD2VAL(BACKUP_RTC_TIME_RTC_HOUR, tmpTime)); in Cy_RTC_GetDateAndTime() 200 dateTime->dayOfWeek = CONVERT_BCD_TO_DEC(_FLD2VAL(BACKUP_RTC_TIME_RTC_DAY, tmpTime)); in Cy_RTC_GetDateAndTime() 202 dateTime->date = CONVERT_BCD_TO_DEC(_FLD2VAL(BACKUP_RTC_DATE_RTC_DATE, tmpDate)); in Cy_RTC_GetDateAndTime() 203 dateTime->month = CONVERT_BCD_TO_DEC(_FLD2VAL(BACKUP_RTC_DATE_RTC_MON, tmpDate)); in Cy_RTC_GetDateAndTime() 204 dateTime->year = CONVERT_BCD_TO_DEC(_FLD2VAL(BACKUP_RTC_DATE_RTC_YEAR, tmpDate)); in Cy_RTC_GetDateAndTime() 265 …CY_RTC_TWO_THOUSAND_YEARS + CONVERT_BCD_TO_DEC(_FLD2VAL(BACKUP_RTC_DATE_RTC_YEAR, BACKUP_RTC_DATE)… in Cy_RTC_SetAlarmDateAndTime() 341 alarmDateTime->sec = CONVERT_BCD_TO_DEC(_FLD2VAL(BACKUP_ALM1_TIME_ALM_SEC, tmpAlarmTime)); in Cy_RTC_GetAlarmDateAndTime() 344 alarmDateTime->min = CONVERT_BCD_TO_DEC(_FLD2VAL(BACKUP_ALM1_TIME_ALM_MIN, tmpAlarmTime)); in Cy_RTC_GetAlarmDateAndTime() [all …]
|
D | cy_sysclk.c | 79 retVal = _FLD2VAL(PERI_DIV_8_CTL_INT8_DIV, PERI_DIV_8_CTL[dividerNum]); in Cy_SysClk_PeriphGetDivider() 84 retVal = _FLD2VAL(PERI_DIV_16_CTL_INT16_DIV, PERI_DIV_16_CTL[dividerNum]); in Cy_SysClk_PeriphGetDivider() 133 *dividerIntValue = _FLD2VAL(PERI_DIV_16_5_CTL_INT16_DIV, PERI_DIV_16_5_CTL[dividerNum]); in Cy_SysClk_PeriphGetFracDivider() 134 *dividerFracValue = _FLD2VAL(PERI_DIV_16_5_CTL_FRAC5_DIV, PERI_DIV_16_5_CTL[dividerNum]); in Cy_SysClk_PeriphGetFracDivider() 139 *dividerIntValue = _FLD2VAL(PERI_DIV_24_5_CTL_INT24_DIV, PERI_DIV_24_5_CTL[dividerNum]); in Cy_SysClk_PeriphGetFracDivider() 140 *dividerFracValue = _FLD2VAL(PERI_DIV_24_5_CTL_FRAC5_DIV, PERI_DIV_24_5_CTL[dividerNum]); in Cy_SysClk_PeriphGetFracDivider() 310 return ((uint8_t)_FLD2VAL(CPUSS_CM0_CLOCK_CTL_SLOW_INT_DIV, CPUSS_CM0_CLOCK_CTL)); in Cy_SysClk_ClkSlowGetDivider() 334 …return ((cy_en_clkpump_in_sources_t)((uint32_t)_FLD2VAL(SRSS_CLK_SELECT_PUMP_SEL, SRSS_CLK_SELECT)… in Cy_SysClk_ClkPumpGetSource() 358 … return ((cy_en_clkpump_divide_t)((uint32_t)_FLD2VAL(SRSS_CLK_SELECT_PUMP_DIV, SRSS_CLK_SELECT))); in Cy_SysClk_ClkPumpGetDivider() 431 return ((cy_en_clkbak_in_sources_t)((uint32_t)_FLD2VAL(BACKUP_CTL_CLK_SEL, BACKUP_CTL))); in Cy_SysClk_ClkBakGetSource() [all …]
|
D | cy_crypto_core_mem_v1.c | 81 while (0uL != _FLD2VAL(CRYPTO_STATUS_STR_BUSY, REG_CRYPTO_STATUS(base))) in Cy_Crypto_Core_V1_MemCpy() 124 while (0uL != _FLD2VAL(CRYPTO_STATUS_STR_BUSY, REG_CRYPTO_STATUS(base))) in Cy_Crypto_Core_V1_MemSet() 172 while (0uL != _FLD2VAL(CRYPTO_STATUS_STR_BUSY, REG_CRYPTO_STATUS(base))) in Cy_Crypto_Core_V1_MemCmp() 227 while (0uL != _FLD2VAL(CRYPTO_STATUS_STR_BUSY, REG_CRYPTO_STATUS(base))) in Cy_Crypto_Core_V1_MemXor()
|
D | cy_crypto_core_crc_v2.c | 146 *crc = (uint32_t)_FLD2VAL(CRYPTO_V2_CRC_REM_RESULT_REM, REG_CRYPTO_CRC_REM_RESULT(base)); in Cy_Crypto_Core_V2_Crc() 313 … calculatedCrc = (uint32_t)_FLD2VAL(CRYPTO_V2_CRC_REM_RESULT_REM, REG_CRYPTO_CRC_REM_RESULT(base)); in Cy_Crypto_Core_V2_Crc_CalcFinish() 316 if (_FLD2VAL(CRYPTO_V2_CRC_CTL_REM_REVERSE, REG_CRYPTO_CRC_CTL(base)) == 0U) in Cy_Crypto_Core_V2_Crc_CalcFinish() 371 … calculatedCrc = (uint32_t)_FLD2VAL(CRYPTO_V2_CRC_REM_RESULT_REM, REG_CRYPTO_CRC_REM_RESULT(base)); in Cy_Crypto_Core_V2_Crc_Calc() 374 if (_FLD2VAL(CRYPTO_V2_CRC_CTL_REM_REVERSE, REG_CRYPTO_CRC_CTL(base)) == 0U) in Cy_Crypto_Core_V2_Crc_Calc()
|
D | cy_sysint.c | 165 tempReg = _FLD2VAL(bitfield, CPUSS_CM0_INT_CTL[regPos]); in Cy_SysInt_GetInterruptSource() 177 …if ((!CY_CPUSS_V1) && (CY_SYSINT_ENABLE == _FLD2VAL(CPUSS_V2_CM0_SYSTEM_INT_CTL_CPU_INT_VALID, CPU… in Cy_SysInt_GetNvicConnection() 179 … tempReg = _FLD2VAL(CPUSS_V2_CM0_SYSTEM_INT_CTL_CPU_INT_IDX, CPUSS_CM0_SYSTEM_INT_CTL[devIntrSrc]); in Cy_SysInt_GetNvicConnection() 192 …if(CY_SYSINT_ENABLE == _FLD2VAL(CPUSS_V2_CM0_INT0_STATUS_SYSTEM_INT_VALID, CPUSS_CM0_INT_STATUS[lo… in Cy_SysInt_GetInterruptActive() 194 … tempReg = _FLD2VAL(CPUSS_V2_CM0_INT0_STATUS_SYSTEM_INT_IDX, CPUSS_CM0_INT_STATUS[locIdx]); in Cy_SysInt_GetInterruptActive()
|
D | cy_lpcomp.c | 500 enabled_status = _FLD2VAL(LPCOMP_CONFIG_ENABLED, LPCOMP_CONFIG(locBase)); in Cy_LPComp_DeepSleepCallback() 505 …if( !(((_FLD2VAL(LPCOMP_CMP0_CTRL_MODE0, LPCOMP_CMP0_CTRL(locBase)) == (uint32_t)CY_LPCOMP_MODE_UL… in Cy_LPComp_DeepSleepCallback() 507 … ((_FLD2VAL(LPCOMP_CMP1_CTRL_MODE1, LPCOMP_CMP1_CTRL(locBase)) == (uint32_t)CY_LPCOMP_MODE_ULP) && in Cy_LPComp_DeepSleepCallback() 609 enabled_status = _FLD2VAL(LPCOMP_CONFIG_ENABLED, LPCOMP_CONFIG(locBase)); in Cy_LPComp_HibernateCallback() 614 …if( (!(((_FLD2VAL(LPCOMP_CMP0_CTRL_MODE0, LPCOMP_CMP0_CTRL(locBase))) == (uint32_t)CY_LPCOMP_MODE_… in Cy_LPComp_HibernateCallback() 616 … ((_FLD2VAL(LPCOMP_CMP1_CTRL_MODE1, LPCOMP_CMP1_CTRL(locBase)) == (uint32_t)CY_LPCOMP_MODE_ULP) && in Cy_LPComp_HibernateCallback()
|
D | cy_mcwdt.c | 162 uint32_t match0 = _FLD2VAL(MCWDT_STRUCT_MCWDT_MATCH_WDT_MATCH0, MCWDT_STRUCT_MCWDT_MATCH(base)); in Cy_MCWDT_GetCountCascaded() 163 uint32_t match1 = _FLD2VAL(MCWDT_STRUCT_MCWDT_MATCH_WDT_MATCH1, MCWDT_STRUCT_MCWDT_MATCH(base)); in Cy_MCWDT_GetCountCascaded() 180 if (0UL == _FLD2VAL(MCWDT_STRUCT_MCWDT_CONFIG_WDT_CLEAR0, MCWDT_STRUCT_MCWDT_CONFIG(base))) in Cy_MCWDT_GetCountCascaded() 204 if (0UL == _FLD2VAL(MCWDT_STRUCT_MCWDT_CONFIG_WDT_CLEAR1, MCWDT_STRUCT_MCWDT_CONFIG(base))) in Cy_MCWDT_GetCountCascaded()
|
D | cy_ipc_pipe.c | 202 endpoint->ipcChan = _FLD2VAL(CY_IPC_PIPE_CFG_CHAN, epConfig); in Cy_IPC_Pipe_EndpointInit() 203 endpoint->intrChan = _FLD2VAL(CY_IPC_PIPE_CFG_INTR, epConfig); in Cy_IPC_Pipe_EndpointInit() 204 endpoint->pipeIntMask = _FLD2VAL(CY_IPC_PIPE_CFG_IMASK, epConfig); in Cy_IPC_Pipe_EndpointInit() 501 releaseMask = _FLD2VAL(CY_IPC_PIPE_MSG_RELEASE, *msgPtr); in Cy_IPC_Pipe_ExecCallback() 502 clientID = _FLD2VAL(CY_IPC_PIPE_MSG_CLIENT, *msgPtr); in Cy_IPC_Pipe_ExecCallback()
|
D | cy_crypto_core_prng_v1.c | 108 while(0uL != _FLD2VAL(CRYPTO_STATUS_PR_BUSY, REG_CRYPTO_STATUS(base))) in Cy_Crypto_Core_V1_Prng() 112 *randomNum = (uint32_t)_FLD2VAL(CRYPTO_PR_RESULT_DATA32, REG_CRYPTO_PR_RESULT(base)); in Cy_Crypto_Core_V1_Prng()
|
/hal_infineon-3.4.0/mtb-pdl-cat1/drivers/include/ |
D | cy_mcwdt.h | 621 status = _FLD2VAL(MCWDT_STRUCT_MCWDT_CTL_WDT_ENABLED0, MCWDT_STRUCT_MCWDT_CTL(base)); in Cy_MCWDT_GetEnabledStatus() 624 status = _FLD2VAL(MCWDT_STRUCT_MCWDT_CTL_WDT_ENABLED1, MCWDT_STRUCT_MCWDT_CTL(base)); in Cy_MCWDT_GetEnabledStatus() 627 status = _FLD2VAL(MCWDT_STRUCT_MCWDT_CTL_WDT_ENABLED2, MCWDT_STRUCT_MCWDT_CTL(base)); in Cy_MCWDT_GetEnabledStatus() 836 getClear = _FLD2VAL(MCWDT_STRUCT_MCWDT_CONFIG_WDT_CLEAR0, MCWDT_STRUCT_MCWDT_CONFIG(base)); in Cy_MCWDT_GetClearOnMatch() 840 getClear = _FLD2VAL(MCWDT_STRUCT_MCWDT_CONFIG_WDT_CLEAR1, MCWDT_STRUCT_MCWDT_CONFIG(base)); in Cy_MCWDT_GetClearOnMatch() 892 …cascade = (_FLD2VAL(MCWDT_STRUCT_MCWDT_CONFIG_WDT_CASCADE1_2, MCWDT_STRUCT_MCWDT_CONFIG(base)) << … in Cy_MCWDT_GetCascade() 893 _FLD2VAL(MCWDT_STRUCT_MCWDT_CONFIG_WDT_CASCADE0_1, MCWDT_STRUCT_MCWDT_CONFIG(base)); in Cy_MCWDT_GetCascade() 975 …match = (counter == CY_MCWDT_COUNTER0) ? _FLD2VAL(MCWDT_STRUCT_MCWDT_MATCH_WDT_MATCH0, MCWDT_STRUC… in Cy_MCWDT_GetMatch() 976 … _FLD2VAL(MCWDT_STRUCT_MCWDT_MATCH_WDT_MATCH1, MCWDT_STRUCT_MCWDT_MATCH(base)); in Cy_MCWDT_GetMatch() 1022 return (_FLD2VAL(MCWDT_STRUCT_MCWDT_CONFIG_WDT_BITS2, MCWDT_STRUCT_MCWDT_CONFIG(base))); in Cy_MCWDT_GetToggleBit() [all …]
|
D | cy_crypto_core_vu.h | 184 return ((uint32_t)_FLD2VAL(CRYPTO_RF_DATA_DATA32, REG_CRYPTO_VU_RF_DATA(base, srcReg))); in Cy_Crypto_Core_Vu_RegRead() 203 …return ((uint16_t)(_FLD2VAL(CRYPTO_RF_DATA_DATA32, REG_CRYPTO_VU_RF_DATA(base, srcReg)) & CY_CRYPT… in Cy_Crypto_Core_Vu_RegSizeRead() 222 …return ((uint16_t)(_FLD2VAL(CRYPTO_RF_DATA_DATA32, REG_CRYPTO_VU_RF_DATA(base, srcReg)) & CY_CRYPT… in Cy_Crypto_Core_Vu_RegBitSizeRead() 241 …return ((uint16_t)((_FLD2VAL(CRYPTO_RF_DATA_DATA32, REG_CRYPTO_VU_RF_DATA(base, srcReg)) & CY_CRYP… in Cy_Crypto_Core_Vu_RegByteSizeRead() 260 …return ((uint16_t)((_FLD2VAL(CRYPTO_RF_DATA_DATA32, REG_CRYPTO_VU_RF_DATA(base, srcReg)) & CY_CRYP… in Cy_Crypto_Core_Vu_RegWordSizeRead() 279 …return (uint16_t)((_FLD2VAL(CRYPTO_RF_DATA_DATA32, REG_CRYPTO_VU_RF_DATA(base, srcReg)) >> CY_CRYP… in Cy_Crypto_Core_Vu_RegDataPtrRead()
|
D | cy_smartio.h | 594 return((uint8_t)_FLD2VAL(SMARTIO_PRT_CTL_BYPASS, SMARTIO_PRT_CTL(base))); in Cy_SmartIO_GetChBypass() 616 return((cy_en_smartio_clksrc_t)_FLD2VAL(SMARTIO_PRT_CTL_CLOCK_SRC, SMARTIO_PRT_CTL(base))); in Cy_SmartIO_GetClock() 650 return((uint8_t)_FLD2VAL(SMARTIO_PRT_SYNC_CTL_IO_SYNC_EN, SMARTIO_PRT_SYNC_CTL(base))); in Cy_SmartIO_GetIoSync() 684 return((uint8_t)_FLD2VAL(SMARTIO_PRT_SYNC_CTL_CHIP_SYNC_EN, SMARTIO_PRT_SYNC_CTL(base))); in Cy_SmartIO_GetChipSync() 715 …return((cy_en_smartio_lutopc_t)(_FLD2VAL(SMARTIO_PRT_LUT_CTL_LUT_OPC, SMARTIO_PRT_LUT_CTL(base, lu… in Cy_SmartIO_GetLutOpcode() 752 return((uint8_t)(_FLD2VAL(SMARTIO_PRT_LUT_CTL_LUT, SMARTIO_PRT_LUT_CTL(base, lutNum)))); in Cy_SmartIO_GetLutMap() 784 … (cy_en_smartio_dudata_t)_FLD2VAL(SMARTIO_PRT_DU_SEL_DU_DATA0_SEL, SMARTIO_PRT_DU_SEL(base)) : in Cy_SmartIO_GetDuData() 785 … (cy_en_smartio_dudata_t)_FLD2VAL(SMARTIO_PRT_DU_SEL_DU_DATA1_SEL, SMARTIO_PRT_DU_SEL(base))); in Cy_SmartIO_GetDuData() 807 return ((cy_en_smartio_duopc_t)_FLD2VAL(SMARTIO_PRT_DU_CTL_DU_OPC, SMARTIO_PRT_DU_CTL(base))); in Cy_SmartIO_GetDuOpc() 829 return ((cy_en_smartio_dusize_t)_FLD2VAL(SMARTIO_PRT_DU_CTL_DU_SIZE, SMARTIO_PRT_DU_CTL(base))); in Cy_SmartIO_GetDuSize()
|
D | cy_dmac.h | 596 return(_FLD2VAL(DMAC_V2_ACTIVE_ACTIVE, DMAC_ACTIVE(base))); in Cy_DMAC_GetActiveChannel() 742 return((cy_en_dmac_trigger_type_t) _FLD2VAL(DMAC_CH_V2_DESCR_CTL_INTR_TYPE, descriptor->ctl)); in Cy_DMAC_Descriptor_GetInterruptType() 788 return((cy_en_dmac_trigger_type_t) _FLD2VAL(DMAC_CH_V2_DESCR_CTL_TR_IN_TYPE, descriptor->ctl)); in Cy_DMAC_Descriptor_GetTriggerInType() 834 return((cy_en_dmac_trigger_type_t) _FLD2VAL(DMAC_CH_V2_DESCR_CTL_TR_OUT_TYPE, descriptor->ctl)); in Cy_DMAC_Descriptor_GetTriggerOutType() 880 return((cy_en_dmac_data_size_t) _FLD2VAL(DMAC_CH_V2_DESCR_CTL_DATA_SIZE, descriptor->ctl)); in Cy_DMAC_Descriptor_GetDataSize() 925 …return((cy_en_dmac_transfer_size_t) _FLD2VAL(DMAC_CH_V2_DESCR_CTL_SRC_TRANSFER_SIZE, descriptor->c… in Cy_DMAC_Descriptor_GetSrcTransferSize() 971 …return((cy_en_dmac_transfer_size_t) _FLD2VAL(DMAC_CH_V2_DESCR_CTL_DST_TRANSFER_SIZE, descriptor->c… in Cy_DMAC_Descriptor_GetDstTransferSize() 1020 return((cy_en_dmac_retrigger_t) _FLD2VAL(DMAC_CH_V2_DESCR_CTL_WAIT_FOR_DEACT, descriptor->ctl)); in Cy_DMAC_Descriptor_GetRetrigger() 1042 … return((cy_en_dmac_descriptor_type_t) _FLD2VAL(DMAC_CH_V2_DESCR_CTL_DESCR_TYPE, descriptor->ctl)); in Cy_DMAC_Descriptor_GetDescriptorType() 1088 return((cy_en_dmac_channel_state_t) _FLD2VAL(DMAC_CH_V2_DESCR_CTL_CH_DISABLE, descriptor->ctl)); in Cy_DMAC_Descriptor_GetChannelState() [all …]
|
D | cy_dma.h | 637 return(_FLD2VAL(CY_DW_STATUS_CH_IDX, DW_STATUS(base))); in Cy_DMA_GetActiveChannel() 822 return((cy_en_dma_trigger_type_t) _FLD2VAL(CY_DMA_CTL_INTR_TYPE, descriptor->ctl)); in Cy_DMA_Descriptor_GetInterruptType() 868 return((cy_en_dma_trigger_type_t) _FLD2VAL(CY_DMA_CTL_TR_IN_TYPE, descriptor->ctl)); in Cy_DMA_Descriptor_GetTriggerInType() 914 return((cy_en_dma_trigger_type_t) _FLD2VAL(CY_DMA_CTL_TR_OUT_TYPE, descriptor->ctl)); in Cy_DMA_Descriptor_GetTriggerOutType() 960 return((cy_en_dma_data_size_t) _FLD2VAL(CY_DMA_CTL_DATA_SIZE, descriptor->ctl)); in Cy_DMA_Descriptor_GetDataSize() 1006 return((cy_en_dma_transfer_size_t) _FLD2VAL(CY_DMA_CTL_SRC_SIZE, descriptor->ctl)); in Cy_DMA_Descriptor_GetSrcTransferSize() 1052 return((cy_en_dma_transfer_size_t) _FLD2VAL(CY_DMA_CTL_DST_SIZE, descriptor->ctl)); in Cy_DMA_Descriptor_GetDstTransferSize() 1101 return((cy_en_dma_retrigger_t) _FLD2VAL(CY_DMA_CTL_RETRIG, descriptor->ctl)); in Cy_DMA_Descriptor_GetRetrigger() 1123 return((cy_en_dma_descriptor_type_t) _FLD2VAL(CY_DMA_CTL_TYPE, descriptor->ctl)); in Cy_DMA_Descriptor_GetDescriptorType() 1169 return((cy_en_dma_channel_state_t) _FLD2VAL(CY_DMA_CTL_CH_DISABLE, descriptor->ctl)); in Cy_DMA_Descriptor_GetChannelState() [all …]
|
D | cy_wdt.h | 420 return ((uint32_t) _FLD2VAL(SRSS_WDT_MATCH_MATCH, SRSS_WDT_MATCH)); in Cy_WDT_GetMatch() 435 return ((uint32_t) _FLD2VAL(SRSS_WDT_CNT_COUNTER, SRSS_WDT_CNT)); in Cy_WDT_GetCount() 451 return((uint32_t) _FLD2VAL(SRSS_WDT_MATCH_IGNORE_BITS, SRSS_WDT_MATCH)); in Cy_WDT_GetIgnoreBits()
|
D | cy_scb_common.h | 867 return _FLD2VAL(SCB_RX_FIFO_STATUS_USED, SCB_RX_FIFO_STATUS(base)); in Cy_SCB_GetNumInRxFifo() 886 return _FLD2VAL(SCB_RX_FIFO_STATUS_SR_VALID, SCB_RX_FIFO_STATUS(base)); in Cy_SCB_GetRxSrValid() 971 return _FLD2VAL(SCB_TX_FIFO_STATUS_USED, SCB_TX_FIFO_STATUS(base)); in Cy_SCB_GetNumInTxFifo() 990 return _FLD2VAL(SCB_TX_FIFO_STATUS_SR_VALID, SCB_TX_FIFO_STATUS(base)); in Cy_SCB_GetTxSrValid() 1939 {return (((uint32_t)(CY_SCB_FIFO_SIZE)) >> _FLD2VAL(SCB_CTRL_MEM_WIDTH, SCB_CTRL(base)));} in Cy_SCB_GetFifoSize() 1961 return (_FLD2VAL(SCB_RX_CTRL_DATA_WIDTH, SCB_RX_CTRL(base)) < CY_SCB_BYTE_WIDTH); in Cy_SCB_IsRxDataWidthByte() 1986 return (_FLD2VAL(SCB_RX_CTRL_DATA_WIDTH, SCB_RX_CTRL(base)) + 1UL); in Cy_SCB_Get_RxDataWidth() 2005 return (_FLD2VAL(SCB_TX_CTRL_DATA_WIDTH, SCB_TX_CTRL(base)) < CY_SCB_BYTE_WIDTH); in Cy_SCB_IsTxDataWidthByte() 2028 return (_FLD2VAL(SCB_TX_CTRL_DATA_WIDTH, SCB_TX_CTRL(base)) + 1UL); in Cy_SCB_Get_TxDataWidth() 2075 return _FLD2VAL(SCB_RX_FIFO_CTRL_TRIGGER_LEVEL, SCB_RX_FIFO_CTRL(base)); in Cy_SCB_GetRxFifoLevel()
|
D | cy_i2s.h | 714 return (_FLD2VAL(I2S_TX_FIFO_STATUS_USED, REG_I2S_TX_FIFO_STATUS(base))); in Cy_I2S_GetNumInTxFifo() 754 return ((uint8_t) _FLD2VAL(I2S_TX_FIFO_STATUS_RD_PTR, REG_I2S_TX_FIFO_STATUS(base))); in Cy_I2S_GetTxReadPointer() 774 return ((uint8_t) _FLD2VAL(I2S_TX_FIFO_STATUS_WR_PTR, REG_I2S_TX_FIFO_STATUS(base))); in Cy_I2S_GetTxWritePointer() 850 return (_FLD2VAL(I2S_RX_FIFO_STATUS_USED, REG_I2S_RX_FIFO_STATUS(base))); in Cy_I2S_GetNumInRxFifo() 911 return ((uint8_t) _FLD2VAL(I2S_RX_FIFO_STATUS_RD_PTR, REG_I2S_RX_FIFO_STATUS(base))); in Cy_I2S_GetRxReadPointer() 931 return ((uint8_t) _FLD2VAL(I2S_RX_FIFO_STATUS_WR_PTR, REG_I2S_RX_FIFO_STATUS(base))); in Cy_I2S_GetRxWritePointer()
|
D | cy_seglcd.h | 327 #define CY_SEGLCD_EXTR_COM(pixel) (_FLD2VAL(CY_SEGLCD_COM, (pixel))) 329 #define CY_SEGLCD_EXTR_OCT(pixel) (_FLD2VAL(CY_SEGLCD_OCT, (pixel))) 331 #define CY_SEGLCD_EXTR_NBL(pixel) (_FLD2VAL(CY_SEGLCD_NBL, (pixel))) 336 #define CY_SEGLCD_COM_NUM(base) (_FLD2VAL(LCD_CONTROL_COM_NUM, LCD_CONTROL(base)) + 2UL)
|
/hal_infineon-3.4.0/mtb-hal-cat1/COMPONENT_PSOC6HAL/source/ |
D | cyhal_audio_common.c | 984 ? (uint8_t)_FLD2VAL(I2S_TX_FIFO_CTL_TRIGGER_LEVEL, REG_I2S_TX_FIFO_CTL(obj->base)) in _cyhal_audioss_fifo_trigger_level() 985 : (uint8_t)_FLD2VAL(I2S_RX_FIFO_CTL_TRIGGER_LEVEL, REG_I2S_RX_FIFO_CTL(obj->base)); in _cyhal_audioss_fifo_trigger_level() 988 return (uint8_t)_FLD2VAL(I2S_TX_FIFO_CTL_TRIGGER_LEVEL, REG_I2S_TX_FIFO_CTL(obj->base)); in _cyhal_audioss_fifo_trigger_level() 992 …? (uint8_t)_FLD2VAL(TDM_TDM_STRUCT_TDM_TX_STRUCT_TX_FIFO_CTL_TRIGGER_LEVEL, TDM_STRUCT_TX_FIFO_CTL… in _cyhal_audioss_fifo_trigger_level() 993 …: (uint8_t)_FLD2VAL(TDM_TDM_STRUCT_TDM_RX_STRUCT_RX_FIFO_CTL_TRIGGER_LEVEL, TDM_STRUCT_RX_FIFO_CTL… in _cyhal_audioss_fifo_trigger_level() 1479 pdl_config->rxAlignment = (cy_en_i2s_alignment_t)_FLD2VAL(I2S_RX_CTL_I2S_MODE, rx_ctl_val); in _cyhal_audioss_reconstruct_pdl_config() 1480 pdl_config->rxWsPulseWidth = (cy_en_i2s_ws_pw_t)_FLD2VAL(I2S_RX_CTL_WS_PULSE, rx_ctl_val); in _cyhal_audioss_reconstruct_pdl_config() 1487 pdl_config->rxChannels = ((uint8_t)_FLD2VAL(I2S_RX_CTL_CH_NR, rx_ctl_val)) + 1; in _cyhal_audioss_reconstruct_pdl_config() 1488 pdl_config->rxChannelLength = (cy_en_i2s_len_t)_FLD2VAL(I2S_RX_CTL_CH_LEN, rx_ctl_val); in _cyhal_audioss_reconstruct_pdl_config() 1489 pdl_config->rxWordLength = (cy_en_i2s_len_t)_FLD2VAL(I2S_RX_CTL_WORD_LEN, rx_ctl_val); in _cyhal_audioss_reconstruct_pdl_config() [all …]
|
D | cyhal_tcpwm_common.c | 706 … trig_index = _FLD2VAL(TCPWM_CNT_TR_CTRL0_START_SEL, TCPWM_CNT_TR_CTRL0(obj->base, chnl)); in _cyhal_tcpwm_disconnect_digital() 711 trig_index = _FLD2VAL(TCPWM_CNT_TR_CTRL0_STOP_SEL, TCPWM_CNT_TR_CTRL0(obj->base, chnl)); in _cyhal_tcpwm_disconnect_digital() 716 … trig_index = _FLD2VAL(TCPWM_CNT_TR_CTRL0_RELOAD_SEL, TCPWM_CNT_TR_CTRL0(obj->base, chnl)); in _cyhal_tcpwm_disconnect_digital() 721 … trig_index = _FLD2VAL(TCPWM_CNT_TR_CTRL0_COUNT_SEL, TCPWM_CNT_TR_CTRL0(obj->base, chnl)); in _cyhal_tcpwm_disconnect_digital() 726 … trig_index = _FLD2VAL(TCPWM_CNT_TR_CTRL0_CAPTURE_SEL, TCPWM_CNT_TR_CTRL0(obj->base, chnl)); in _cyhal_tcpwm_disconnect_digital() 738 …trig_index = _FLD2VAL(TCPWM_GRP_CNT_V2_TR_IN_SEL1_START_SEL, TCPWM_GRP_CNT_TR_IN_SEL1(obj->base, g… in _cyhal_tcpwm_disconnect_digital() 743 …trig_index = _FLD2VAL(TCPWM_GRP_CNT_V2_TR_IN_SEL0_STOP_SEL, TCPWM_GRP_CNT_TR_IN_SEL0(obj->base, gr… in _cyhal_tcpwm_disconnect_digital() 748 …trig_index = _FLD2VAL(TCPWM_GRP_CNT_V2_TR_IN_SEL0_RELOAD_SEL, TCPWM_GRP_CNT_TR_IN_SEL0(obj->base, … in _cyhal_tcpwm_disconnect_digital() 753 …trig_index = _FLD2VAL(TCPWM_GRP_CNT_V2_TR_IN_SEL0_COUNT_SEL, TCPWM_GRP_CNT_TR_IN_SEL0(obj->base, g… in _cyhal_tcpwm_disconnect_digital() 758 …trig_index = _FLD2VAL(TCPWM_GRP_CNT_V2_TR_IN_SEL0_CAPTURE0_SEL, TCPWM_GRP_CNT_TR_IN_SEL0(obj->base… in _cyhal_tcpwm_disconnect_digital() [all …]
|