Lines Matching refs:Selection
823 void HAL_SBS_EnableCompensationCell(uint32_t Selection) in HAL_SBS_EnableCompensationCell() argument
826 assert_param(IS_SBS_COMPENSATION_CELL(Selection)); in HAL_SBS_EnableCompensationCell()
828 SET_BIT(SBS->CCCSR, Selection); in HAL_SBS_EnableCompensationCell()
840 void HAL_SBS_DisableCompensationCell(uint32_t Selection) in HAL_SBS_DisableCompensationCell() argument
843 assert_param(IS_SBS_COMPENSATION_CELL(Selection)); in HAL_SBS_DisableCompensationCell()
845 MODIFY_REG(SBS->CCCSR, Selection, 0U); in HAL_SBS_DisableCompensationCell()
857 uint32_t HAL_SBS_GetCompensationCellReadyStatus(uint32_t Selection) in HAL_SBS_GetCompensationCellReadyStatus() argument
860 assert_param(IS_SBS_COMPENSATION_CELL_READY(Selection)); in HAL_SBS_GetCompensationCellReadyStatus()
862 return (((SBS->CCCSR & Selection) == 0U) ? 0UL : 1UL); in HAL_SBS_GetCompensationCellReadyStatus()
882 void HAL_SBS_ConfigCompensationCell(uint32_t Selection, uint32_t Code, uint32_t NmosValue, uint32_t… in HAL_SBS_ConfigCompensationCell() argument
887 assert_param(IS_SBS_COMPENSATION_CELL(Selection)); in HAL_SBS_ConfigCompensationCell()
896 … offset = ((Selection == SBS_IO_ANALOG_CELL) ? 0U : ((Selection == SBS_IO_XSPI1_CELL) ? 8U : 16U)); in HAL_SBS_ConfigCompensationCell()
901 MODIFY_REG(SBS->CCCSR, (Selection << 1U), (Code << (POSITION_VAL(Selection) + 1U))); in HAL_SBS_ConfigCompensationCell()
919 HAL_StatusTypeDef HAL_SBS_GetCompensationCell(uint32_t Selection, uint32_t *pCode, uint32_t *pNmosV… in HAL_SBS_GetCompensationCell() argument
929 *pCode = ((SBS->CCCSR & (Selection << 1U)) == 0U) ? SBS_IO_CELL_CODE : SBS_IO_REGISTER_CODE; in HAL_SBS_GetCompensationCell()
932 … offset = ((Selection == SBS_IO_ANALOG_CELL) ? 0U : ((Selection == SBS_IO_XSPI1_CELL) ? 8U : 16U)); in HAL_SBS_GetCompensationCell()
951 void HAL_SBS_EnableIOSpeedOptimize(uint32_t Selection) in HAL_SBS_EnableIOSpeedOptimize() argument
954 assert_param(IS_SBS_IOHSLV(Selection)); in HAL_SBS_EnableIOSpeedOptimize()
956 SET_BIT(SBS->CCCSR, Selection); in HAL_SBS_EnableIOSpeedOptimize()
968 void HAL_SBS_DisableIOSpeedOptimize(uint32_t Selection) in HAL_SBS_DisableIOSpeedOptimize() argument
971 assert_param(IS_SBS_IOHSLV(Selection)); in HAL_SBS_DisableIOSpeedOptimize()
973 MODIFY_REG(SBS->CCCSR, Selection, 0U); in HAL_SBS_DisableIOSpeedOptimize()