Home
last modified time | relevance | path

Searched defs:pin (Results 1 – 25 of 59) sorted by relevance

123

/hal_infineon-3.7.0/mtb-hal-cat1/source/
Dcyhal_gpio.c140 uint8_t pin = CYHAL_GET_PIN(cb_data->pin); in _cyhal_gpio_irq_handler() local
239 cy_rslt_t cyhal_gpio_init(cyhal_gpio_t pin, cyhal_gpio_direction_t direction, cyhal_gpio_drive_mode… in cyhal_gpio_init()
273 void cyhal_gpio_free(cyhal_gpio_t pin) in cyhal_gpio_free()
316 cy_rslt_t cyhal_gpio_configure(cyhal_gpio_t pin, cyhal_gpio_direction_t direction, cyhal_gpio_drive… in cyhal_gpio_configure()
324 void cyhal_gpio_register_callback(cyhal_gpio_t pin, cyhal_gpio_callback_data_t* callback_data) in cyhal_gpio_register_callback()
351 void cyhal_gpio_enable_event(cyhal_gpio_t pin, cyhal_gpio_event_t event, uint8_t intr_priority, boo… in cyhal_gpio_enable_event()
436 cy_rslt_t cyhal_gpio_connect_digital(cyhal_gpio_t pin, cyhal_source_t source) in cyhal_gpio_connect_digital()
480 cy_rslt_t cyhal_gpio_enable_output(cyhal_gpio_t pin, cyhal_signal_type_t type, cyhal_source_t *sour… in cyhal_gpio_enable_output()
520 cy_rslt_t cyhal_gpio_disconnect_digital(cyhal_gpio_t pin, cyhal_source_t source) in cyhal_gpio_disconnect_digital()
560 cy_rslt_t cyhal_gpio_disable_output(cyhal_gpio_t pin) in cyhal_gpio_disable_output()
[all …]
Dcyhal_utils.c38 const cyhal_resource_pin_mapping_t *_cyhal_utils_get_resource(cyhal_gpio_t pin, const cyhal_resourc… in _cyhal_utils_get_resource()
57 const cyhal_resource_pin_mapping_t* _cyhal_utils_try_alloc(cyhal_gpio_t pin, cyhal_resource_t rsc, … in _cyhal_utils_try_alloc()
73 void _cyhal_utils_release_if_used(cyhal_gpio_t *pin) in _cyhal_utils_release_if_used()
/hal_infineon-3.7.0/XMCLib/drivers/inc/
Dxmc_gpio.h229 __STATIC_INLINE void XMC_GPIO_SetOutputLevel(XMC_GPIO_PORT_t *const port, const uint8_t pin, const … in XMC_GPIO_SetOutputLevel()
256 __STATIC_INLINE void XMC_GPIO_SetOutputHigh(XMC_GPIO_PORT_t *const port, const uint8_t pin) in XMC_GPIO_SetOutputHigh()
282 __STATIC_INLINE void XMC_GPIO_SetOutputLow(XMC_GPIO_PORT_t *const port, const uint8_t pin) in XMC_GPIO_SetOutputLow()
308 __STATIC_INLINE void XMC_GPIO_ToggleOutput(XMC_GPIO_PORT_t *const port, const uint8_t pin) in XMC_GPIO_ToggleOutput()
333 __STATIC_INLINE uint32_t XMC_GPIO_GetInput(XMC_GPIO_PORT_t *const port, const uint8_t pin) in XMC_GPIO_GetInput()
361 __STATIC_INLINE void XMC_GPIO_EnablePowerSaveMode(XMC_GPIO_PORT_t *const port, const uint8_t pin) in XMC_GPIO_EnablePowerSaveMode()
390 __STATIC_INLINE void XMC_GPIO_DisablePowerSaveMode(XMC_GPIO_PORT_t *const port, const uint8_t pin) in XMC_GPIO_DisablePowerSaveMode()
435 __STATIC_INLINE void XMC_GPIO_EnableDigitalInput(XMC_GPIO_PORT_t *const port, const uint8_t pin) in XMC_GPIO_EnableDigitalInput()
458 __STATIC_INLINE void XMC_GPIO_DisableDigitalInput(XMC_GPIO_PORT_t *const port, const uint8_t pin) in XMC_GPIO_DisableDigitalInput()
/hal_infineon-3.7.0/mtb-hal-cat1/include_pvt/
Dcyhal_gpio_impl.h89 #define CYHAL_GET_PORTADDR(pin) (Cy_GPIO_PortToAddr(CYHAL_GET_PORT(pin))) /**< Macro to get the… argument
95 __STATIC_INLINE void cyhal_gpio_write_internal(cyhal_gpio_t pin, bool value) in cyhal_gpio_write_internal()
100 #define cyhal_gpio_write(pin, value) cyhal_gpio_write_internal(pin, value) argument
102 __STATIC_INLINE bool cyhal_gpio_read_internal(cyhal_gpio_t pin) in cyhal_gpio_read_internal()
107 #define cyhal_gpio_read(pin) cyhal_gpio_read_internal(pin) argument
109 __STATIC_INLINE void cyhal_gpio_toggle_internal(cyhal_gpio_t pin) in cyhal_gpio_toggle_internal()
114 #define cyhal_gpio_toggle(pin) cyhal_gpio_toggle_internal(pin) argument
Dcyhal_utils_impl.h61 static inline cyhal_resource_inst_t _cyhal_utils_get_gpio_resource(cyhal_gpio_t pin) in _cyhal_utils_get_gpio_resource()
243 #define CY_UTILS_GET_RESOURCE(pin, mappings) _CYHAL_UTILS_GET_RESOURCE((pin), (mappings)) argument
244 #define cyhal_utils_get_resource(pin, mappings, count) _cyhal_utils_get_resource((pin), (mappings)… argument
245 #define cyhal_utils_get_gpio_resource(pin) _cyhal_utils_get_gpio_resource((pin)) argument
Dcyhal_scb_common.h190 #define _CYHAL_SCB_FIND_MAP(pin, pin_map) \ argument
192 #define _CYHAL_SCB_FIND_MAP_BLOCK(pin, pin_map, block) \ argument
194 #define _CYHAL_SCB_CHECK_AFFILIATION(pin, pin_map) \ argument
Dcyhal_utils.h77 #define _CYHAL_UTILS_TRY_ALLOC(pin, rsc, mappings) \ argument
87 #define _CYHAL_UTILS_GET_RESOURCE(pin, mappings) _cyhal_utils_get_resource(pin, mappings, sizeof(ma… argument
97 #define _CYHAL_UTILS_GET_RESOURCE_INST(pin, mappings, block_res) _cyhal_utils_get_resource(pin, map… argument
/hal_infineon-3.7.0/mtb-hal-cat1/COMPONENT_CAT1B/include/pin_packages/
Dcyhal_cyw20829_40_qfn.h44 #define CYHAL_GET_GPIO(port, pin) ((((uint8_t)(port)) << 3U) + ((uint8_t)(pin))) argument
47 #define CYHAL_GET_PIN(pin) ((uint8_t)(((uint8_t)pin) & 0x07U)) argument
49 #define CYHAL_GET_PORT(pin) ((uint8_t)(((uint8_t)pin) >> 3U)) argument
90 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
Dcyhal_cyw20829a0_40_qfn.h44 #define CYHAL_GET_GPIO(port, pin) ((((uint8_t)(port)) << 3U) + ((uint8_t)(pin))) argument
47 #define CYHAL_GET_PIN(pin) ((uint8_t)(((uint8_t)pin) & 0x07U)) argument
49 #define CYHAL_GET_PORT(pin) ((uint8_t)(((uint8_t)pin) >> 3U)) argument
90 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
Dcyhal_cyw20829_56_qfn.h44 #define CYHAL_GET_GPIO(port, pin) ((((uint8_t)(port)) << 3U) + ((uint8_t)(pin))) argument
47 #define CYHAL_GET_PIN(pin) ((uint8_t)(((uint8_t)pin) & 0x07U)) argument
49 #define CYHAL_GET_PORT(pin) ((uint8_t)(((uint8_t)pin) >> 3U)) argument
103 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
Dcyhal_cyw20829a0_56_qfn.h44 #define CYHAL_GET_GPIO(port, pin) ((((uint8_t)(port)) << 3U) + ((uint8_t)(pin))) argument
47 #define CYHAL_GET_PIN(pin) ((uint8_t)(((uint8_t)pin) & 0x07U)) argument
49 #define CYHAL_GET_PORT(pin) ((uint8_t)(((uint8_t)pin) >> 3U)) argument
103 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
/hal_infineon-3.7.0/mtb-hal-cat1/COMPONENT_CAT1A/include/pin_packages/
Dcyhal_psoc6_03_49_wlcsp.h44 #define CYHAL_GET_GPIO(port, pin) ((((uint8_t)(port)) << 3U) + ((uint8_t)(pin))) argument
47 #define CYHAL_GET_PIN(pin) ((uint8_t)(((uint8_t)pin) & 0x07U)) argument
49 #define CYHAL_GET_PORT(pin) ((uint8_t)(((uint8_t)pin) >> 3U)) argument
111 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
Dcyhal_psoc6_03_68_qfn.h44 #define CYHAL_GET_GPIO(port, pin) ((((uint8_t)(port)) << 3U) + ((uint8_t)(pin))) argument
47 #define CYHAL_GET_PIN(pin) ((uint8_t)(((uint8_t)pin) & 0x07U)) argument
49 #define CYHAL_GET_PORT(pin) ((uint8_t)(((uint8_t)pin) >> 3U)) argument
134 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
Dcyhal_psoc6_04_64_tqfp.h44 #define CYHAL_GET_GPIO(port, pin) ((((uint8_t)(port)) << 3U) + ((uint8_t)(pin))) argument
47 #define CYHAL_GET_PIN(pin) ((uint8_t)(((uint8_t)pin) & 0x07U)) argument
49 #define CYHAL_GET_PORT(pin) ((uint8_t)(((uint8_t)pin) >> 3U)) argument
130 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
Dcyhal_psoc6_04_68_qfn.h44 #define CYHAL_GET_GPIO(port, pin) ((((uint8_t)(port)) << 3U) + ((uint8_t)(pin))) argument
47 #define CYHAL_GET_PIN(pin) ((uint8_t)(((uint8_t)pin) & 0x07U)) argument
49 #define CYHAL_GET_PORT(pin) ((uint8_t)(((uint8_t)pin) >> 3U)) argument
134 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
Dcyhal_psoc6_04_80_tqfp.h44 #define CYHAL_GET_GPIO(port, pin) ((((uint8_t)(port)) << 3U) + ((uint8_t)(pin))) argument
47 #define CYHAL_GET_PIN(pin) ((uint8_t)(((uint8_t)pin) & 0x07U)) argument
49 #define CYHAL_GET_PORT(pin) ((uint8_t)(((uint8_t)pin) >> 3U)) argument
139 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
Dcyhal_psoc6_04_80_m_csp.h44 #define CYHAL_GET_GPIO(port, pin) ((((uint8_t)(port)) << 3U) + ((uint8_t)(pin))) argument
47 #define CYHAL_GET_PIN(pin) ((uint8_t)(((uint8_t)pin) & 0x07U)) argument
49 #define CYHAL_GET_PORT(pin) ((uint8_t)(((uint8_t)pin) >> 3U)) argument
144 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
Dcyhal_psoc6_02_68_qfn.h44 #define CYHAL_GET_GPIO(port, pin) ((((uint8_t)(port)) << 3U) + ((uint8_t)(pin))) argument
47 #define CYHAL_GET_PIN(pin) ((uint8_t)(((uint8_t)pin) & 0x07U)) argument
49 #define CYHAL_GET_PORT(pin) ((uint8_t)(((uint8_t)pin) >> 3U)) argument
134 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
Dcyhal_psoc6_03_100_tqfp.h44 #define CYHAL_GET_GPIO(port, pin) ((((uint8_t)(port)) << 3U) + ((uint8_t)(pin))) argument
47 #define CYHAL_GET_PIN(pin) ((uint8_t)(((uint8_t)pin) & 0x07U)) argument
49 #define CYHAL_GET_PORT(pin) ((uint8_t)(((uint8_t)pin) >> 3U)) argument
145 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
Dcyhal_psoc6_01_43_smt.h44 #define CYHAL_GET_GPIO(port, pin) ((((uint8_t)(port)) << 3U) + ((uint8_t)(pin))) argument
47 #define CYHAL_GET_PIN(pin) ((uint8_t)(((uint8_t)pin) & 0x07U)) argument
49 #define CYHAL_GET_PORT(pin) ((uint8_t)(((uint8_t)pin) >> 3U)) argument
108 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
Dcyhal_psoc6_01_68_qfn_ble.h44 #define CYHAL_GET_GPIO(port, pin) ((((uint8_t)(port)) << 3U) + ((uint8_t)(pin))) argument
47 #define CYHAL_GET_PIN(pin) ((uint8_t)(((uint8_t)pin) & 0x07U)) argument
49 #define CYHAL_GET_PORT(pin) ((uint8_t)(((uint8_t)pin) >> 3U)) argument
114 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
Dcyhal_psoc6_01_80_wlcsp.h44 #define CYHAL_GET_GPIO(port, pin) ((((uint8_t)(port)) << 3U) + ((uint8_t)(pin))) argument
47 #define CYHAL_GET_PIN(pin) ((uint8_t)(((uint8_t)pin) & 0x07U)) argument
49 #define CYHAL_GET_PORT(pin) ((uint8_t)(((uint8_t)pin) >> 3U)) argument
142 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
Dcyhal_psoc6_02_100_wlcsp.h44 #define CYHAL_GET_GPIO(port, pin) ((((uint8_t)(port)) << 3U) + ((uint8_t)(pin))) argument
47 #define CYHAL_GET_PIN(pin) ((uint8_t)(((uint8_t)pin) & 0x07U)) argument
49 #define CYHAL_GET_PORT(pin) ((uint8_t)(((uint8_t)pin) >> 3U)) argument
164 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
Dcyhal_psoc6_01_104_m_csp_ble.h44 #define CYHAL_GET_GPIO(port, pin) ((((uint8_t)(port)) << 3U) + ((uint8_t)(pin))) argument
47 #define CYHAL_GET_PIN(pin) ((uint8_t)(((uint8_t)pin) & 0x07U)) argument
49 #define CYHAL_GET_PORT(pin) ((uint8_t)(((uint8_t)pin) >> 3U)) argument
146 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
/hal_infineon-3.7.0/XMCLib/drivers/src/
Dxmc_gpio.c65 void XMC_GPIO_SetMode(XMC_GPIO_PORT_t *const port, const uint8_t pin, const XMC_GPIO_MODE_t mode) in XMC_GPIO_SetMode()
74 void XMC_GPIO_SetHardwareControl(XMC_GPIO_PORT_t *const port, const uint8_t pin, const XMC_GPIO_HWC… in XMC_GPIO_SetHardwareControl()

123