Lines Matching refs:offset
884 uint32_t offset; in HAL_SBS_ConfigCompensationCell() local
896 … offset = ((Selection == SBS_IO_ANALOG_CELL) ? 0U : ((Selection == SBS_IO_XSPI1_CELL) ? 8U : 16U)); in HAL_SBS_ConfigCompensationCell()
898 …MODIFY_REG(SBS->CCSWVALR, (0xFFU << offset), ((NmosValue << offset) | (PmosValue << (offset + 4U))… in HAL_SBS_ConfigCompensationCell()
923 uint32_t offset; in HAL_SBS_GetCompensationCell() local
932 … offset = ((Selection == SBS_IO_ANALOG_CELL) ? 0U : ((Selection == SBS_IO_XSPI1_CELL) ? 8U : 16U)); in HAL_SBS_GetCompensationCell()
934 *pNmosValue = ((reg >> offset) & 0xFU); in HAL_SBS_GetCompensationCell()
935 *pPmosValue = ((reg >> (offset + 4U)) & 0xFU); in HAL_SBS_GetCompensationCell()
1041 uint32_t offset; in HAL_SBS_EXTIConfig() local
1048 offset = (4U * (Exti % 4U)); in HAL_SBS_EXTIConfig()
1050 MODIFY_REG(SBS->EXTICR[reg], (0xFU << offset), (Port << offset)); in HAL_SBS_EXTIConfig()
1075 uint32_t offset; in HAL_SBS_GetEXTIConfig() local
1081 offset = (4U * (Exti % 4U)); in HAL_SBS_GetEXTIConfig()
1083 return ((SBS->EXTICR[reg] & (0xFUL << offset)) >> offset); in HAL_SBS_GetEXTIConfig()