Home
last modified time | relevance | path

Searched refs:global_ptr (Results 1 – 2 of 2) sorted by relevance

/hal_infineon-3.7.0/XMCLib/drivers/inc/
Dxmc_vadc.h1438 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()
[all …]
/hal_infineon-3.7.0/XMCLib/drivers/src/
Dxmc_vadc.c195 void XMC_VADC_GLOBAL_Init(XMC_VADC_GLOBAL_t *const global_ptr, const XMC_VADC_GLOBAL_CONFIG_t *conf… in XMC_VADC_GLOBAL_Init() argument
200 XMC_ASSERT("XMC_VADC_GLOBAL_Init:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_Init()
205 global_ptr->CLC = (uint32_t)(config->clc); in XMC_VADC_GLOBAL_Init()
210global_ptr->GLOBCFG = (uint32_t)(config->clock_config.globcfg | (uint32_t)(VADC_GLOBCFG_DIVWC_Msk… in XMC_VADC_GLOBAL_Init()
214 global_ptr->GLOBICLASS[0] = (uint32_t)(config->class0.globiclass); in XMC_VADC_GLOBAL_Init()
217 global_ptr->GLOBICLASS[1] = (uint32_t)(config->class1.globiclass); in XMC_VADC_GLOBAL_Init()
221 global_ptr->GLOBRCR = (uint32_t)(config->globrcr); in XMC_VADC_GLOBAL_Init()
226 global_ptr->GLOBBOUND = (uint32_t)(config->globbound); in XMC_VADC_GLOBAL_Init()
245 void XMC_VADC_GLOBAL_InputClassInit(XMC_VADC_GLOBAL_t *const global_ptr, const XMC_VADC_GLOBAL_CLAS… in XMC_VADC_GLOBAL_InputClassInit() argument
249 XMC_ASSERT("XMC_VADC_GLOBAL_InputClassInit:Wrong Module Pointer", (global_ptr == VADC)) in XMC_VADC_GLOBAL_InputClassInit()
[all …]