Lines Matching refs:group_ptr

274   VADC_G_TypeDef *group_ptr;  in XMC_VADC_GLOBAL_StartupCalibration()  local
285 group_ptr = g_xmc_vadc_group_array[i]; in XMC_VADC_GLOBAL_StartupCalibration()
286 if ( (group_ptr->ARBCFG) & (uint32_t)VADC_G_ARBCFG_ANONS_Msk) in XMC_VADC_GLOBAL_StartupCalibration()
289 while((group_ptr->ARBCFG) & (uint32_t)VADC_G_ARBCFG_CAL_Msk) in XMC_VADC_GLOBAL_StartupCalibration()
467 void XMC_VADC_GROUP_Init( XMC_VADC_GROUP_t *const group_ptr, const XMC_VADC_GROUP_CONFIG_t *config) in XMC_VADC_GROUP_Init() argument
469 XMC_ASSERT("XMC_VADC_GROUP_Init:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_Init()
472 XMC_VADC_GROUP_InputClassInit(group_ptr, config->class0, XMC_VADC_GROUP_CONV_STD, 0U); in XMC_VADC_GROUP_Init()
473 XMC_VADC_GROUP_InputClassInit(group_ptr, config->class0, XMC_VADC_GROUP_CONV_EMUX, 0U); in XMC_VADC_GROUP_Init()
474 XMC_VADC_GROUP_InputClassInit(group_ptr, config->class1, XMC_VADC_GROUP_CONV_STD, 1U); in XMC_VADC_GROUP_Init()
475 XMC_VADC_GROUP_InputClassInit(group_ptr, config->class1, XMC_VADC_GROUP_CONV_EMUX, 1U); in XMC_VADC_GROUP_Init()
477 group_ptr->ARBCFG = config->g_arbcfg; in XMC_VADC_GROUP_Init()
479 group_ptr->BOUND = config->g_bound; in XMC_VADC_GROUP_Init()
482 XMC_VADC_GROUP_ExternalMuxControlInit(group_ptr,config->emux_config); in XMC_VADC_GROUP_Init()
487 void XMC_VADC_GROUP_InputClassInit(XMC_VADC_GROUP_t *const group_ptr, const XMC_VADC_GROUP_CLASS_t … in XMC_VADC_GROUP_InputClassInit() argument
498 …MC_ASSERT("XMC_VADC_GROUP_InputClassInit:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_InputClassInit()
526 conv_class = group_ptr->ICLASS[set_num]; in XMC_VADC_GROUP_InputClassInit()
533 group_ptr->ICLASS[set_num] = conv_class; in XMC_VADC_GROUP_InputClassInit()
537 void XMC_VADC_GROUP_SetPowerMode(XMC_VADC_GROUP_t *const group_ptr, const XMC_VADC_GROUP_POWERMODE_… in XMC_VADC_GROUP_SetPowerMode() argument
541 XMC_ASSERT("XMC_VADC_GROUP_SetPowerMode:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_SetPowerMode()
544 arbcfg = group_ptr->ARBCFG; in XMC_VADC_GROUP_SetPowerMode()
549 group_ptr->ARBCFG = arbcfg; in XMC_VADC_GROUP_SetPowerMode()
553 void XMC_VADC_GROUP_SetSyncSlave(XMC_VADC_GROUP_t *const group_ptr, uint32_t master_grp, uint32_t s… in XMC_VADC_GROUP_SetSyncSlave() argument
558 XMC_ASSERT("XMC_VADC_GROUP_SetSyncSlave:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_SetSyncSlave()
570 synctr = group_ptr->SYNCTR; in XMC_VADC_GROUP_SetSyncSlave()
573 group_ptr->SYNCTR = synctr; in XMC_VADC_GROUP_SetSyncSlave()
577 void XMC_VADC_GROUP_SetSyncMaster(XMC_VADC_GROUP_t *const group_ptr) in XMC_VADC_GROUP_SetSyncMaster() argument
581 …XMC_ASSERT("XMC_VADC_GROUP_SetSyncMaster:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_SetSyncMaster()
583 synctr = group_ptr->SYNCTR; in XMC_VADC_GROUP_SetSyncMaster()
585 group_ptr->SYNCTR = synctr; in XMC_VADC_GROUP_SetSyncMaster()
589 void XMC_VADC_GROUP_CheckSlaveReadiness(XMC_VADC_GROUP_t *const group_ptr, uint32_t slave_group) in XMC_VADC_GROUP_CheckSlaveReadiness() argument
592 …SERT("XMC_VADC_GROUP_CheckSlaveReadiness:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_CheckSlaveReadiness()
598 if(g_xmc_vadc_group_array[i] == group_ptr) in XMC_VADC_GROUP_CheckSlaveReadiness()
609 group_ptr->SYNCTR |= (1U << (slave_group + XMC_VADC_SYNCTR_START_LOCATION)); in XMC_VADC_GROUP_CheckSlaveReadiness()
613 void XMC_VADC_GROUP_IgnoreSlaveReadiness(XMC_VADC_GROUP_t *const group_ptr, uint32_t slave_group) in XMC_VADC_GROUP_IgnoreSlaveReadiness() argument
616 …ERT("XMC_VADC_GROUP_IgnoreSlaveReadiness:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_IgnoreSlaveReadiness()
622 if(g_xmc_vadc_group_array[i] == group_ptr) in XMC_VADC_GROUP_IgnoreSlaveReadiness()
632 group_ptr->SYNCTR &= ~(1U << (slave_group + XMC_VADC_SYNCTR_START_LOCATION)); in XMC_VADC_GROUP_IgnoreSlaveReadiness()
636 void XMC_VADC_GROUP_SetSyncSlaveReadySignal(XMC_VADC_GROUP_t *const group_ptr, in XMC_VADC_GROUP_SetSyncSlaveReadySignal() argument
640 …("XMC_VADC_GROUP_SetSyncSlaveReadySignal:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_SetSyncSlaveReadySignal()
647 group_ptr->SYNCTR |= (1U << (eval_origin_group + XMC_VADC_SYNCTR_START_LOCATION)); in XMC_VADC_GROUP_SetSyncSlaveReadySignal()
652 void XMC_VADC_GROUP_EnableChannelSyncRequest(XMC_VADC_GROUP_t *const group_ptr, const uint32_t ch_n… in XMC_VADC_GROUP_EnableChannelSyncRequest() argument
656 …"XMC_VADC_GROUP_EnableChannelSyncRequest:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_EnableChannelSyncRequest()
660 synctr = group_ptr->SYNCTR; in XMC_VADC_GROUP_EnableChannelSyncRequest()
664 group_ptr->CHCTR[ch_num] |= (uint32_t)((uint32_t)1 << VADC_G_CHCTR_SYNC_Pos); in XMC_VADC_GROUP_EnableChannelSyncRequest()
669 void XMC_VADC_GROUP_DisableChannelSyncRequest(XMC_VADC_GROUP_t *const group_ptr, const uint32_t ch_… in XMC_VADC_GROUP_DisableChannelSyncRequest() argument
673 …XMC_VADC_GROUP_DisableChannelSyncRequest:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_DisableChannelSyncRequest()
677 synctr = group_ptr->SYNCTR; in XMC_VADC_GROUP_DisableChannelSyncRequest()
681 group_ptr->CHCTR[ch_num] &= ~((uint32_t)VADC_G_CHCTR_SYNC_Msk); in XMC_VADC_GROUP_DisableChannelSyncRequest()
686 XMC_VADC_GROUP_STATE_t XMC_VADC_GROUP_IsConverterBusy(XMC_VADC_GROUP_t *const group_ptr) in XMC_VADC_GROUP_IsConverterBusy() argument
690 …C_ASSERT("XMC_VADC_GROUP_IsConverterBusy:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_IsConverterBusy()
692 arbcfg = group_ptr->ARBCFG; in XMC_VADC_GROUP_IsConverterBusy()
700 void XMC_VADC_GROUP_SetBoundaries(XMC_VADC_GROUP_t *const group_ptr, const uint32_t boundary0, cons… in XMC_VADC_GROUP_SetBoundaries() argument
704 …XMC_ASSERT("XMC_VADC_GROUP_SetBoundaries:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_SetBoundaries()
707 bound = group_ptr->BOUND; in XMC_VADC_GROUP_SetBoundaries()
712 group_ptr->BOUND = bound; in XMC_VADC_GROUP_SetBoundaries()
716 void XMC_VADC_GROUP_SetIndividualBoundary(XMC_VADC_GROUP_t *const group_ptr, in XMC_VADC_GROUP_SetIndividualBoundary() argument
723 …RT("XMC_VADC_GROUP_SetIndividualBoundary:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_SetIndividualBoundary()
729 bound = group_ptr->BOUND; in XMC_VADC_GROUP_SetIndividualBoundary()
744 group_ptr->BOUND = bound; in XMC_VADC_GROUP_SetIndividualBoundary()
749 void XMC_VADC_GROUP_TriggerServiceRequest(XMC_VADC_GROUP_t *const group_ptr, in XMC_VADC_GROUP_TriggerServiceRequest() argument
755 …RT("XMC_VADC_GROUP_TriggerServiceRequest:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_TriggerServiceRequest()
759 sract = group_ptr->SRACT; in XMC_VADC_GROUP_TriggerServiceRequest()
770 group_ptr->SRACT = sract; in XMC_VADC_GROUP_TriggerServiceRequest()
776 void XMC_VADC_GROUP_SetBoundaryEventInterruptNode(XMC_VADC_GROUP_t *const group_ptr, in XMC_VADC_GROUP_SetBoundaryEventInterruptNode() argument
781 …VADC_GROUP_SetBoundaryEventInterruptNode:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_SetBoundaryEventInterruptNode()
785 group_ptr->BFLNP &= ~((uint32_t)VADC_G_BFLNP_BFL0NP_Msk << flag_pos); in XMC_VADC_GROUP_SetBoundaryEventInterruptNode()
786 group_ptr->BFLNP |= (uint32_t)sr << flag_pos; in XMC_VADC_GROUP_SetBoundaryEventInterruptNode()
1049 void XMC_VADC_GROUP_ScanInit(XMC_VADC_GROUP_t *const group_ptr, const XMC_VADC_SCAN_CONFIG_t *confi… in XMC_VADC_GROUP_ScanInit() argument
1053 XMC_ASSERT("XMC_VADC_GROUP_ScanInit:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_ScanInit()
1056 XMC_VADC_GROUP_ScanDisableArbitrationSlot(group_ptr); in XMC_VADC_GROUP_ScanInit()
1059 reg = group_ptr->ARBPR; in XMC_VADC_GROUP_ScanInit()
1071 group_ptr->ARBPR = reg; in XMC_VADC_GROUP_ScanInit()
1073group_ptr->ASCTRL = (uint32_t)(config->asctrl |(VADC_G_ASCTRL_XTWC_Msk) |(VADC_G_ASCTRL_GTWC_Msk) | in XMC_VADC_GROUP_ScanInit()
1076group_ptr->ASMR = (uint32_t)((config->asmr)| (uint32_t)((uint32_t)XMC_VADC_GATEMODE_IGNORE << VAD… in XMC_VADC_GROUP_ScanInit()
1080 group_ptr->ASMR |= (uint32_t)VADC_G_ASMR_RPTDIS_Msk; in XMC_VADC_GROUP_ScanInit()
1084 XMC_VADC_GROUP_ScanEnableArbitrationSlot(group_ptr); in XMC_VADC_GROUP_ScanInit()
1089 void XMC_VADC_GROUP_ScanSelectTrigger(XMC_VADC_GROUP_t *const group_ptr, XMC_VADC_TRIGGER_INPUT_SEL… in XMC_VADC_GROUP_ScanSelectTrigger() argument
1093 …ASSERT("XMC_VADC_GROUP_ScanSelectTrigger:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_ScanSelectTrigger()
1096 scanctrl = group_ptr->ASCTRL; in XMC_VADC_GROUP_ScanSelectTrigger()
1100 group_ptr->ASCTRL = scanctrl; in XMC_VADC_GROUP_ScanSelectTrigger()
1104 void XMC_VADC_GROUP_ScanSelectTriggerEdge(XMC_VADC_GROUP_t *const group_ptr, const XMC_VADC_TRIGGER… in XMC_VADC_GROUP_ScanSelectTriggerEdge() argument
1108 …RT("XMC_VADC_GROUP_ScanSelectTriggerEdge:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_ScanSelectTriggerEdge()
1111 scanctrl = group_ptr->ASCTRL; in XMC_VADC_GROUP_ScanSelectTriggerEdge()
1115 group_ptr->ASCTRL = scanctrl; in XMC_VADC_GROUP_ScanSelectTriggerEdge()
1119 void XMC_VADC_GROUP_ScanSelectGating(XMC_VADC_GROUP_t *const group_ptr, XMC_VADC_GATE_INPUT_SELECT_… in XMC_VADC_GROUP_ScanSelectGating() argument
1123 …_ASSERT("XMC_VADC_GROUP_ScanSelectGating:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_ScanSelectGating()
1126 scanctrl = group_ptr->ASCTRL; in XMC_VADC_GROUP_ScanSelectGating()
1130 group_ptr->ASCTRL = scanctrl; in XMC_VADC_GROUP_ScanSelectGating()
1134 void XMC_VADC_GROUP_ScanSequenceAbort(XMC_VADC_GROUP_t *const group_ptr) in XMC_VADC_GROUP_ScanSequenceAbort() argument
1139 …ASSERT("XMC_VADC_GROUP_ScanSequenceAbort:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_ScanSequenceAbort()
1142 asctrl = group_ptr->ASCTRL; in XMC_VADC_GROUP_ScanSequenceAbort()
1144 group_ptr->ASCTRL =(0U | (uint32_t)VADC_G_ASCTRL_XTWC_Msk | in XMC_VADC_GROUP_ScanSequenceAbort()
1148 arbitration_status = (bool)((uint32_t)(group_ptr->ARBPR >> VADC_G_ARBPR_ASEN1_Pos) & 1U); in XMC_VADC_GROUP_ScanSequenceAbort()
1149 XMC_VADC_GROUP_ScanDisableArbitrationSlot(group_ptr); in XMC_VADC_GROUP_ScanSequenceAbort()
1151 group_ptr->ASMR &= ~((uint32_t)VADC_G_ASMR_ENGT_Msk); in XMC_VADC_GROUP_ScanSequenceAbort()
1152 group_ptr->ASMR |= (uint32_t)VADC_G_ASMR_CLRPND_Msk; in XMC_VADC_GROUP_ScanSequenceAbort()
1155 group_ptr->ARBPR |= (uint32_t)((uint32_t)arbitration_status << VADC_G_ARBPR_ASEN1_Pos); in XMC_VADC_GROUP_ScanSequenceAbort()
1158 group_ptr->ASCTRL =(asctrl | (uint32_t)VADC_G_ASCTRL_XTWC_Msk | in XMC_VADC_GROUP_ScanSequenceAbort()
1163 uint32_t XMC_VADC_GROUP_ScanGetNumChannelsPending(XMC_VADC_GROUP_t *const group_ptr) in XMC_VADC_GROUP_ScanGetNumChannelsPending() argument
1169 …XMC_VADC_GROUP_ScanGetNumChannelsPending:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_ScanGetNumChannelsPending()
1174 if (group_ptr->ASPND) in XMC_VADC_GROUP_ScanGetNumChannelsPending()
1176 reg = group_ptr->ASPND; in XMC_VADC_GROUP_ScanGetNumChannelsPending()
1192 void XMC_VADC_GROUP_ScanSetReqSrcEventInterruptNode(XMC_VADC_GROUP_t *const group_ptr, const XMC_VA… in XMC_VADC_GROUP_ScanSetReqSrcEventInterruptNode() argument
1195 sevnp = group_ptr->SEVNP; in XMC_VADC_GROUP_ScanSetReqSrcEventInterruptNode()
1197 …DC_GROUP_ScanSetReqSrcEventInterruptNode:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_ScanSetReqSrcEventInterruptNode()
1203 group_ptr->SEVNP = sevnp; in XMC_VADC_GROUP_ScanSetReqSrcEventInterruptNode()
1207 void XMC_VADC_GROUP_ScanRemoveChannel(XMC_VADC_GROUP_t *const group_ptr, const uint32_t channel_num) in XMC_VADC_GROUP_ScanRemoveChannel() argument
1211 …ASSERT("XMC_VADC_GROUP_ScanRemoveChannel:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_ScanRemoveChannel()
1214 assel = group_ptr->ASSEL; in XMC_VADC_GROUP_ScanRemoveChannel()
1216 group_ptr->ASSEL = assel; in XMC_VADC_GROUP_ScanRemoveChannel()
1410 void XMC_VADC_GROUP_QueueInit(XMC_VADC_GROUP_t *const group_ptr, const XMC_VADC_QUEUE_CONFIG_t *con… in XMC_VADC_GROUP_QueueInit() argument
1414 XMC_ASSERT("XMC_VADC_GROUP_QueueInit:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_QueueInit()
1417 XMC_VADC_GROUP_QueueDisableArbitrationSlot(group_ptr); in XMC_VADC_GROUP_QueueInit()
1419 reg = group_ptr->ARBPR; in XMC_VADC_GROUP_QueueInit()
1431 group_ptr->ARBPR = reg; in XMC_VADC_GROUP_QueueInit()
1434 group_ptr->QCTRL0 = (uint32_t)((config->qctrl0)|(uint32_t)(VADC_G_QCTRL0_XTWC_Msk)| in XMC_VADC_GROUP_QueueInit()
1439group_ptr->QMR0 = ((uint32_t)(config->qmr0) | (uint32_t)((uint32_t)XMC_VADC_GATEMODE_IGNORE << VAD… in XMC_VADC_GROUP_QueueInit()
1443 group_ptr->QMR0 |= (uint32_t)((uint32_t)1 << VADC_G_QMR0_RPTDIS_Pos); in XMC_VADC_GROUP_QueueInit()
1446 XMC_VADC_GROUP_QueueEnableArbitrationSlot(group_ptr); in XMC_VADC_GROUP_QueueInit()
1451 void XMC_VADC_GROUP_QueueSelectTrigger(XMC_VADC_GROUP_t *const group_ptr, in XMC_VADC_GROUP_QueueSelectTrigger() argument
1456 …SSERT("XMC_VADC_GROUP_QueueSelectTrigger:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_QueueSelectTrigger()
1461 qctrl = group_ptr->QCTRL0; in XMC_VADC_GROUP_QueueSelectTrigger()
1465 group_ptr->QCTRL0 = qctrl; in XMC_VADC_GROUP_QueueSelectTrigger()
1469 void XMC_VADC_GROUP_QueueSelectTriggerEdge(XMC_VADC_GROUP_t *const group_ptr, const XMC_VADC_TRIGGE… in XMC_VADC_GROUP_QueueSelectTriggerEdge() argument
1473 …T("XMC_VADC_GROUP_QueueSelectTriggerEdge:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_QueueSelectTriggerEdge()
1477 qctrl = group_ptr->QCTRL0; in XMC_VADC_GROUP_QueueSelectTriggerEdge()
1481 group_ptr->QCTRL0 = qctrl; in XMC_VADC_GROUP_QueueSelectTriggerEdge()
1485 void XMC_VADC_GROUP_QueueSelectGating(XMC_VADC_GROUP_t *const group_ptr, const XMC_VADC_GATE_INPUT_… in XMC_VADC_GROUP_QueueSelectGating() argument
1489 …ASSERT("XMC_VADC_GROUP_QueueSelectGating:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_QueueSelectGating()
1493 qctrl = group_ptr->QCTRL0; in XMC_VADC_GROUP_QueueSelectGating()
1497 group_ptr->QCTRL0 = qctrl; in XMC_VADC_GROUP_QueueSelectGating()
1501 uint32_t XMC_VADC_GROUP_QueueGetLength(XMC_VADC_GROUP_t *const group_ptr) in XMC_VADC_GROUP_QueueGetLength() argument
1507 …MC_ASSERT("XMC_VADC_GROUP_QueueGetLength:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_QueueGetLength()
1509 qsr = group_ptr->QSR0; in XMC_VADC_GROUP_QueueGetLength()
1510 qbur0 = group_ptr->QBUR0; in XMC_VADC_GROUP_QueueGetLength()
1530 void XMC_VADC_GROUP_QueueAbortSequence(XMC_VADC_GROUP_t *const group_ptr) in XMC_VADC_GROUP_QueueAbortSequence() argument
1535 …SSERT("XMC_VADC_GROUP_QueueAbortSequence:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_QueueAbortSequence()
1538 qctrl0 = group_ptr->QCTRL0; in XMC_VADC_GROUP_QueueAbortSequence()
1540 group_ptr->QCTRL0 =(0U | (uint32_t)VADC_G_QCTRL0_XTWC_Msk | in XMC_VADC_GROUP_QueueAbortSequence()
1544 arbitration_status = (bool)((uint32_t)(group_ptr->ARBPR >> VADC_G_ARBPR_ASEN0_Pos) & 1U); in XMC_VADC_GROUP_QueueAbortSequence()
1545 XMC_VADC_GROUP_QueueDisableArbitrationSlot(group_ptr); in XMC_VADC_GROUP_QueueAbortSequence()
1548 XMC_VADC_GROUP_QueueFlushEntries(group_ptr); in XMC_VADC_GROUP_QueueAbortSequence()
1551 group_ptr->ARBPR |= (uint32_t)((uint32_t)arbitration_status << VADC_G_ARBPR_ASEN0_Pos); in XMC_VADC_GROUP_QueueAbortSequence()
1554 group_ptr->QCTRL0 = (qctrl0 | (uint32_t)VADC_G_QCTRL0_XTWC_Msk | in XMC_VADC_GROUP_QueueAbortSequence()
1559 void XMC_VADC_GROUP_QueueRemoveChannel(XMC_VADC_GROUP_t *const group_ptr) in XMC_VADC_GROUP_QueueRemoveChannel() argument
1566 …SSERT("XMC_VADC_GROUP_QueueRemoveChannel:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_QueueRemoveChannel()
1569 qctrl0= group_ptr->QCTRL0; in XMC_VADC_GROUP_QueueRemoveChannel()
1571 group_ptr->QCTRL0 =(0U | (uint32_t)VADC_G_QCTRL0_XTWC_Msk | in XMC_VADC_GROUP_QueueRemoveChannel()
1575 arbitration_status = (bool)((uint32_t)(group_ptr->ARBPR >> VADC_G_ARBPR_ASEN0_Pos) & 1U); in XMC_VADC_GROUP_QueueRemoveChannel()
1576 XMC_VADC_GROUP_QueueDisableArbitrationSlot(group_ptr); in XMC_VADC_GROUP_QueueRemoveChannel()
1578 length_before_abort = XMC_VADC_GROUP_QueueGetLength(group_ptr); in XMC_VADC_GROUP_QueueRemoveChannel()
1583 group_ptr->QMR0 |= (uint32_t)VADC_G_QMR0_CLRV_Msk; in XMC_VADC_GROUP_QueueRemoveChannel()
1585 length_after_abort = XMC_VADC_GROUP_QueueGetLength(group_ptr); in XMC_VADC_GROUP_QueueRemoveChannel()
1590 length_after_abort = XMC_VADC_GROUP_QueueGetLength(group_ptr); in XMC_VADC_GROUP_QueueRemoveChannel()
1594 group_ptr->ARBPR |= (uint32_t)((uint32_t)arbitration_status << VADC_G_ARBPR_ASEN0_Pos); in XMC_VADC_GROUP_QueueRemoveChannel()
1597 group_ptr->QCTRL0 = (qctrl0 | (uint32_t)VADC_G_QCTRL0_XTWC_Msk | in XMC_VADC_GROUP_QueueRemoveChannel()
1602 int32_t XMC_VADC_GROUP_QueueGetNextChannel(XMC_VADC_GROUP_t *const group_ptr) in XMC_VADC_GROUP_QueueGetNextChannel() argument
1606 …SERT("XMC_VADC_GROUP_QueueGetNextChannel:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_QueueGetNextChannel()
1612 if ( (group_ptr->QBUR0) & (uint32_t)VADC_G_QBUR0_V_Msk) in XMC_VADC_GROUP_QueueGetNextChannel()
1614 ch_num = (int32_t)(group_ptr->QBUR0 & (uint32_t)VADC_G_QBUR0_REQCHNR_Msk); in XMC_VADC_GROUP_QueueGetNextChannel()
1616 else if ( (group_ptr->Q0R0) & (uint32_t)VADC_G_Q0R0_V_Msk) in XMC_VADC_GROUP_QueueGetNextChannel()
1618 ch_num = (int32_t)(group_ptr->Q0R0 & (uint32_t)VADC_G_Q0R0_REQCHNR_Msk); in XMC_VADC_GROUP_QueueGetNextChannel()
1630 int32_t XMC_VADC_GROUP_QueueGetInterruptedChannel(XMC_VADC_GROUP_t *const group_ptr) in XMC_VADC_GROUP_QueueGetInterruptedChannel() argument
1634 …MC_VADC_GROUP_QueueGetInterruptedChannel:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_QueueGetInterruptedChannel()
1636 if ((group_ptr->QBUR0) & (uint32_t)VADC_G_QBUR0_V_Msk) in XMC_VADC_GROUP_QueueGetInterruptedChannel()
1638 ch_num = (int32_t)(group_ptr->QBUR0 & (uint32_t)VADC_G_QBUR0_REQCHNR_Msk); in XMC_VADC_GROUP_QueueGetInterruptedChannel()
1650 void XMC_VADC_GROUP_QueueSetReqSrcEventInterruptNode(XMC_VADC_GROUP_t *const group_ptr, const XMC_V… in XMC_VADC_GROUP_QueueSetReqSrcEventInterruptNode() argument
1654 …C_GROUP_QueueSetReqSrcEventInterruptNode:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_QueueSetReqSrcEventInterruptNode()
1657 sevnp = group_ptr->SEVNP; in XMC_VADC_GROUP_QueueSetReqSrcEventInterruptNode()
1662 group_ptr->SEVNP = sevnp; in XMC_VADC_GROUP_QueueSetReqSrcEventInterruptNode()
1669 void XMC_VADC_GROUP_ChannelInit(XMC_VADC_GROUP_t *const group_ptr, const uint32_t ch_num, in XMC_VADC_GROUP_ChannelInit() argument
1677 XMC_ASSERT("XMC_VADC_GROUP_ChannelInit:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_ChannelInit()
1683 ch_assign = group_ptr->CHASS; in XMC_VADC_GROUP_ChannelInit()
1686 group_ptr->CHASS = ch_assign; in XMC_VADC_GROUP_ChannelInit()
1695 group_ptr->ALIAS &= ~(uint32_t)(VADC_G_ALIAS_ALIAS1_Msk); in XMC_VADC_GROUP_ChannelInit()
1700 group_ptr->ALIAS &= ~(uint32_t)(VADC_G_ALIAS_ALIAS0_Msk); in XMC_VADC_GROUP_ChannelInit()
1703 group_ptr->ALIAS |= (uint32_t)(config->alias_channel << mask); in XMC_VADC_GROUP_ChannelInit()
1706 group_ptr->BFL |= config->bfl; in XMC_VADC_GROUP_ChannelInit()
1709 group_ptr->BFLC |= config->bflc; in XMC_VADC_GROUP_ChannelInit()
1712 group_ptr->CHCTR[ch_num] = config->chctr; in XMC_VADC_GROUP_ChannelInit()
1717 bool XMC_VADC_GROUP_ChannelIsResultOutOfBounds(XMC_VADC_GROUP_t *const group_ptr, const uint32_t ch… in XMC_VADC_GROUP_ChannelIsResultOutOfBounds() argument
1723 …MC_VADC_GROUP_ChannelIsResultOutOfBounds:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_ChannelIsResultOutOfBounds()
1733 chctr = group_ptr->CHCTR[ch_num]; in XMC_VADC_GROUP_ChannelIsResultOutOfBounds()
1737 ceflag = group_ptr->CEFLAG; in XMC_VADC_GROUP_ChannelIsResultOutOfBounds()
1751 void XMC_VADC_GROUP_ChannelSetInputReference(XMC_VADC_GROUP_t *const group_ptr, in XMC_VADC_GROUP_ChannelSetInputReference() argument
1756 …"XMC_VADC_GROUP_ChannelSetInputReference:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_ChannelSetInputReference()
1760 chctr = group_ptr->CHCTR[ch_num]; in XMC_VADC_GROUP_ChannelSetInputReference()
1764 group_ptr->CHCTR[ch_num] = chctr; in XMC_VADC_GROUP_ChannelSetInputReference()
1768 void XMC_VADC_GROUP_ChannelSetResultRegister(XMC_VADC_GROUP_t *const group_ptr, in XMC_VADC_GROUP_ChannelSetResultRegister() argument
1774 …"XMC_VADC_GROUP_ChannelSetResultRegister:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_ChannelSetResultRegister()
1780 chctr = group_ptr->CHCTR[ch_num]; in XMC_VADC_GROUP_ChannelSetResultRegister()
1784 group_ptr->CHCTR[ch_num] = chctr; in XMC_VADC_GROUP_ChannelSetResultRegister()
1788 void XMC_VADC_GROUP_ChannelSetIclass(XMC_VADC_GROUP_t *const group_ptr, in XMC_VADC_GROUP_ChannelSetIclass() argument
1795 …_ASSERT("XMC_VADC_GROUP_ChannelSetIclass:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_ChannelSetIclass()
1801 chctr = group_ptr->CHCTR[ch_num]; in XMC_VADC_GROUP_ChannelSetIclass()
1805 group_ptr->CHCTR[ch_num] = chctr; in XMC_VADC_GROUP_ChannelSetIclass()
1810 uint8_t XMC_VADC_GROUP_ChannelGetResultRegister(XMC_VADC_GROUP_t *const group_ptr, const uint32_t c… in XMC_VADC_GROUP_ChannelGetResultRegister() argument
1814 …"XMC_VADC_GROUP_ChannelGetResultRegister:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_ChannelGetResultRegister()
1818 …resreg = (uint8_t)((group_ptr->CHCTR[ch_num] & (uint32_t)VADC_G_CHCTR_RESREG_Msk) >> VADC_G_CHCTR_… in XMC_VADC_GROUP_ChannelGetResultRegister()
1824 void XMC_VADC_GROUP_ChannelTriggerEvent(XMC_VADC_GROUP_t *const group_ptr, const uint32_t ch_num) in XMC_VADC_GROUP_ChannelTriggerEvent() argument
1828 …SERT("XMC_VADC_GROUP_ChannelTriggerEvent:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_ChannelTriggerEvent()
1831 ceflag = group_ptr->CEFLAG; in XMC_VADC_GROUP_ChannelTriggerEvent()
1833 group_ptr->CEFLAG = ceflag; in XMC_VADC_GROUP_ChannelTriggerEvent()
1837 void XMC_VADC_GROUP_ChannelSetEventInterruptNode(XMC_VADC_GROUP_t *const group_ptr, in XMC_VADC_GROUP_ChannelSetEventInterruptNode() argument
1843 …_VADC_GROUP_ChannelSetEventInterruptNode:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_ChannelSetEventInterruptNode()
1848 route_mask = group_ptr->CEVNP0; in XMC_VADC_GROUP_ChannelSetEventInterruptNode()
1851 group_ptr->CEVNP0 = route_mask; in XMC_VADC_GROUP_ChannelSetEventInterruptNode()
1855 void XMC_VADC_GROUP_ChannelTriggerEventGenCriteria( XMC_VADC_GROUP_t *const group_ptr, in XMC_VADC_GROUP_ChannelTriggerEventGenCriteria() argument
1861 …ADC_GROUP_ChannelTriggerEventGenCriteria:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_ChannelTriggerEventGenCriteria()
1867 chctr = group_ptr->CHCTR[ch_num]; in XMC_VADC_GROUP_ChannelTriggerEventGenCriteria()
1870 group_ptr->CHCTR[ch_num] = chctr; in XMC_VADC_GROUP_ChannelTriggerEventGenCriteria()
1874 void XMC_VADC_GROUP_ChannelSetBoundarySelection(XMC_VADC_GROUP_t *const group_ptr, in XMC_VADC_GROUP_ChannelSetBoundarySelection() argument
1879 …C_VADC_GROUP_ChannelSetBoundarySelection:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_ChannelSetBoundarySelection()
1883 group_ptr->CHCTR[ch_num] &= ~((uint32_t)VADC_G_CHCTR_BNDSELL_Msk << boundary_sel); in XMC_VADC_GROUP_ChannelSetBoundarySelection()
1884group_ptr->CHCTR[ch_num] |= (selection<< ((uint32_t)VADC_G_CHCTR_BNDSELL_Pos + (uint32_t)boundary_… in XMC_VADC_GROUP_ChannelSetBoundarySelection()
1888 void XMC_VADC_GROUP_AddResultToFifo(XMC_VADC_GROUP_t *const group_ptr, const uint32_t res_reg) in XMC_VADC_GROUP_AddResultToFifo() argument
1892 …C_ASSERT("XMC_VADC_GROUP_AddResultToFifo:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_AddResultToFifo()
1896 fen = group_ptr->RCR[res_reg]; in XMC_VADC_GROUP_AddResultToFifo()
1900 group_ptr->RCR[res_reg] = fen; in XMC_VADC_GROUP_AddResultToFifo()
1905 void XMC_VADC_GROUP_SetResultFastCompareValue(XMC_VADC_GROUP_t *const group_ptr, in XMC_VADC_GROUP_SetResultFastCompareValue() argument
1909 uint32_t res = group_ptr->RES[res_reg]; in XMC_VADC_GROUP_SetResultFastCompareValue()
1911 …XMC_VADC_GROUP_SetResultFastCompareValue:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_SetResultFastCompareValue()
1917 group_ptr->RES[res_reg] = res; in XMC_VADC_GROUP_SetResultFastCompareValue()
1921 XMC_VADC_FAST_COMPARE_t XMC_VADC_GROUP_GetFastCompareResult(XMC_VADC_GROUP_t *const group_ptr, cons… in XMC_VADC_GROUP_GetFastCompareResult() argument
1926 …ERT("XMC_VADC_GROUP_GetFastCompareResult:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_GetFastCompareResult()
1929 res = group_ptr->RES[res_reg]; in XMC_VADC_GROUP_GetFastCompareResult()
1944 void XMC_VADC_GROUP_SetResultSubtractionValue(XMC_VADC_GROUP_t *const group_ptr, in XMC_VADC_GROUP_SetResultSubtractionValue() argument
1949 …XMC_VADC_GROUP_SetResultSubtractionValue:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_SetResultSubtractionValue()
1951 res = group_ptr->RES[0]; in XMC_VADC_GROUP_SetResultSubtractionValue()
1954 group_ptr->RES[0] = res; in XMC_VADC_GROUP_SetResultSubtractionValue()
1959 void XMC_VADC_GROUP_SetResultInterruptNode(XMC_VADC_GROUP_t *const group_ptr, in XMC_VADC_GROUP_SetResultInterruptNode() argument
1965 …T("XMC_VADC_GROUP_SetResultInterruptNode:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_SetResultInterruptNode()
1971 route_mask = group_ptr->REVNP0; in XMC_VADC_GROUP_SetResultInterruptNode()
1974 group_ptr->REVNP0 = route_mask; in XMC_VADC_GROUP_SetResultInterruptNode()
1978 route_mask = group_ptr->REVNP1; in XMC_VADC_GROUP_SetResultInterruptNode()
1981 group_ptr->REVNP1 = route_mask; in XMC_VADC_GROUP_SetResultInterruptNode()
1986 uint32_t XMC_VADC_GROUP_GetResultFifoTail(XMC_VADC_GROUP_t *const group_ptr, uint32_t res_reg) in XMC_VADC_GROUP_GetResultFifoTail() argument
1993 …ASSERT("XMC_VADC_GROUP_GetResultFifoTail:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_GetResultFifoTail()
1999 if ((bool)true == XMC_VADC_GROUP_IsResultRegisterFifoHead(group_ptr, res_reg)) in XMC_VADC_GROUP_GetResultFifoTail()
2014 rcr = group_ptr->RCR[i]; in XMC_VADC_GROUP_GetResultFifoTail()
2042 uint32_t XMC_VADC_GROUP_GetResultFifoHead(XMC_VADC_GROUP_t *const group_ptr, const uint32_t res_reg) in XMC_VADC_GROUP_GetResultFifoHead() argument
2048 …ASSERT("XMC_VADC_GROUP_GetResultFifoHead:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_GetResultFifoHead()
2051 if ((bool)true == XMC_VADC_GROUP_IsResultRegisterFifoHead(group_ptr, res_reg)) in XMC_VADC_GROUP_GetResultFifoHead()
2061 rcr = group_ptr->RCR[i]; in XMC_VADC_GROUP_GetResultFifoHead()
2076 bool XMC_VADC_GROUP_IsResultRegisterFifoHead(XMC_VADC_GROUP_t *const group_ptr, const uint32_t res_… in XMC_VADC_GROUP_IsResultRegisterFifoHead() argument
2082 …"XMC_VADC_GROUP_IsResultRegisterFifoHead:Wrong Group Pointer", XMC_VADC_CHECK_GROUP_PTR(group_ptr)) in XMC_VADC_GROUP_IsResultRegisterFifoHead()
2086 rcr_head = group_ptr->RCR[res_reg]; in XMC_VADC_GROUP_IsResultRegisterFifoHead()
2088 rcr_next = group_ptr->RCR[res_reg - (uint32_t)1]; in XMC_VADC_GROUP_IsResultRegisterFifoHead()