Home
last modified time | relevance | path

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

1234

/hal_infineon-latest/mtb-hal-cat1/source/
Dcyhal_gpio.c65 #define _CYHAL_GPIO_IS_PORT_INTERRUPT_SET(pin) ((bool)(GPIO_PRT_INTR_CFG(CYHAL_GET_PORTADDR(p… argument
67 #define _CYHAL_GPIO_IS_PORT_INTERRUPT_SET(pin) ((bool)(GPIO_PRT_INTR_MASK(CYHAL_GET_PORTADDR(… argument
148 uint8_t pin = CYHAL_GET_PIN(cb_data->pin); in _cyhal_gpio_irq_handler() local
243 static _cyhal_system_irq_t _cyhal_get_irqn(cyhal_gpio_t pin) in _cyhal_get_irqn()
303 cy_rslt_t cyhal_gpio_init(cyhal_gpio_t pin, cyhal_gpio_direction_t direction, cyhal_gpio_drive_mode… in cyhal_gpio_init()
337 void cyhal_gpio_free(cyhal_gpio_t pin) in cyhal_gpio_free()
387 cy_rslt_t cyhal_gpio_configure(cyhal_gpio_t pin, cyhal_gpio_direction_t direction, cyhal_gpio_drive… in cyhal_gpio_configure()
395 void cyhal_gpio_register_callback(cyhal_gpio_t pin, cyhal_gpio_callback_data_t* callback_data) in cyhal_gpio_register_callback()
422 void cyhal_gpio_enable_event(cyhal_gpio_t pin, cyhal_gpio_event_t event, uint8_t intr_priority, boo… in cyhal_gpio_enable_event()
455 cy_rslt_t cyhal_gpio_connect_digital(cyhal_gpio_t pin, cyhal_source_t source) in cyhal_gpio_connect_digital()
[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-latest/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-latest/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-latest/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_psc3_e_lqfp_48.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_psc3_vqfn_48.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_cyw20829_77_bga.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
Dcyhal_psc3_e_lqfp_64.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
131 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
Dcyhal_psc3_vqfn_64.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
131 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_psc3_e_lqfp_80.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
143 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
/hal_infineon-latest/mtb-hal-cat1/COMPONENT_CAT1A/include/pin_packages/
Dcyhal_tviibe4m_64_lqfp.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
128 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
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_tviibe1m_64_lqfp.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
128 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member
Dcyhal_tviibe2m_64_lqfp.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
128 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_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_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_tviibe1m_80_lqfp.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
143 cyhal_gpio_t pin; //!< The GPIO pin the connection is with member

1234