Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/drivers/sinc/
Dfsl_sinc.c286 sinc_channel_protection_option_t *chProtection) in SINC_SetChannelProtectionOption() argument
288 assert(chProtection != NULL); in SINC_SetChannelProtectionOption()
291 if (chProtection->limitDetectorMode == kSINC_Lmt_Disabled) in SINC_SetChannelProtectionOption()
297 SINC_SetChannelLowLimitThreshold(base, chId, chProtection->u32LowLimitThreshold); in SINC_SetChannelProtectionOption()
298 SINC_SetChannelHighLimitThreshold(base, chId, chProtection->u32HighLimitThreshold); in SINC_SetChannelProtectionOption()
300 … SINC_CPROT_LMTOP((uint32_t)chProtection->limitDetectorMode & 0x3UL); in SINC_SetChannelProtectionOption()
301 if (chProtection->bEnableLmtBreakSignal) in SINC_SetChannelProtectionOption()
304 … (((((uint32_t)(chProtection->limitDetectorMode)) & 0x1CUL) >> 2UL) << SINC_CPROT_LLMTBK_SHIFT); in SINC_SetChannelProtectionOption()
309 … ~(((((uint32_t)(chProtection->limitDetectorMode)) & 0x1CUL) >> 2UL) << SINC_CPROT_LLMTBK_SHIFT); in SINC_SetChannelProtectionOption()
315 if (chProtection->scdOperateMode == kSINC_Scd_OperateDisabled) in SINC_SetChannelProtectionOption()
[all …]
Dfsl_sinc.h1083 sinc_channel_protection_option_t *chProtection);