Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/pint/
Dfsl_pint.c300 void PINT_PatternMatchConfig(PINT_Type *base, pint_pmatch_bslice_t bslice, pint_pmatch_cfg_t *cfg) in PINT_PatternMatchConfig() argument
310 src_shift = PININT_BITSLICE_SRC_START + ((uint32_t)bslice * 3UL); in PINT_PatternMatchConfig()
311 cfg_shift = PININT_BITSLICE_CFG_START + ((uint32_t)bslice * 3UL); in PINT_PatternMatchConfig()
321 if ((uint32_t)bslice != 7UL) in PINT_PatternMatchConfig()
325 pmcfg |= (1UL << (uint32_t)bslice); in PINT_PatternMatchConfig()
329 pmcfg &= ~(1UL << (uint32_t)bslice); in PINT_PatternMatchConfig()
338 if ((uint32_t)bslice < (uint32_t)FSL_FEATURE_PINT_NUMBER_OF_CONNECTED_OUTPUTS) in PINT_PatternMatchConfig()
340 s_pintCallback[bslice] = cfg->callback; in PINT_PatternMatchConfig()
346 if ((uint32_t)bslice < (uint32_t)FSL_FEATURE_SECPINT_NUMBER_OF_CONNECTED_OUTPUTS) in PINT_PatternMatchConfig()
348 s_secpintCallback[bslice] = cfg->callback; in PINT_PatternMatchConfig()
[all …]
Dfsl_pint.h403 void PINT_PatternMatchConfig(PINT_Type *base, pint_pmatch_bslice_t bslice, pint_pmatch_cfg_t *cfg);
416 void PINT_PatternMatchGetConfig(PINT_Type *base, pint_pmatch_bslice_t bslice, pint_pmatch_cfg_t *cf…
428 static inline uint32_t PINT_PatternMatchGetStatus(PINT_Type *base, pint_pmatch_bslice_t bslice) in PINT_PatternMatchGetStatus() argument
430 … return ((base->PMCTRL >> PINT_PMCTRL_PMAT_SHIFT) & (1UL << (uint32_t)bslice)) >> (uint32_t)bslice; in PINT_PatternMatchGetStatus()