| /hal_infineon-latest/mtb-hal-cat1/include_pvt/ |
| D | cyhal_clock_impl.h | 121 extern const cyhal_resource_inst_t CYHAL_CLOCK_RSC_IMO; 126 extern const cyhal_resource_inst_t CYHAL_CLOCK_RSC_EXT; 132 extern const cyhal_resource_inst_t CYHAL_CLOCK_RSC_MEM; 139 extern const cyhal_resource_inst_t CYHAL_CLOCK_RSC_ILO[_CYHAL_SRSS_NUM_ILO]; 146 extern const cyhal_resource_inst_t CYHAL_CLOCK_RSC_ECO; 148 extern const cyhal_resource_inst_t CYHAL_CLOCK_RSC_ECO_PRESCALER; 154 extern const cyhal_resource_inst_t CYHAL_CLOCK_RSC_ALTHF; 160 extern const cyhal_resource_inst_t CYHAL_CLOCK_RSC_ALTLF; 166 extern const cyhal_resource_inst_t CYHAL_CLOCK_RSC_PILO; 172 extern const cyhal_resource_inst_t CYHAL_CLOCK_RSC_WCO; [all …]
|
| D | cyhal_hw_types.h | 193 cyhal_resource_inst_t resource; 218 cyhal_resource_inst_t resource; 274 const cyhal_resource_inst_t* resource; 370 cyhal_resource_inst_t resource; 419 const cyhal_resource_inst_t* resource; 477 cyhal_resource_inst_t resource; 520 const cyhal_resource_inst_t* resource; 574 cyhal_resource_inst_t resource; 605 const cyhal_resource_inst_t* resource; 632 cyhal_resource_inst_t resource; [all …]
|
| D | cyhal_utils.h | 108 …const cyhal_resource_pin_mapping_t* mappings, size_t count, const cyhal_resource_inst_t* block_res… 136 …nline bool _cyhal_utils_resources_equal(const cyhal_resource_inst_t *resource1, const cyhal_resour… in _cyhal_utils_resources_equal() 148 static inline bool _cyhal_utils_map_resource_equal(const cyhal_resource_inst_t *resource, const cyh… in _cyhal_utils_map_resource_equal()
|
| D | cyhal_utils_impl.h | 61 static inline cyhal_resource_inst_t _cyhal_utils_get_gpio_resource(cyhal_gpio_t pin) in _cyhal_utils_get_gpio_resource() 63 cyhal_resource_inst_t rsc = { CYHAL_RSC_GPIO, CYHAL_GET_PORT(pin), CYHAL_GET_PIN(pin) }; in _cyhal_utils_get_gpio_resource() 94 uint8_t _cyhal_utils_get_peri_group(const cyhal_resource_inst_t *clocked_item); 110 static inline uint32_t _cyhal_utils_get_peripheral_clock_frequency(const cyhal_resource_inst_t *clo… in _cyhal_utils_get_peripheral_clock_frequency() 137 static inline uint32_t _cyhal_utils_divider_value(const cyhal_resource_inst_t *clocked_item, uint32… in _cyhal_utils_divider_value() 176 cy_rslt_t _cyhal_utils_allocate_clock(cyhal_clock_t *clock, const cyhal_resource_inst_t *clocked_it…
|
| D | cyhal_crypto_common.h | 72 cy_rslt_t cyhal_crypto_reserve(CRYPTO_Type** base, cyhal_resource_inst_t *resource, cyhal_crypto_fe… 80 void cyhal_crypto_free(CRYPTO_Type* base, cyhal_resource_inst_t *resource, cyhal_crypto_feature_t f…
|
| D | cyhal_scb_common.h | 147 size_t count, const cyhal_resource_inst_t *block_res); 181 cy_rslt_t _cyhal_scb_enable_output(cyhal_resource_inst_t resource, cyhal_scb_output_t output, cyhal…
|
| D | cyhal_tcpwm_common.h | 287 void _cyhal_tcpwm_register_callback(cyhal_resource_inst_t *resource, cy_israddress callback, void *… 297 void _cyhal_tcpwm_enable_event(cyhal_tcpwm_t *tcpwm, cyhal_resource_inst_t *resource, uint32_t even…
|
| D | cyhal_hwmgr_impl.h | 55 …r_get_output_source_t get_src, _cyhal_hwmgr_get_input_dest_t get_dest, cyhal_resource_inst_t *obj);
|
| D | cyhal_analog_common.h | 123 cy_rslt_t _cyhal_opamp_init_common(cyhal_resource_inst_t* rsc, cy_rslt_t bad_arg_error, cyhal_gpio_…
|
| /hal_infineon-latest/mtb-hal-cat1/source/ |
| D | cyhal_clock.c | 73 const cyhal_resource_inst_t CYHAL_CLOCK_RSC_IMO = { CYHAL_RSC_CLOCK, (uint8_t)CYHAL_CLOCK_BLOCK_IMO… 75 const cyhal_resource_inst_t CYHAL_CLOCK_RSC_EXT = { CYHAL_RSC_CLOCK, (uint8_t)CYHAL_CLOCK_BLOCK_EXT… 78 const cyhal_resource_inst_t CYHAL_CLOCK_RSC_ILO[_CYHAL_SRSS_NUM_ILO] = { 86 const cyhal_resource_inst_t CYHAL_CLOCK_RSC_LF = { CYHAL_RSC_CLOCK, (uint8_t)CYHAL_CLOCK_BLOCK_LF, … 89 const cyhal_resource_inst_t CYHAL_CLOCK_RSC_PUMP = { CYHAL_RSC_CLOCK, (uint8_t)CYHAL_CLOCK_BLOCK_PU… 91 const cyhal_resource_inst_t CYHAL_CLOCK_RSC_BAK = { CYHAL_RSC_CLOCK, (uint8_t)CYHAL_CLOCK_BLOCK_BAK… 93 const cyhal_resource_inst_t CYHAL_CLOCK_RSC_ALT_SYS_TICK = { CYHAL_RSC_CLOCK, (uint8_t)CYHAL_CLOCK_… 97 const cyhal_resource_inst_t CYHAL_CLOCK_RSC_MEM = { CYHAL_RSC_CLOCK, (uint8_t)CYHAL_CLOCK_BLOCK_MEM… 100 const cyhal_resource_inst_t CYHAL_CLOCK_RSC_PATHMUX[SRSS_NUM_CLKPATH] = 150 const cyhal_resource_inst_t CYHAL_CLOCK_RSC_HF[SRSS_NUM_HFROOT] = [all …]
|
| D | cyhal_hwmgr.c | 177 cy_rslt_t cyhal_hwmgr_reserve(const cyhal_resource_inst_t* obj) in cyhal_hwmgr_reserve() 196 void cyhal_hwmgr_free(const cyhal_resource_inst_t* obj) in cyhal_hwmgr_free() 206 cy_rslt_t cyhal_hwmgr_allocate(cyhal_resource_t type, cyhal_resource_inst_t* obj) in cyhal_hwmgr_allocate() 212 …gr_get_output_source_t get_src, _cyhal_hwmgr_get_input_dest_t get_dest, cyhal_resource_inst_t *obj) in _cyhal_hwmgr_allocate_with_connection() 214 cy_rslt_t cyhal_hwmgr_allocate(cyhal_resource_t type, cyhal_resource_inst_t* obj) in _cyhal_hwmgr_allocate_with_connection() 243 cyhal_resource_inst_t rsc = { type, block, channel }; in _cyhal_hwmgr_allocate_with_connection()
|
| D | cyhal_utils_impl.c | 56 cyhal_resource_inst_t pinRsc = _cyhal_utils_get_gpio_resource(mapping->pin); in _cyhal_utils_reserve_and_connect() 74 cyhal_resource_inst_t rsc = _cyhal_utils_get_gpio_resource(pin); in _cyhal_utils_disconnect_and_free() 270 uint8_t _cyhal_utils_get_peri_group(const cyhal_resource_inst_t *clocked_item) in _cyhal_utils_get_peri_group() 509 cy_rslt_t _cyhal_utils_allocate_clock(cyhal_clock_t *clock, const cyhal_resource_inst_t *clocked_it… in _cyhal_utils_allocate_clock() 556 cy_rslt_t _cyhal_utils_allocate_clock(cyhal_clock_t *clock, const cyhal_resource_inst_t *clocked_it… in _cyhal_utils_allocate_clock() 585 cy_rslt_t _cyhal_utils_allocate_clock(cyhal_clock_t *clock, const cyhal_resource_inst_t *clocked_it… in _cyhal_utils_allocate_clock() 592 cy_rslt_t _cyhal_utils_allocate_clock(cyhal_clock_t *clock, const cyhal_resource_inst_t *clocked_it… in _cyhal_utils_allocate_clock() 670 const cyhal_resource_inst_t ** sources; in _cyhal_utils_find_hf_source_n_divider()
|
| D | cyhal_utils.c | 39 const cyhal_resource_inst_t* block_res, bool ignore_channel) in _cyhal_utils_get_resource() 63 cyhal_resource_inst_t inst = { rsc, pin_map[i].block_num, pin_map[i].channel_num }; in _cyhal_utils_try_alloc() 78 cyhal_resource_inst_t rsc = { CYHAL_RSC_GPIO, *pin, 0 }; in _cyhal_utils_release_if_used()
|
| D | cyhal_scb_common.c | 526 static cy_rslt_t _cyhal_scb_configure_peri_clock(cyhal_clock_t *clock, const cyhal_resource_inst_t … in _cyhal_scb_configure_peri_clock() 614 …cyhal_resource_inst_t *resource = is_i2c ? &(((cyhal_i2c_t *)obj)->resource) : &(((cyhal_ezi2c_t *… in _cyhal_i2c_set_peri_divider() 648 size_t count, const cyhal_resource_inst_t *block_res) in _cyhal_scb_find_map() 665 … cyhal_resource_inst_t rsc = { CYHAL_RSC_SCB, pin_map[i].block_num, pin_map[i].channel_num }; in _cyhal_scb_find_map() 686 cyhal_resource_inst_t rsc = { CYHAL_RSC_SCB, scb_arr_index, pin_map[i].channel_num }; in _cyhal_scb_check_pin_affiliation() 720 cy_rslt_t _cyhal_scb_enable_output(cyhal_resource_inst_t resource, cyhal_scb_output_t output, cyhal… in _cyhal_scb_enable_output()
|
| D | cyhal_crypto_common.c | 70 cy_rslt_t cyhal_crypto_reserve(CRYPTO_Type** base, cyhal_resource_inst_t *resource, cyhal_crypto_fe… in cyhal_crypto_reserve() 109 void cyhal_crypto_free(CRYPTO_Type* base, cyhal_resource_inst_t *resource, cyhal_crypto_feature_t f… in cyhal_crypto_free()
|
| D | cyhal_ezi2c.c | 177 cyhal_resource_inst_t i2c_rsc = { CYHAL_RSC_SCB, found_block_idx, 0 }; in _cyhal_ezi2c_setup_resources() 187 …cyhal_resource_inst_t rsc_to_reserve = { CYHAL_RSC_SCB, _cyhal_scb_get_block_index(found_block_idx… in _cyhal_ezi2c_setup_resources() 345 …cyhal_resource_inst_t rsc_to_free = { CYHAL_RSC_SCB, _cyhal_scb_get_block_index(obj->resource.bloc… in cyhal_ezi2c_free()
|
| D | cyhal_analog_common.c | 158 cy_rslt_t _cyhal_opamp_init_common(cyhal_resource_inst_t* rsc, cy_rslt_t bad_arg_error, cyhal_gpio_… in _cyhal_opamp_init_common() 197 … cyhal_resource_inst_t rsc2 = { CYHAL_RSC_OPAMP, vin_p_map->block_num, vin_p_map->channel_num }; in _cyhal_opamp_init_common()
|
| D | cyhal_spi.c | 451 uint8_t *idx, const cyhal_resource_inst_t *target_blk) in _cyhal_spi_get_ssel_map_idx() 702 const cyhal_resource_inst_t default_spi_inst = { CYHAL_RSC_SCB, found_block_idx, 0 }; in _cyhal_spi_setup_resources() 703 const cyhal_resource_inst_t* spi_inst_p = &default_spi_inst; in _cyhal_spi_setup_resources() 750 …cyhal_resource_inst_t rsc_to_reserve = { CYHAL_RSC_SCB, _cyhal_scb_get_block_index(spi_inst_p->blo… in _cyhal_spi_setup_resources() 1104 …cyhal_resource_inst_t rsc_to_free = { CYHAL_RSC_SCB, _cyhal_scb_get_block_index(obj->resource.bloc… in cyhal_spi_free()
|
| D | cyhal_dac.c | 281 cyhal_resource_inst_t opamp_instance; in cyhal_dac_init() 282 cyhal_resource_inst_t dac_instance; in cyhal_dac_init()
|
| D | cyhal_udb_sdio.c | 242 cyhal_resource_inst_t pinRsc = _cyhal_utils_get_gpio_resource(pin); in _cyhal_sdio_configure_pin() 314 cyhal_resource_inst_t udbRsc = { CYHAL_RSC_UDB, 0, 0 }; in cyhal_sdio_init()
|
| D | cyhal_uart.c | 578 static uint32_t _cyhal_uart_actual_baud(const cyhal_resource_inst_t *resource, uint32_t divider, ui… in _cyhal_uart_actual_baud() 590 static uint8_t _cyhal_uart_best_oversample(const cyhal_resource_inst_t *resource, uint32_t baudrate) in _cyhal_uart_best_oversample() 672 cyhal_resource_inst_t uart_rsc = { CYHAL_RSC_SCB, found_block_idx, 0 }; in _cyhal_uart_setup_resources() 686 …cyhal_resource_inst_t rsc_to_reserve = { CYHAL_RSC_SCB, _cyhal_scb_get_block_index(found_block_idx… in _cyhal_uart_setup_resources() 919 …cyhal_resource_inst_t rsc_to_free = { CYHAL_RSC_SCB, _cyhal_scb_get_block_index(obj->resource.bloc… in cyhal_uart_free()
|
| D | cyhal_gpio.c | 322 cyhal_resource_inst_t pinRsc = _cyhal_utils_get_gpio_resource(pin); in cyhal_gpio_init() 376 cyhal_resource_inst_t pinRsc = _cyhal_utils_get_gpio_resource(pin); in cyhal_gpio_free()
|
| D | cyhal_i2c.c | 280 cyhal_resource_inst_t i2c_rsc = { CYHAL_RSC_SCB, found_block_idx, 0 }; in _cyhal_i2c_init_resources() 293 …cyhal_resource_inst_t rsc_to_reserve = { CYHAL_RSC_SCB, _cyhal_scb_get_block_index(found_block_idx… in _cyhal_i2c_init_resources() 486 …cyhal_resource_inst_t rsc_to_free = { CYHAL_RSC_SCB, _cyhal_scb_get_block_index(obj->resource.bloc… in cyhal_i2c_free()
|
| /hal_infineon-latest/mtb-hal-cat1/include/ |
| D | cyhal_hwmgr.h | 118 cy_rslt_t cyhal_hwmgr_reserve(const cyhal_resource_inst_t* obj); 126 void cyhal_hwmgr_free(const cyhal_resource_inst_t* obj); 140 cy_rslt_t cyhal_hwmgr_allocate(cyhal_resource_t type, cyhal_resource_inst_t* obj);
|
| D | cyhal_clock.h | 208 cy_rslt_t cyhal_clock_get(cyhal_clock_t *clock, const cyhal_resource_inst_t *resource); 329 cy_rslt_t cyhal_clock_get_sources(const cyhal_clock_t *clock, const cyhal_resource_inst_t **sources…
|