Lines Matching refs:Selection
714 void HAL_SYSCFG_EnableCompensationCell(uint32_t Selection) in HAL_SYSCFG_EnableCompensationCell() argument
717 assert_param(IS_SYSCFG_COMPENSATION_CELL(Selection)); in HAL_SYSCFG_EnableCompensationCell()
719 SET_BIT(SYSCFG->CCCSR, Selection); in HAL_SYSCFG_EnableCompensationCell()
730 void HAL_SYSCFG_DisableCompensationCell(uint32_t Selection) in HAL_SYSCFG_DisableCompensationCell() argument
733 assert_param(IS_SYSCFG_COMPENSATION_CELL(Selection)); in HAL_SYSCFG_DisableCompensationCell()
735 MODIFY_REG(SYSCFG->CCCSR, Selection, 0U); in HAL_SYSCFG_DisableCompensationCell()
746 uint32_t HAL_SYSCFG_GetCompensationCellReadyStatus(uint32_t Selection) in HAL_SYSCFG_GetCompensationCellReadyStatus() argument
749 assert_param(IS_SYSCFG_COMPENSATION_CELL_READY(Selection)); in HAL_SYSCFG_GetCompensationCellReadyStatus()
751 return (((SYSCFG->CCCSR & Selection) == 0U) ? 0UL : 1UL); in HAL_SYSCFG_GetCompensationCellReadyStatus()
770 void HAL_SYSCFG_ConfigCompensationCell(uint32_t Selection, uint32_t Code, uint32_t NmosValue, uint3… in HAL_SYSCFG_ConfigCompensationCell() argument
775 assert_param(IS_SYSCFG_COMPENSATION_CELL(Selection)); in HAL_SYSCFG_ConfigCompensationCell()
784 offset = ((Selection == SYSCFG_IO_CELL) ? 0U : 8U); in HAL_SYSCFG_ConfigCompensationCell()
789 MODIFY_REG(SYSCFG->CCCSR, (Selection << 1U), (Code << (POSITION_VAL(Selection) + 1U))); in HAL_SYSCFG_ConfigCompensationCell()
806 HAL_StatusTypeDef HAL_SYSCFG_GetCompensationCell(uint32_t Selection, uint32_t *pCode, uint32_t *pNm… in HAL_SYSCFG_GetCompensationCell() argument
816 …*pCode = ((SYSCFG->CCCSR & (Selection << 1U)) == 0U) ? SYSCFG_IO_CELL_CODE : SYSCFG_IO_REGISTER_CO… in HAL_SYSCFG_GetCompensationCell()
819 offset = ((Selection == SYSCFG_IO_CELL) ? 0U : 8U); in HAL_SYSCFG_GetCompensationCell()