Lines Matching refs:threshold

323 #define CY_LVD_CHECK_TRIPSEL(threshold)  (((threshold) == CY_LVD_THRESHOLD_2_75_V) || \  argument
324 ((threshold) == CY_LVD_THRESHOLD_2_85_V) || \
325 ((threshold) == CY_LVD_THRESHOLD_2_95_V) || \
326 ((threshold) == CY_LVD_THRESHOLD_3_05_V) || \
327 ((threshold) == CY_LVD_THRESHOLD_3_15_V))
330 #define CY_LVD_CHECK_TRIPSEL(threshold) (((threshold) == CY_LVD_THRESHOLD_1_2_V) || \ argument
331 ((threshold) == CY_LVD_THRESHOLD_1_4_V) || \
332 ((threshold) == CY_LVD_THRESHOLD_1_6_V) || \
333 ((threshold) == CY_LVD_THRESHOLD_1_8_V) || \
334 ((threshold) == CY_LVD_THRESHOLD_2_0_V) || \
335 ((threshold) == CY_LVD_THRESHOLD_2_1_V) || \
336 ((threshold) == CY_LVD_THRESHOLD_2_2_V) || \
337 ((threshold) == CY_LVD_THRESHOLD_2_3_V) || \
338 ((threshold) == CY_LVD_THRESHOLD_2_4_V) || \
339 ((threshold) == CY_LVD_THRESHOLD_2_5_V) || \
340 ((threshold) == CY_LVD_THRESHOLD_2_6_V) || \
341 ((threshold) == CY_LVD_THRESHOLD_2_7_V) || \
342 ((threshold) == CY_LVD_THRESHOLD_2_8_V) || \
343 ((threshold) == CY_LVD_THRESHOLD_2_9_V) || \
344 ((threshold) == CY_LVD_THRESHOLD_3_0_V) || \
345 ((threshold) == CY_LVD_THRESHOLD_3_1_V))
363 __STATIC_INLINE void Cy_LVD_SetThreshold(cy_en_lvd_tripsel_t threshold);
435 __STATIC_INLINE void Cy_LVD_SetThreshold(cy_en_lvd_tripsel_t threshold) in Cy_LVD_SetThreshold() argument
437 CY_ASSERT_L3(CY_LVD_CHECK_TRIPSEL(threshold)); in Cy_LVD_SetThreshold()
440 … CY_PRA_REG32_CLR_SET(CY_PRA_INDX_SRSS_PWR_LVD_CTL, SRSS_PWR_LVD_CTL_HVLVD1_TRIPSEL, threshold); in Cy_LVD_SetThreshold()
442 … SRSS_PWR_LVD_CTL = _CLR_SET_FLD32U(SRSS_PWR_LVD_CTL, SRSS_PWR_LVD_CTL_HVLVD_TRIPSEL, threshold); in Cy_LVD_SetThreshold()
444 … SRSS_PWR_LVD_CTL = _CLR_SET_FLD32U(SRSS_PWR_LVD_CTL, SRSS_PWR_LVD_CTL_HVLVD1_TRIPSEL, threshold); in Cy_LVD_SetThreshold()