Home
last modified time | relevance | path

Searched refs:chnlCount (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ftm/
Dfsl_ftm.c163 int8_t chnlCount = FSL_FEATURE_FTM_CHANNEL_COUNTn(base); in FTM_SetReloadPoints() local
166 assert(-1 != chnlCount); in FTM_SetReloadPoints()
172 for (chnlNumber = 0; chnlNumber < ((uint32_t)chnlCount / 2U); chnlNumber++) in FTM_SetReloadPoints()
183 reg &= ~((1UL << (uint32_t)chnlCount) - 1U); in FTM_SetReloadPoints()
184 reg |= (reloadPoints & ((1UL << (uint32_t)chnlCount) - 1U)); in FTM_SetReloadPoints()
1198 int8_t chnlCount = FSL_FEATURE_FTM_CHANNEL_COUNTn(base); in FTM_GetEnabledInterrupts() local
1201 assert(chnlCount != -1); in FTM_GetEnabledInterrupts()
1235 while (chnlCount > 0) in FTM_GetEnabledInterrupts()
1237 chnlCount--; in FTM_GetEnabledInterrupts()
1238 if ((base->CONTROLS[chnlCount].CnSC & FTM_CnSC_CHIE_MASK) != 0x00U) in FTM_GetEnabledInterrupts()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/tpm/
Dfsl_tpm.c1059 int8_t chnlCount = FSL_FEATURE_TPM_CHANNEL_COUNTn(base); in TPM_GetEnabledInterrupts() local
1062 assert(chnlCount != -1); in TPM_GetEnabledInterrupts()
1071 while (chnlCount > 0) in TPM_GetEnabledInterrupts()
1073 chnlCount--; in TPM_GetEnabledInterrupts()
1074 if (0U != (base->CONTROLS[chnlCount].CnSC & TPM_CnSC_CHIE_MASK)) in TPM_GetEnabledInterrupts()
1076 enabledInterrupts |= (u32flag << (uint8_t)chnlCount); in TPM_GetEnabledInterrupts()