Lines Matching refs:global_ptr
1438 void XMC_VADC_GLOBAL_Init(XMC_VADC_GLOBAL_t *const global_ptr, const XMC_VADC_GLOBAL_CONFIG_t *conf…
1454 __STATIC_INLINE void XMC_VADC_GLOBAL_EnableModuleClock(XMC_VADC_GLOBAL_t *const global_ptr) in XMC_VADC_GLOBAL_EnableModuleClock() argument
1456 XMC_ASSERT("XMC_VADC_GLOBAL_Enable:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_EnableModuleClock()
1457 global_ptr->CLC &= ~((uint32_t)VADC_CLC_DISR_Msk); in XMC_VADC_GLOBAL_EnableModuleClock()
1474 __STATIC_INLINE void XMC_VADC_GLOBAL_DisableModuleClock(XMC_VADC_GLOBAL_t *const global_ptr) in XMC_VADC_GLOBAL_DisableModuleClock() argument
1476 XMC_ASSERT("XMC_VADC_GLOBAL_Disable:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_DisableModuleClock()
1477 global_ptr->CLC |= (uint32_t) ((uint32_t)1 << VADC_CLC_DISR_Pos); in XMC_VADC_GLOBAL_DisableModuleClock()
1493 __STATIC_INLINE void XMC_VADC_GLOBAL_EnableSleepMode(XMC_VADC_GLOBAL_t *const global_ptr) in XMC_VADC_GLOBAL_EnableSleepMode() argument
1495 XMC_ASSERT("XMC_VADC_GLOBAL_EnableSleepMode:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_EnableSleepMode()
1496 global_ptr->CLC &= ~((uint32_t)VADC_CLC_EDIS_Msk); in XMC_VADC_GLOBAL_EnableSleepMode()
1513 __STATIC_INLINE void XMC_VADC_GLOBAL_DisableSleepMode(XMC_VADC_GLOBAL_t *const global_ptr) in XMC_VADC_GLOBAL_DisableSleepMode() argument
1515 XMC_ASSERT("XMC_VADC_GLOBAL_DisableSleepMode:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_DisableSleepMode()
1516 global_ptr->CLC |= (uint32_t) ((uint32_t)1 << VADC_CLC_EDIS_Pos); in XMC_VADC_GLOBAL_DisableSleepMode()
1536 __STATIC_INLINE void XMC_VADC_GLOBAL_ClockInit(XMC_VADC_GLOBAL_t *const global_ptr, const XMC_VADC_… in XMC_VADC_GLOBAL_ClockInit() argument
1538 XMC_ASSERT("XMC_VADC_GLOBAL_ClockInit:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_ClockInit()
1541 global_ptr->GLOBCFG = (uint32_t)(config->globcfg | (VADC_GLOBCFG_DIVWC_Msk)); in XMC_VADC_GLOBAL_ClockInit()
1565 void XMC_VADC_GLOBAL_InputClassInit(XMC_VADC_GLOBAL_t *const global_ptr, const XMC_VADC_GLOBAL_CLAS…
1587 …__STATIC_INLINE void XMC_VADC_GLOBAL_ResultInit(XMC_VADC_GLOBAL_t *const global_ptr, const XMC_VAD… in XMC_VADC_GLOBAL_ResultInit() argument
1589 XMC_ASSERT("XMC_VADC_GLOBAL_ResultInit:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_ResultInit()
1592 global_ptr->GLOBRCR = config->g_rcr; in XMC_VADC_GLOBAL_ResultInit()
1612 void XMC_VADC_GLOBAL_StartupCalibration(XMC_VADC_GLOBAL_t *const global_ptr);
1630 __STATIC_INLINE void XMC_VADC_GLOBAL_DisableStartupCalibration(XMC_VADC_GLOBAL_t *const global_ptr) in XMC_VADC_GLOBAL_DisableStartupCalibration() argument
1632 XMC_ASSERT("XMC_VADC_GLOBAL_DisableStartupCalibration:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_DisableStartupCalibration()
1633 global_ptr->GLOBCFG &= ~((uint32_t)VADC_GLOBCFG_SUCAL_Msk); in XMC_VADC_GLOBAL_DisableStartupCalibration()
1658 __STATIC_INLINE void XMC_VADC_GLOBAL_DisablePostCalibration(XMC_VADC_GLOBAL_t *const global_ptr, ui… in XMC_VADC_GLOBAL_DisablePostCalibration() argument
1660 XMC_ASSERT("XMC_VADC_GLOBAL_DisablePostCalibration:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_DisablePostCalibration()
1662 …global_ptr->GLOBCFG |= (uint32_t)((uint32_t)1 << ((uint32_t)VADC_GLOBCFG_DPCAL0_Pos + group_number… in XMC_VADC_GLOBAL_DisablePostCalibration()
1682 __STATIC_INLINE void XMC_VADC_GLOBAL_EnablePostCalibration(XMC_VADC_GLOBAL_t *const global_ptr, uin… in XMC_VADC_GLOBAL_EnablePostCalibration() argument
1684 XMC_ASSERT("XMC_VADC_GLOBAL_EnablePostCalibration:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_EnablePostCalibration()
1686 …global_ptr->GLOBCFG &= (~ (uint32_t)((uint32_t)1 << ((uint32_t)VADC_GLOBCFG_DPCAL0_Pos + group_num… in XMC_VADC_GLOBAL_EnablePostCalibration()
1710 void XMC_VADC_GLOBAL_SetBoundaries(XMC_VADC_GLOBAL_t *const global_ptr, const uint32_t boundary0, c…
1729 void XMC_VADC_GLOBAL_SetIndividualBoundary(XMC_VADC_GLOBAL_t *const global_ptr,
1752 void XMC_VADC_GLOBAL_BindGroupToEMux(XMC_VADC_GLOBAL_t *const global_ptr, const uint32_t emuxif, co…
1771 __STATIC_INLINE uint32_t XMC_VADC_GLOBAL_GetDetailedResult(XMC_VADC_GLOBAL_t *const global_ptr) in XMC_VADC_GLOBAL_GetDetailedResult() argument
1773 XMC_ASSERT("XMC_VADC_GLOBAL_GetDetailedResult:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_GetDetailedResult()
1775 return(global_ptr->GLOBRES); in XMC_VADC_GLOBAL_GetDetailedResult()
1793 …STATIC_INLINE XMC_VADC_RESULT_SIZE_t XMC_VADC_GLOBAL_GetResult(XMC_VADC_GLOBAL_t *const global_ptr) in XMC_VADC_GLOBAL_GetResult() argument
1795 XMC_ASSERT("XMC_VADC_GLOBAL_GetResult:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_GetResult()
1797 return ((XMC_VADC_RESULT_SIZE_t)global_ptr->GLOBRES); in XMC_VADC_GLOBAL_GetResult()
1817 void XMC_VADC_GLOBAL_SetCompareValue(XMC_VADC_GLOBAL_t *const global_ptr, const XMC_VADC_RESULT_SIZ…
1833 XMC_VADC_FAST_COMPARE_t XMC_VADC_GLOBAL_GetCompareResult(XMC_VADC_GLOBAL_t *const global_ptr);
1851 __STATIC_INLINE void XMC_VADC_GLOBAL_TriggerEvent(XMC_VADC_GLOBAL_t *const global_ptr, const uint32… in XMC_VADC_GLOBAL_TriggerEvent() argument
1853 XMC_ASSERT("XMC_VADC_GLOBAL_TriggerEvent:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_TriggerEvent()
1857 global_ptr->GLOBEFLAG = event_type; in XMC_VADC_GLOBAL_TriggerEvent()
1875 __STATIC_INLINE void XMC_VADC_GLOBAL_ClearEvent(XMC_VADC_GLOBAL_t *const global_ptr, const uint32_t… in XMC_VADC_GLOBAL_ClearEvent() argument
1877 XMC_ASSERT("XMC_VADC_GLOBAL_ClearEvent:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_ClearEvent()
1881 global_ptr->GLOBEFLAG = ((uint32_t)(event_type << (uint32_t)16)); in XMC_VADC_GLOBAL_ClearEvent()
1898 void XMC_VADC_GLOBAL_SetResultEventInterruptNode(XMC_VADC_GLOBAL_t *const global_ptr, XMC_VADC_SR_t…
1915 void XMC_VADC_GLOBAL_BackgroundSetReqSrcEventInterruptNode(XMC_VADC_GLOBAL_t *const global_ptr, XMC…
3246 void XMC_VADC_GLOBAL_BackgroundInit(XMC_VADC_GLOBAL_t *const global_ptr, const XMC_VADC_BACKGROUND_…
3313 void XMC_VADC_GLOBAL_BackgroundSelectTrigger(XMC_VADC_GLOBAL_t *const global_ptr, const uint32_t in…
3332 void XMC_VADC_GLOBAL_BackgroundSelectTriggerEdge(XMC_VADC_GLOBAL_t *const global_ptr, const XMC_VAD…
3351 void XMC_VADC_GLOBAL_BackgroundSelectGating(XMC_VADC_GLOBAL_t *const global_ptr, const uint32_t inp…
3369 __STATIC_INLINE void XMC_VADC_GLOBAL_BackgroundSetGatingMode(XMC_VADC_GLOBAL_t *const global_ptr, in XMC_VADC_GLOBAL_BackgroundSetGatingMode() argument
3372 XMC_ASSERT("XMC_VADC_GLOBAL_BackgroundSetGatingMode:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_BackgroundSetGatingMode()
3376 global_ptr->BRSMR &= (uint32_t)(~((uint32_t)VADC_BRSMR_ENGT_Msk)); in XMC_VADC_GLOBAL_BackgroundSetGatingMode()
3378 global_ptr->BRSMR |= (uint32_t)((uint32_t)mode_sel << VADC_BRSMR_ENGT_Pos); in XMC_VADC_GLOBAL_BackgroundSetGatingMode()
3399 …TIC_INLINE void XMC_VADC_GLOBAL_BackgroundEnableContinuousMode(XMC_VADC_GLOBAL_t *const global_ptr) in XMC_VADC_GLOBAL_BackgroundEnableContinuousMode() argument
3401 …XMC_ASSERT("XMC_VADC_GLOBAL_BackgroundEnableContinuousMode:Wrong Module Pointer", (global_ptr == V… in XMC_VADC_GLOBAL_BackgroundEnableContinuousMode()
3402 global_ptr->BRSMR |= (uint32_t)VADC_BRSMR_SCAN_Msk; in XMC_VADC_GLOBAL_BackgroundEnableContinuousMode()
3422 …IC_INLINE void XMC_VADC_GLOBAL_BackgroundDisableContinuousMode(XMC_VADC_GLOBAL_t *const global_ptr) in XMC_VADC_GLOBAL_BackgroundDisableContinuousMode() argument
3424 …XMC_ASSERT("XMC_VADC_GLOBAL_BackgroundDisableContinuousMode:Wrong Module Pointer", (global_ptr == … in XMC_VADC_GLOBAL_BackgroundDisableContinuousMode()
3425 global_ptr->BRSMR &= ~((uint32_t)VADC_BRSMR_SCAN_Msk); in XMC_VADC_GLOBAL_BackgroundDisableContinuousMode()
3442 …STATIC_INLINE void XMC_VADC_GLOBAL_BackgroundTriggerConversion(XMC_VADC_GLOBAL_t *const global_ptr) in XMC_VADC_GLOBAL_BackgroundTriggerConversion() argument
3444 …XMC_ASSERT("XMC_VADC_GLOBAL_BackgroundTriggerConversion:Wrong Module Pointer", (global_ptr == VADC… in XMC_VADC_GLOBAL_BackgroundTriggerConversion()
3445 global_ptr->BRSMR |= (uint32_t)VADC_BRSMR_LDEV_Msk; in XMC_VADC_GLOBAL_BackgroundTriggerConversion()
3464 void XMC_VADC_GLOBAL_BackgroundAbortSequence(XMC_VADC_GLOBAL_t *const global_ptr);
3484 …TIC_INLINE void XMC_VADC_GLOBAL_BackgroundAddChannelToSequence(XMC_VADC_GLOBAL_t *const global_ptr, in XMC_VADC_GLOBAL_BackgroundAddChannelToSequence() argument
3488 …XMC_ASSERT("XMC_VADC_GLOBAL_BackgroundAddChannelToSequence:Wrong Module Pointer", (global_ptr == V… in XMC_VADC_GLOBAL_BackgroundAddChannelToSequence()
3493 global_ptr->BRSSEL[grp_num] |= (uint32_t)((uint32_t)1 << ch_num); in XMC_VADC_GLOBAL_BackgroundAddChannelToSequence()
3516 __STATIC_INLINE void XMC_VADC_GLOBAL_BackgndAddMultipleChannels(XMC_VADC_GLOBAL_t *const global_ptr, in XMC_VADC_GLOBAL_BackgndAddMultipleChannels() argument
3520 …XMC_ASSERT("XMC_VADC_GLOBAL_BackgndAddMultipleChannels:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_BackgndAddMultipleChannels()
3522 global_ptr->BRSSEL[grp_num] |= ch_mask; in XMC_VADC_GLOBAL_BackgndAddMultipleChannels()
3543 …NLINE void XMC_VADC_GLOBAL_BackgroundRemoveChannelFromSequence(XMC_VADC_GLOBAL_t *const global_ptr, in XMC_VADC_GLOBAL_BackgroundRemoveChannelFromSequence() argument
3547 …XMC_ASSERT("XMC_VADC_GLOBAL_BackgroundAddChannelToSequence:Wrong Module Pointer", (global_ptr == V… in XMC_VADC_GLOBAL_BackgroundRemoveChannelFromSequence()
3552 global_ptr->BRSSEL[grp_num] &= (uint32_t)~((uint32_t)1 << ch_num); in XMC_VADC_GLOBAL_BackgroundRemoveChannelFromSequence()
3575 …ATIC_INLINE void XMC_VADC_GLOBAL_BackgndRemoveMultipleChannels(XMC_VADC_GLOBAL_t *const global_ptr, in XMC_VADC_GLOBAL_BackgndRemoveMultipleChannels() argument
3579 …XMC_ASSERT("XMC_VADC_GLOBAL_BackgndAddMultipleChannels:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_BackgndRemoveMultipleChannels()
3581 global_ptr->BRSSEL[grp_num] &= (uint32_t)~ch_mask; in XMC_VADC_GLOBAL_BackgndRemoveMultipleChannels()
3602 __STATIC_INLINE bool XMC_VADC_GLOBAL_BackgroundIsChannelPending(XMC_VADC_GLOBAL_t *const global_ptr, in XMC_VADC_GLOBAL_BackgroundIsChannelPending() argument
3606 …XMC_ASSERT("XMC_VADC_GLOBAL_BackgroundIsChannelPending:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_BackgroundIsChannelPending()
3611 return( (bool)(global_ptr->BRSPND[grp_num] & (uint32_t)((uint32_t)1 << ch_num))); in XMC_VADC_GLOBAL_BackgroundIsChannelPending()
3630 uint32_t XMC_VADC_GLOBAL_BackgroundGetNumChannelsPending(XMC_VADC_GLOBAL_t *const global_ptr);
3646 …TATIC_INLINE void XMC_VADC_GLOBAL_BackgroundTriggerReqSrcEvent(XMC_VADC_GLOBAL_t *const global_ptr) in XMC_VADC_GLOBAL_BackgroundTriggerReqSrcEvent() argument
3648 …XMC_ASSERT("XMC_VADC_GLOBAL_BackgroundTriggerReqSrcEvent:Wrong Module Pointer", (global_ptr == VAD… in XMC_VADC_GLOBAL_BackgroundTriggerReqSrcEvent()
3649 global_ptr->GLOBEFLAG |= (uint32_t)VADC_GLOBEFLAG_SEVGLB_Msk; in XMC_VADC_GLOBAL_BackgroundTriggerReqSrcEvent()
3665 __STATIC_INLINE void XMC_VADC_GLOBAL_BackgroundClearReqSrcEvent(XMC_VADC_GLOBAL_t *const global_ptr) in XMC_VADC_GLOBAL_BackgroundClearReqSrcEvent() argument
3667 …XMC_ASSERT("XMC_VADC_GLOBAL_BackgroundClearReqSrcEvent:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_BackgroundClearReqSrcEvent()
3668 global_ptr->GLOBEFLAG |= (uint32_t)VADC_GLOBEFLAG_SEVGLBCLR_Msk; in XMC_VADC_GLOBAL_BackgroundClearReqSrcEvent()
3686 …TIC_INLINE bool XMC_VADC_GLOBAL_BackgroundGetReqSrcEventStatus(XMC_VADC_GLOBAL_t *const global_ptr) in XMC_VADC_GLOBAL_BackgroundGetReqSrcEventStatus() argument
3688 …XMC_ASSERT("XMC_VADC_GLOBAL_BackgroundGetReqSrcEventStatus:Wrong Module Pointer", (global_ptr == V… in XMC_VADC_GLOBAL_BackgroundGetReqSrcEventStatus()
3689 return((bool)(global_ptr->GLOBEFLAG & (uint32_t)VADC_GLOBEFLAG_SEVGLB_Msk)); in XMC_VADC_GLOBAL_BackgroundGetReqSrcEventStatus()
3706 …IC_INLINE void XMC_VADC_GLOBAL_BackgroundEnableExternalTrigger(XMC_VADC_GLOBAL_t *const global_ptr) in XMC_VADC_GLOBAL_BackgroundEnableExternalTrigger() argument
3708 …XMC_ASSERT("XMC_VADC_GLOBAL_BackgroundEnableExternalTrigger:Wrong Module Pointer", (global_ptr == … in XMC_VADC_GLOBAL_BackgroundEnableExternalTrigger()
3710 global_ptr->BRSMR |= (uint32_t)VADC_BRSMR_ENTR_Msk; in XMC_VADC_GLOBAL_BackgroundEnableExternalTrigger()
3728 …C_INLINE void XMC_VADC_GLOBAL_BackgroundDisableExternalTrigger(XMC_VADC_GLOBAL_t *const global_ptr) in XMC_VADC_GLOBAL_BackgroundDisableExternalTrigger() argument
3730 …XMC_ASSERT("XMC_VADC_GLOBAL_BackgroundDisableExternalTrigger:Wrong Module Pointer", (global_ptr ==… in XMC_VADC_GLOBAL_BackgroundDisableExternalTrigger()
3732 global_ptr->BRSMR &= ~((uint32_t)VADC_BRSMR_ENTR_Msk); in XMC_VADC_GLOBAL_BackgroundDisableExternalTrigger()
3749 __STATIC_INLINE void XMC_VADC_GLOBAL_BackgroundEnableEvent(XMC_VADC_GLOBAL_t *const global_ptr) in XMC_VADC_GLOBAL_BackgroundEnableEvent() argument
3751 XMC_ASSERT("XMC_VADC_GLOBAL_BackgroundEnableEvent:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_BackgroundEnableEvent()
3753 global_ptr->BRSMR |= ((uint32_t)VADC_BRSMR_ENSI_Msk); in XMC_VADC_GLOBAL_BackgroundEnableEvent()
3770 __STATIC_INLINE void XMC_VADC_GLOBAL_BackgroundDisableEvent(XMC_VADC_GLOBAL_t *const global_ptr) in XMC_VADC_GLOBAL_BackgroundDisableEvent() argument
3772 XMC_ASSERT("XMC_VADC_GLOBAL_BackgroundDisableEvent:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_BackgroundDisableEvent()
3774 global_ptr->BRSMR &= ~((uint32_t)VADC_BRSMR_ENSI_Msk); in XMC_VADC_GLOBAL_BackgroundDisableEvent()