Searched refs:hwctrl (Results 1 – 2 of 2) sorted by relevance
106 #define XMC_GPIO_CHECK_HWCTRL(hwctrl) ((hwctrl == XMC_GPIO_HWCTRL_DISABLED) || \ argument107 (hwctrl == XMC_GPIO_HWCTRL_PERIPHERAL1) || \108 … (hwctrl == XMC_GPIO_HWCTRL_PERIPHERAL2)) 418 …SetHardwareControl(XMC_GPIO_PORT_t *const port, const uint8_t pin, const XMC_GPIO_HWCTRL_t hwctrl);
74 …_SetHardwareControl(XMC_GPIO_PORT_t *const port, const uint8_t pin, const XMC_GPIO_HWCTRL_t hwctrl) in XMC_GPIO_SetHardwareControl() argument77 XMC_ASSERT("XMC_GPIO_SetHardwareControl: Invalid hwctrl", XMC_GPIO_CHECK_HWCTRL(hwctrl)); in XMC_GPIO_SetHardwareControl()80 port->HWSEL |= (uint32_t)hwctrl << ((uint32_t)pin << 1U); in XMC_GPIO_SetHardwareControl()