Lines Matching refs:chProtection

286                                      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()
321 SINC_SetChannelScdLimitThreshold(base, chId, chProtection->u8ScdLimitThreshold); in SINC_SetChannelProtectionOption()
322 SINC_SetChannelScdOption(base, chId, chProtection->scdOption); in SINC_SetChannelProtectionOption()
323 SINC_EnableChannelScdBreakSignal(base, chId, chProtection->bEnableScdBreakSignal); in SINC_SetChannelProtectionOption()
324 SINC_SetChannelScdOperateMode(base, chId, chProtection->scdOperateMode); in SINC_SetChannelProtectionOption()
328 SINC_EnableChannelCadBreakSignal(base, chId, chProtection->bEnableCadBreakSignal); in SINC_SetChannelProtectionOption()
329 SINC_SetChannelCadLimitThreshold(base, chId, chProtection->cadLimitThreshold); in SINC_SetChannelProtectionOption()
332 SINC_SetChannelZcdOperateMode(base, chId, chProtection->zcdOperateMode); in SINC_SetChannelProtectionOption()