Home
last modified time | relevance | path

Searched refs:peripheral (Results 1 – 18 of 18) sorted by relevance

/hal_infineon-3.4.0/XMCLib/drivers/inc/
Dxmc_posif.h409 void XMC_POSIF_Enable(XMC_POSIF_t *const peripheral);
423 void XMC_POSIF_Disable(XMC_POSIF_t *const peripheral);
439 void XMC_POSIF_Init(XMC_POSIF_t *const peripheral, const XMC_POSIF_CONFIG_t * const config);
458 XMC_POSIF_STATUS_t XMC_POSIF_HSC_Init(XMC_POSIF_t *const peripheral, const XMC_POSIF_HSC_CONFIG_t *…
476 XMC_POSIF_STATUS_t XMC_POSIF_QD_Init(XMC_POSIF_t *const peripheral, const XMC_POSIF_QD_CONFIG_t * c…
495 XMC_POSIF_STATUS_t XMC_POSIF_MCM_Init(XMC_POSIF_t *const peripheral, const XMC_POSIF_MCM_CONFIG_t *…
513 __STATIC_INLINE void XMC_POSIF_SetMode(XMC_POSIF_t *const peripheral, const XMC_POSIF_MODE_t mode) in XMC_POSIF_SetMode() argument
515 peripheral->PCONF = ((peripheral->PCONF & ~(uint32_t)(POSIF_PCONF_FSEL_Msk)) | in XMC_POSIF_SetMode()
538 void XMC_POSIF_SelectInputSource(XMC_POSIF_t *const peripheral, const XMC_POSIF_INPUT_PORT_t input0,
557 __STATIC_INLINE void XMC_POSIF_Start(XMC_POSIF_t *const peripheral) in XMC_POSIF_Start() argument
[all …]
Dxmc_acmp.h246 void XMC_ACMP_Init(XMC_ACMP_t *const peripheral, uint32_t instance, const XMC_ACMP_CONFIG_t *const …
267 __STATIC_INLINE void XMC_ACMP_EnableComparator(XMC_ACMP_t *const peripheral, uint32_t instance) in XMC_ACMP_EnableComparator() argument
269 …XMC_ASSERT("XMC_ACMP_EnableComparator:Wrong module pointer", XMC_ACMP_CHECK_MODULE_PTR(peripheral)) in XMC_ACMP_EnableComparator()
272 peripheral->ANACMP[instance] |= (uint16_t)COMPARATOR_ANACMP0_CMP_EN_Msk; in XMC_ACMP_EnableComparator()
294 __STATIC_INLINE void XMC_ACMP_DisableComparator(XMC_ACMP_t *const peripheral, uint32_t instance) in XMC_ACMP_DisableComparator() argument
296 …MC_ASSERT("XMC_ACMP_DisableComparator:Wrong module pointer", XMC_ACMP_CHECK_MODULE_PTR(peripheral)) in XMC_ACMP_DisableComparator()
299 peripheral->ANACMP[instance] &= (uint16_t)(~((uint32_t)COMPARATOR_ANACMP0_CMP_EN_Msk)); in XMC_ACMP_DisableComparator()
370 void XMC_ACMP_SetInput(XMC_ACMP_t *const peripheral, uint32_t instance, const XMC_ACMP_INP_SOURCE_t…
Dxmc_scu.h472 void XMC_SCU_CLOCK_GatePeripheralClock(const XMC_SCU_PERIPHERAL_CLOCK_t peripheral);
500 void XMC_SCU_CLOCK_UngatePeripheralClock(const XMC_SCU_PERIPHERAL_CLOCK_t peripheral);
524 bool XMC_SCU_CLOCK_IsPeripheralClockGated(const XMC_SCU_PERIPHERAL_CLOCK_t peripheral);
Dxmc_pau.h291 void XMC_PAU_EnablePeripheralAccess(XMC_PAU_PERIPHERAL_t peripheral);
308 void XMC_PAU_DisablePeripheralAccess(XMC_PAU_PERIPHERAL_t peripheral);
324 bool XMC_PAU_IsPeripheralAccessEnabled(XMC_PAU_PERIPHERAL_t peripheral);
337 bool XMC_PAU_IsPeripheralAvailable(XMC_PAU_PERIPHERAL_t peripheral);
Dxmc4_scu.h1447 void XMC_SCU_RESET_AssertPeripheralReset(const XMC_SCU_PERIPHERAL_RESET_t peripheral);
1469 void XMC_SCU_RESET_DeassertPeripheralReset(const XMC_SCU_PERIPHERAL_RESET_t peripheral);
1487 bool XMC_SCU_RESET_IsPeripheralResetAsserted(const XMC_SCU_PERIPHERAL_RESET_t peripheral);
Dxmc_dma.h639 void XMC_DMA_EnableRequestLine(XMC_DMA_t *const dma, uint8_t line, uint8_t peripheral);
Dxmc_ebu.h93 # error 'EBU' base peripheral pointer not defined
Dxmc_sdmmc.h137 # error 'SDMMC' base peripheral pointer not defined
/hal_infineon-3.4.0/XMCLib/drivers/src/
Dxmc_posif.c84 __STATIC_INLINE bool XMC_POSIF_IsPeripheralValid(const XMC_POSIF_t *const peripheral) in XMC_POSIF_IsPeripheralValid() argument
88 tmp = (peripheral == POSIF0); in XMC_POSIF_IsPeripheralValid()
90 tmp |= (peripheral == POSIF1); in XMC_POSIF_IsPeripheralValid()
101 void XMC_POSIF_Enable(XMC_POSIF_t *const peripheral) in XMC_POSIF_Enable() argument
107 if (peripheral == POSIF0) in XMC_POSIF_Enable()
117 else if (peripheral == POSIF1) in XMC_POSIF_Enable()
134 void XMC_POSIF_Disable(XMC_POSIF_t *const peripheral) in XMC_POSIF_Disable() argument
136 if (peripheral == POSIF0) in XMC_POSIF_Disable()
146 else if (peripheral == POSIF1) in XMC_POSIF_Disable()
163 void XMC_POSIF_Init(XMC_POSIF_t *const peripheral, const XMC_POSIF_CONFIG_t *const config) in XMC_POSIF_Init() argument
[all …]
Dxmc_pau.c68 void XMC_PAU_EnablePeripheralAccess(XMC_PAU_PERIPHERAL_t peripheral) in XMC_PAU_EnablePeripheralAccess() argument
72 reg_num = ((uint32_t)peripheral & 0xf0000000U) >> 28U; in XMC_PAU_EnablePeripheralAccess()
73 XMC_PAU->PRIVDIS[reg_num] &= (uint32_t)~((uint32_t)peripheral & 0x0fffffffUL); in XMC_PAU_EnablePeripheralAccess()
79 void XMC_PAU_DisablePeripheralAccess(XMC_PAU_PERIPHERAL_t peripheral) in XMC_PAU_DisablePeripheralAccess() argument
83 reg_num = ((uint32_t)peripheral & 0xf0000000U) >> 28U; in XMC_PAU_DisablePeripheralAccess()
84 XMC_PAU->PRIVDIS[reg_num] |= (uint32_t)((uint32_t)peripheral & 0x0fffffffUL); in XMC_PAU_DisablePeripheralAccess()
90 bool XMC_PAU_IsPeripheralAccessEnabled(XMC_PAU_PERIPHERAL_t peripheral) in XMC_PAU_IsPeripheralAccessEnabled() argument
94 reg_num = ((uint32_t)peripheral & 0xf0000000U) >> 28U; in XMC_PAU_IsPeripheralAccessEnabled()
95 return (bool)(XMC_PAU->PRIVDIS[reg_num] & ((uint32_t)peripheral & 0x0fffffffUL)); in XMC_PAU_IsPeripheralAccessEnabled()
101 bool XMC_PAU_IsPeripheralAvailable(XMC_PAU_PERIPHERAL_t peripheral) in XMC_PAU_IsPeripheralAvailable() argument
[all …]
Dxmc_acmp.c82 void XMC_ACMP_Init(XMC_ACMP_t *const peripheral, uint32_t instance, const XMC_ACMP_CONFIG_t *const … in XMC_ACMP_Init() argument
86 XMC_ASSERT("XMC_ACMP_Init:Wrong module pointer", XMC_ACMP_CHECK_MODULE_PTR(peripheral)) in XMC_ACMP_Init()
94peripheral->ANACMP[instance] = ((peripheral->ANACMP[instance] & (uint32_t)COMPARATOR_ANACMP0_CMP_L… in XMC_ACMP_Init()
99 void XMC_ACMP_SetInput(XMC_ACMP_t *const peripheral, uint32_t instance, XMC_ACMP_INP_SOURCE_t sourc… in XMC_ACMP_SetInput() argument
101 XMC_ASSERT("XMC_ACMP_SetInput:Wrong module pointer", XMC_ACMP_CHECK_MODULE_PTR(peripheral)) in XMC_ACMP_SetInput()
115peripheral->ANACMP[instance] = ((peripheral->ANACMP[instance] & (uint32_t)(~COMPARATOR_ANACMP0_ACM… in XMC_ACMP_SetInput()
Dxmc4_scu.c658 void XMC_SCU_RESET_AssertPeripheralReset(const XMC_SCU_PERIPHERAL_RESET_t peripheral) in XMC_SCU_RESET_AssertPeripheralReset() argument
660 uint32_t index = (uint32_t)((((uint32_t)peripheral) & 0xf0000000UL) >> 28UL); in XMC_SCU_RESET_AssertPeripheralReset()
661 uint32_t mask = (((uint32_t)peripheral) & ((uint32_t)~0xf0000000UL)); in XMC_SCU_RESET_AssertPeripheralReset()
667 void XMC_SCU_RESET_DeassertPeripheralReset(const XMC_SCU_PERIPHERAL_RESET_t peripheral) in XMC_SCU_RESET_DeassertPeripheralReset() argument
669 uint32_t index = (uint32_t)((((uint32_t)peripheral) & 0xf0000000UL) >> 28UL); in XMC_SCU_RESET_DeassertPeripheralReset()
670 uint32_t mask = (((uint32_t)peripheral) & ((uint32_t)~0xf0000000UL)); in XMC_SCU_RESET_DeassertPeripheralReset()
676 bool XMC_SCU_RESET_IsPeripheralResetAsserted(const XMC_SCU_PERIPHERAL_RESET_t peripheral) in XMC_SCU_RESET_IsPeripheralResetAsserted() argument
678 uint32_t index = (uint32_t)((((uint32_t)peripheral) & 0xf0000000UL) >> 28UL); in XMC_SCU_RESET_IsPeripheralResetAsserted()
679 uint32_t mask = (((uint32_t)peripheral) & ((uint32_t)~0xf0000000UL)); in XMC_SCU_RESET_IsPeripheralResetAsserted()
1075 void XMC_SCU_CLOCK_GatePeripheralClock(const XMC_SCU_PERIPHERAL_CLOCK_t peripheral) in XMC_SCU_CLOCK_GatePeripheralClock() argument
[all …]
Dxmc_dma.c205 void XMC_DMA_EnableRequestLine(XMC_DMA_t *const dma, uint8_t line, uint8_t peripheral) in XMC_DMA_EnableRequestLine() argument
214 ((uint32_t)peripheral << (line * DLR_SRSEL_RS_BITSIZE))); in XMC_DMA_EnableRequestLine()
221 ((uint32_t)peripheral << (line * DLR_SRSEL_RS_BITSIZE))); in XMC_DMA_EnableRequestLine()
328 uint8_t peripheral; in XMC_DMA_CH_Init() local
369 peripheral = config->dst_peripheral_request >> GPDMA_CH_CFGH_PER_BITSIZE; in XMC_DMA_CH_Init()
372 XMC_DMA_EnableRequestLine(dma, line, peripheral); in XMC_DMA_CH_Init()
395 peripheral = config->src_peripheral_request >> GPDMA_CH_CFGH_PER_BITSIZE; in XMC_DMA_CH_Init()
398 XMC_DMA_EnableRequestLine(dma, line, peripheral); in XMC_DMA_CH_Init()
Dxmc1_scu.c637 void XMC_SCU_CLOCK_GatePeripheralClock(const XMC_SCU_PERIPHERAL_CLOCK_t peripheral) in XMC_SCU_CLOCK_GatePeripheralClock() argument
640 SCU_CLK->CGATSET0 |= (uint32_t)peripheral; in XMC_SCU_CLOCK_GatePeripheralClock()
645 void XMC_SCU_CLOCK_UngatePeripheralClock(const XMC_SCU_PERIPHERAL_CLOCK_t peripheral) in XMC_SCU_CLOCK_UngatePeripheralClock() argument
648 SCU_CLK->CGATCLR0 |= (uint32_t)peripheral; in XMC_SCU_CLOCK_UngatePeripheralClock()
657 bool XMC_SCU_CLOCK_IsPeripheralClockGated(const XMC_SCU_PERIPHERAL_CLOCK_t peripheral) in XMC_SCU_CLOCK_IsPeripheralClockGated() argument
659 return (bool)((SCU_CLK->CGATSTAT0 & peripheral) != 0); in XMC_SCU_CLOCK_IsPeripheralClockGated()
/hal_infineon-3.4.0/mtb-pdl-cat1/
DREADME.md6 peripheral drivers into a single package. The drivers abstract the hardware functions into a set of
11 is [available here](https://www.cypress.com/documentation/software-and-drivers/peripheral-driver-li…
14 * Includes all the updates made to the peripheral drivers for ModusToolbox™ software
15 … Contains standard set of PSoC® 6 digital and analog peripheral drivers that enable rapid peripher…
26 The PDL provides a high-level API to configure, initialize, and use a peripheral driver.
27 The drivers are designed for peripheral IP blocks.
/hal_infineon-3.4.0/XMCLib/
DReadme.txt58 - XMClib/inc: Include files per peripheral
59 - XMClib/src: Implementation files per peripheral
79 6. Configure the peripheral and make use of the APIs described in the documentation.
/hal_infineon-3.4.0/mtb-hal-cat1/
DREADME.md5 …use and portability means the HAL does not expose all of the low-level peripheral functionality. T…
25 …ract directly with the Hardware Manager from application firmware. The peripheral drivers automati…
28 … the application can go to sleep at a global level. Additionally, each peripheral driver has its o…
34peripheral>_set_power_mode_strategy`) that allows changing this behavior. There are three possible…
37 …ndent on device-specific data structures (for example, mapping pins to peripheral instances). This…
/hal_infineon-3.4.0/
DReadme.txt19 peripheral functionality. The HAL can be combined with platform-specific libraries
26 files, startup code, and peripheral drivers into a single package. The PDL supports