Home
last modified time | relevance | path

Searched refs:mapping (Results 1 – 6 of 6) sorted by relevance

/hal_infineon-3.4.0/mtb-hal-cat1/COMPONENT_PSOC6HAL/source/
Dcyhal_gpio.c216 cyhal_resource_pin_mapping_t mapping = cyhal_pin_map_peri_tr_io_output[i]; in cyhal_gpio_free() local
217 if(mapping.pin == pin) in cyhal_gpio_free()
308 cyhal_resource_pin_mapping_t mapping = cyhal_pin_map_peri_tr_io_output[i]; in cyhal_gpio_connect_digital() local
309 if(mapping.pin == pin) in cyhal_gpio_connect_digital()
311 Cy_GPIO_SetHSIOM(CYHAL_GET_PORTADDR(pin), CYHAL_GET_PIN(pin), mapping.hsiom); in cyhal_gpio_connect_digital()
314 … cyhal_dest_t dest = (cyhal_dest_t)(CYHAL_TRIGGER_PERI_TR_IO_OUTPUT0 + mapping.channel_num); in cyhal_gpio_connect_digital()
316 …cyhal_dest_t dest = (cyhal_dest_t)(CYHAL_TRIGGER_IOSS_PERI_TR_IO_OUTPUT_OUT0 + mapping.channel_num… in cyhal_gpio_connect_digital()
339 cyhal_resource_pin_mapping_t mapping = cyhal_pin_map_peri_tr_io_input[i]; in cyhal_gpio_enable_output() local
340 if(mapping.pin == pin) in cyhal_gpio_enable_output()
342 Cy_GPIO_SetHSIOM(CYHAL_GET_PORTADDR(pin), CYHAL_GET_PIN(pin), mapping.hsiom); in cyhal_gpio_enable_output()
[all …]
Dcyhal_quaddec.c125 cyhal_resource_pin_mapping_t mapping; in _cyhal_quaddec_connect_pin() local
131 mapping = cyhal_pin_map_tcpwm_tr_in[index]; in _cyhal_quaddec_connect_pin()
133 if (mapping.pin == pin) in _cyhal_quaddec_connect_pin()
136 Cy_GPIO_SetHSIOM(CYHAL_GET_PORTADDR(pin), CYHAL_GET_PIN(pin), mapping.hsiom); in _cyhal_quaddec_connect_pin()
151 (uint32_t)(mapping.channel_num) + 2); in _cyhal_quaddec_connect_pin()
160 (uint32_t)(mapping.channel_num) + 2); in _cyhal_quaddec_connect_pin()
169 (uint32_t)(mapping.channel_num) + 2); in _cyhal_quaddec_connect_pin()
Dcyhal_utils_psoc.c52 cy_rslt_t _cyhal_utils_reserve_and_connect(const cyhal_resource_pin_mapping_t *mapping, uint8_t dri… in _cyhal_utils_reserve_and_connect() argument
54 cyhal_resource_inst_t pinRsc = _cyhal_utils_get_gpio_resource(mapping->pin); in _cyhal_utils_reserve_and_connect()
58 status = cyhal_connect_pin(mapping, drive_mode); in _cyhal_utils_reserve_and_connect()
Dcyhal_qspi.c278 …_t _cyhal_qspi_check_pin_and_reserve(const cyhal_resource_pin_mapping_t *mapping, uint8_t drive_mo… in _cyhal_qspi_check_pin_and_reserve() argument
283 cy_rslt_t result = _cyhal_utils_reserve_and_connect(mapping, drive_mode); in _cyhal_qspi_check_pin_and_reserve()
285 cy_rslt_t result = cyhal_connect_pin(mapping, drive_mode); in _cyhal_qspi_check_pin_and_reserve()
/hal_infineon-3.4.0/mtb-hal-cat1/COMPONENT_PSOC6HAL/include/
Dcyhal_utils_psoc.h65 cy_rslt_t _cyhal_utils_reserve_and_connect(const cyhal_resource_pin_mapping_t *mapping, uint8_t dri…
/hal_infineon-3.4.0/mtb-hal-cat1/
DREADME.md37 … compile-time dependent on device-specific data structures (for example, mapping pins to periphera…