| /hal_infineon-latest/mtb-hal-cat1/source/ |
| D | cyhal_hwmgr.c | 82 static cy_rslt_t _cyhal_get_bit_position(cyhal_resource_t type, uint8_t block, uint8_t channel, uin… in _cyhal_get_bit_position() argument 86 if (type == CYHAL_RSC_CLKPATH) in _cyhal_get_bit_position() 90 type = CYHAL_RSC_CLOCK; in _cyhal_get_bit_position() 93 uint16_t offsetRsc = _cyhal_get_resource_offset(type); in _cyhal_get_bit_position() 96 uint16_t offsetEndOfRsc = ((1u + type) < _CYHAL_RESOURCES) in _cyhal_get_bit_position() 97 ? _cyhal_get_resource_offset((cyhal_resource_t)(type + 1)) in _cyhal_get_bit_position() 100 if (_cyhal_uses_channels(type)) in _cyhal_get_bit_position() 102 const _cyhal_hwmgr_offset_t* blockOffsets = _cyhal_get_block_offsets(type); in _cyhal_get_bit_position() 108 uint16_t blocks = _cyhal_get_block_offset_length(type); in _cyhal_get_bit_position() 129 static inline cy_rslt_t _cyhal_is_set(const uint8_t* used, cyhal_resource_t type, uint8_t block, ui… in _cyhal_is_set() argument [all …]
|
| D | cyhal_dma.c | 141 if (cfg->resource->type == CYHAL_RSC_DMA) in cyhal_dma_init_cfg() 148 CY_ASSERT(cfg->resource->type == CYHAL_RSC_DW); in cyhal_dma_init_cfg() 171 if(obj->resource.type == CYHAL_RSC_DMA) in cyhal_dma_free() 179 if(obj->resource.type == CYHAL_RSC_DW) in cyhal_dma_free() 198 if(obj->resource.type == CYHAL_RSC_DMA) in cyhal_dma_configure() 205 CY_ASSERT(obj->resource.type == CYHAL_RSC_DW); in cyhal_dma_configure() 216 if(obj->resource.type == CYHAL_RSC_DMA) in cyhal_dma_start_transfer() 223 CY_ASSERT(obj->resource.type == CYHAL_RSC_DW); in cyhal_dma_start_transfer() 234 if(obj->resource.type == CYHAL_RSC_DMA) in cyhal_dma_enable() 241 CY_ASSERT(obj->resource.type == CYHAL_RSC_DW); in cyhal_dma_enable() [all …]
|
| D | cyhal_comp.c | 98 if (CYHAL_RSC_LPCOMP == cfg->resource->type) in cyhal_comp_init_cfg() 105 if (CYHAL_RSC_OPAMP == cfg->resource->type) in cyhal_comp_init_cfg() 118 if(obj->resource.type == CYHAL_RSC_OPAMP) in cyhal_comp_free() 127 if(obj->resource.type == CYHAL_RSC_LPCOMP) in cyhal_comp_free() 140 if(obj->resource.type == CYHAL_RSC_OPAMP) in cyhal_comp_set_power() 147 CY_ASSERT(obj->resource.type == CYHAL_RSC_LPCOMP); in cyhal_comp_set_power() 156 if(obj->resource.type == CYHAL_RSC_OPAMP) in cyhal_comp_configure() 163 CY_ASSERT(obj->resource.type == CYHAL_RSC_LPCOMP); in cyhal_comp_configure() 172 if(obj->resource.type == CYHAL_RSC_OPAMP) in cyhal_comp_read() 179 CY_ASSERT(obj->resource.type == CYHAL_RSC_LPCOMP); in cyhal_comp_read() [all …]
|
| D | cyhal_dac.c | 171 if (init && (CYHAL_RSC_INVALID != obj->resource_opamp.type)) in _cyhal_dac_configure_oa0() 197 if (init && (CYHAL_RSC_INVALID != obj->resource_aref_opamp.type)) in _cyhal_dac_configure_oa1() 247 obj->resource_dac.type = CYHAL_RSC_INVALID; in cyhal_dac_init() 248 obj->resource_opamp.type = CYHAL_RSC_INVALID; in cyhal_dac_init() 250 obj->resource_aref_opamp.type = CYHAL_RSC_INVALID; in cyhal_dac_init() 287 dac_instance.type = CYHAL_RSC_DAC; in cyhal_dac_init() 344 …config.outputBuffer = (obj->resource_opamp.type != CYHAL_RSC_INVALID) ? CY_CTDAC_OUTPUT_BUFFERED :… in cyhal_dac_init() 349 if ((CY_RSLT_SUCCESS == result) && (obj->resource_opamp.type != CYHAL_RSC_INVALID)) in cyhal_dac_init() 369 obj->resource_opamp.type = CYHAL_RSC_INVALID; in cyhal_dac_init_cfg() 370 obj->resource_aref_opamp.type = CYHAL_RSC_INVALID; in cyhal_dac_init_cfg() [all …]
|
| D | cyhal_interconnect.c | 140 …ux_group_1to1_offset, uint8_t source_idx, uint8_t dest_idx, cyhal_signal_type_t type, bool connect) in _cyhal_interconnect_change_connection_direct() argument 143 CY_UNUSED_PARAMETER(type); in _cyhal_interconnect_change_connection_direct() 155 return Cy_TrigMux_Select(out_trig, false, (en_trig_type_t)type); in _cyhal_interconnect_change_connection_direct() 172 return Cy_TrigMux_Connect(in_trig, out_trig, false, (en_trig_type_t)type); in _cyhal_interconnect_change_connection_direct() 188 …_direct(uint8_t mux, uint8_t input_idx, uint8_t output_idx, cyhal_signal_type_t type, bool connect) in _cyhal_interconnect_change_connection_direct() argument 195 return Cy_TrigMux_Connect(in_trig, out_trig, false, (en_trig_type_t)type); in _cyhal_interconnect_change_connection_direct() 206 …p, uint8_t dest_mux_input_idx, uint8_t dest_mux_output_idx, cyhal_signal_type_t type, bool connect) in _cyhal_interconnect_change_connection_indirect() argument 222 … result = Cy_TrigMux_Connect(source_mux_in_trig, source_mux_out_trig, false, (en_trig_type_t)type); in _cyhal_interconnect_change_connection_indirect() 224 … result = Cy_TrigMux_Connect(dest_mux_in_trig, dest_mux_out_trig, false, (en_trig_type_t)type); in _cyhal_interconnect_change_connection_indirect() 242 cyhal_signal_type_t type = _CYHAL_TRIGGER_GET_SOURCE_TYPE(source); in _cyhal_interconnect_check_connection() local [all …]
|
| D | cyhal_pdmpcm.c | 584 if (obj->dma.resource.type == CYHAL_RSC_INVALID) in _cyhal_pdm_pcm_hw_irq_handler() 896 const cyhal_clock_tolerance_t CLK_TOLERANCE = { .type = CYHAL_TOLERANCE_PERCENT, .value = 1 }; in _cyhal_pdm_pcm_set_pdl_config_struct() 935 …uint32_t diff = (uint32_t)abs(_cyhal_utils_calculate_tolerance(CLK_TOLERANCE.type, desired_source_… in _cyhal_pdm_pcm_set_pdl_config_struct() 1004 bool has_pair = CYHAL_RSC_INVALID != obj->dma_paired.resource.type; in _cyhal_pdm_pcm_dma_callback() 1198 obj->resource.type = CYHAL_RSC_INVALID; in cyhal_pdm_pcm_init() 1201 obj->dma.resource.type = CYHAL_RSC_INVALID; in cyhal_pdm_pcm_init() 1203 obj->dma_paired.resource.type = CYHAL_RSC_INVALID; in cyhal_pdm_pcm_init() 1320 obj->dma.resource.type = CYHAL_RSC_INVALID; in cyhal_pdm_pcm_init_cfg() 1322 obj->dma_paired.resource.type = CYHAL_RSC_INVALID; in cyhal_pdm_pcm_init_cfg() 1361 if (CYHAL_RSC_INVALID != obj->resource.type) in cyhal_pdm_pcm_free() [all …]
|
| D | cyhal_uart.c | 623 obj->resource.type = CYHAL_RSC_INVALID; in _cyhal_uart_setup_resources() 813 obj->dma_tx.resource.type = CYHAL_RSC_INVALID; in cyhal_uart_init() 814 obj->dma_rx.resource.type = CYHAL_RSC_INVALID; in cyhal_uart_init() 880 obj->dma_tx.resource.type = CYHAL_RSC_INVALID; in cyhal_uart_init_cfg() 881 obj->dma_rx.resource.type = CYHAL_RSC_INVALID; in cyhal_uart_init_cfg() 909 if (obj->resource.type != CYHAL_RSC_INVALID) in cyhal_uart_free() 923 obj->resource.type = CYHAL_RSC_INVALID; in cyhal_uart_free() 942 if(CYHAL_RSC_INVALID != obj->dma_tx.resource.type) in cyhal_uart_free() 945 obj->dma_tx.resource.type = CYHAL_RSC_INVALID; in cyhal_uart_free() 947 if(CYHAL_RSC_INVALID != obj->dma_rx.resource.type) in cyhal_uart_free() [all …]
|
| D | cyhal_tcpwm_common.c | 522 obj->resource.type = CYHAL_RSC_INVALID; in _cyhal_tcpwm_irq_handler() 718 …ital(cyhal_tcpwm_t *obj, cyhal_source_t source, cyhal_tcpwm_input_t signal, cyhal_edge_type_t type) in _cyhal_tcpwm_irq_handler() argument 723 if((CYHAL_SIGNAL_TYPE_LEVEL == signal_type) != (CYHAL_EDGE_TYPE_LEVEL == type)) in _cyhal_tcpwm_irq_handler() 788 … TCPWM_CNT_TR_CTRL1(obj->base, chnl) |= _VAL2FLD(TCPWM_CNT_TR_CTRL1_START_EDGE, type); in _cyhal_tcpwm_irq_handler() 794 TCPWM_CNT_TR_CTRL1(obj->base, chnl) |= _VAL2FLD(TCPWM_CNT_TR_CTRL1_STOP_EDGE, type); in _cyhal_tcpwm_irq_handler() 800 … TCPWM_CNT_TR_CTRL1(obj->base, chnl) |= _VAL2FLD(TCPWM_CNT_TR_CTRL1_RELOAD_EDGE, type); in _cyhal_tcpwm_irq_handler() 806 … TCPWM_CNT_TR_CTRL1(obj->base, chnl) |= _VAL2FLD(TCPWM_CNT_TR_CTRL1_COUNT_EDGE, type); in _cyhal_tcpwm_irq_handler() 812 … TCPWM_CNT_TR_CTRL1(obj->base, chnl) |= _VAL2FLD(TCPWM_CNT_TR_CTRL1_CAPTURE_EDGE, type); in _cyhal_tcpwm_irq_handler() 829 … Cy_TCPWM_InputTriggerSetup(obj->base, counter, CY_TCPWM_INPUT_TR_START, type, trigger_sig); in _cyhal_tcpwm_irq_handler() 834 … Cy_TCPWM_InputTriggerSetup(obj->base, counter, CY_TCPWM_INPUT_TR_STOP_OR_KILL, type, trigger_sig); in _cyhal_tcpwm_irq_handler() [all …]
|
| D | cyhal_utils_impl.c | 124 int32_t _cyhal_utils_calculate_tolerance(cyhal_clock_tolerance_unit_t type, uint32_t desired_hz, ui… in _cyhal_utils_calculate_tolerance() argument 126 switch (type) in _cyhal_utils_calculate_tolerance() 272 switch (clocked_item->type) in _cyhal_utils_get_peri_group() 514 switch (clocked_item->type) in _cyhal_utils_allocate_clock() 562 switch (clocked_item->type) in _cyhal_utils_allocate_clock() 635 …cyhal_clock_tolerance_unit_t tolerance_type = (NULL != tolerance) ? tolerance->type : CYHAL_TOLERA… in _cyhal_utils_find_hf_clk_div() 688 …((NULL != tolerance) && (_cyhal_utils_calculate_tolerance(tolerance->type, hz, cur_hf_source_freq)… in _cyhal_utils_find_hf_source_n_divider() 746 …uint32_t achieved_tolerance = abs(_cyhal_utils_calculate_tolerance(tolerance->type, hz, best_clock… in _cyhal_utils_find_hf_source_n_divider()
|
| /hal_infineon-latest/wifi-host-driver/WiFi_Host_Driver/resources/resource_imp/ |
| D | whd_resources.c | 63 uint32_t host_get_resource_block(whd_driver_t whd_drv, whd_resource_type_t type, 65 uint32_t host_get_resource_no_of_blocks(whd_driver_t whd_drv, whd_resource_type_t type, uint32_t *b… 66 uint32_t host_get_resource_block_size(whd_driver_t whd_drv, whd_resource_type_t type, uint32_t *siz… 69 uint32_t host_resource_read(whd_driver_t whd_drv, whd_resource_type_t type, 211 uint32_t host_get_resource_block(whd_driver_t whd_drv, whd_resource_type_t type, in host_get_resource_block() argument 220 host_platform_resource_size(whd_drv, type, &resource_size); in host_get_resource_block() 221 host_get_resource_block_size(whd_drv, type, &block_size); in host_get_resource_block() 222 host_get_resource_no_of_blocks(whd_drv, type, &block_count); in host_get_resource_block() 231 if (type == WHD_RESOURCE_WLAN_FIRMWARE) in host_get_resource_block() 255 else if (type == WHD_RESOURCE_WLAN_NVRAM) in host_get_resource_block() [all …]
|
| /hal_infineon-latest/wifi-host-driver/WiFi_Host_Driver/src/ |
| D | whd_resource_if.c | 59 uint32_t whd_get_resource_block_size(whd_driver_t whd_driver, whd_resource_type_t type, uint32_t *s… in whd_get_resource_block_size() argument 64 return whd_driver->resource_if->whd_get_resource_block_size(whd_driver, type, size_out); in whd_get_resource_block_size() 74 uint32_t whd_get_resource_no_of_blocks(whd_driver_t whd_driver, whd_resource_type_t type, uint32_t … in whd_get_resource_no_of_blocks() argument 78 … return whd_driver->resource_if->whd_get_resource_no_of_blocks(whd_driver, type, block_count); in whd_get_resource_no_of_blocks() 88 uint32_t whd_get_resource_block(whd_driver_t whd_driver, whd_resource_type_t type, in whd_get_resource_block() argument 94 … return whd_driver->resource_if->whd_get_resource_block(whd_driver, type, blockno, data, size_out); in whd_get_resource_block() 104 uint32_t whd_resource_read(whd_driver_t whd_driver, whd_resource_type_t type, uint32_t offset, in whd_resource_read() argument 109 …return whd_driver->resource_if->whd_resource_read(whd_driver, type, offset, size, size_out, buffer… in whd_resource_read()
|
| /hal_infineon-latest/mtb-template-cat1/files/secure/ |
| D | psoc64_postbuild.py | 50 type=str, 57 type=str, 64 type=str, 71 type=str, 78 type=str, 85 type=str, 92 type=str, 99 type=str, 106 type=str, 113 type=str, [all …]
|
| /hal_infineon-latest/mtb-pdl-cat1/drivers/include/ |
| D | cy_syspm.h | 1794 #define CY_SYSPM_IS_CALLBACK_TYPE_VALID(type) (((type) == CY_SYSPM_SLEEP) || \ argument 1795 ((type) == CY_SYSPM_DEEPSLEEP) || \ 1796 ((type) == CY_SYSPM_HIBERNATE) || \ 1797 ((type) == CY_SYSPM_ULP) || \ 1798 ((type) == CY_SYSPM_LP)) 1808 #define CY_SYSPM_IS_CALLBACK_TYPE_VALID(type) (((type) == CY_SYSPM_SLEEP) || \ argument 1809 ((type) == CY_SYSPM_DEEPSLEEP) || \ 1810 ((type) == CY_SYSPM_HIBERNATE) || \ 1811 ((type) == CY_SYSPM_LPACTIVE_ENTER) || \ 1812 ((type) == CY_SYSPM_LPACTIVE_EXIT)) [all …]
|
| /hal_infineon-latest/btstack/wiced_include/ |
| D | gattdefs.h | 259 #define IS_CHAR_DECLARATION_UUID(type) ((type.len == 2) && (type.uu.uuid16 == GATT_UUID_CHAR_DEC… argument 260 #define IS_CHAR_CLIENT_CONFIG_UUID(type) ((type.len == 2) && (type.uu.uuid16 == GATT_UUID_CHAR_CLI… argument
|
| /hal_infineon-latest/abstraction-rtos/ |
| D | README.md | 11 2. Declare a variable of the right type (e.g. cy_mutex_t) 82 - `cy_thread_t` : typedef from underlying RTOS thread type 83 - `cy_thread_arg_t` : typedef from the RTOS type that is passed to the entry function of a thread. 84 - `cy_mutex_t` : typedef from the underlying RTOS mutex type 85 - `cy_semaphore_t`: typedef from the underlying RTOS semaphore type 86 - `cy_event_t` : typedef from the underlying RTOS event type 87 - `cy_queue_t` : typedef from the underlying RTOS queue type 88 - `cy_timer_callback_arg_t` : typedef from the RTOS type that is passed to the timer callback funct… 89 - `cy_timer_t` : typedef from the underlying RTOS timer type 91 - `cy_rtos_error_t` : typedef from the underlying RTOS error type
|
| /hal_infineon-latest/btstack-integration/COMPONENT_BTSS-IPC/platform/common/ |
| D | cybt_debug_uart.c | 99 static cybt_result_t cybt_trans_blocking_write (uint8_t type, uint16_t opcode, uint16_t data_size, … 103 static cybt_result_t cybt_enqueue_tx_data (uint16_t type, uint16_t op,uint16_t length, uint8_t* p_… 156 static cybt_result_t cybt_enqueue_tx_data (uint16_t type, uint16_t opcode, uint16_t length, uint8_… in cybt_enqueue_tx_data() argument 187 if ( (type != INVALID_TYPE) || (opcode == HCI_CONTROL_EVENT_HCI_TRACE) ) in cybt_enqueue_tx_data() 193 *p_buf++ = type; in cybt_enqueue_tx_data() 578 cybt_result_t cybt_debug_uart_send_hci_trace (uint8_t type, uint16_t data_size, uint8_t *p_data) in cybt_debug_uart_send_hci_trace() argument 581 … return cybt_trans_blocking_write((uint16_t)type, HCI_CONTROL_EVENT_HCI_TRACE, data_size, p_data); in cybt_debug_uart_send_hci_trace() 583 return cybt_enqueue_tx_data((uint16_t)type, HCI_CONTROL_EVENT_HCI_TRACE, data_size, p_data); in cybt_debug_uart_send_hci_trace() 600 cybt_result_t cybt_trans_blocking_write (uint8_t type, uint16_t op, uint16_t data_size, uint8_t *p_… in cybt_trans_blocking_write() argument 623 if ( (type != 0xFF) || ((group_code == 0x00) && (opcode == 0x03)) ) in cybt_trans_blocking_write() [all …]
|
| /hal_infineon-latest/mtb-template-cat1/files/cat1b/ |
| D | cybsp_pm_callbacks.c | 319 .type = (cy_en_syspm_callback_type_t)CY_SYSPM_MODE_DEEPSLEEP_RAM, 321 .type = (cy_en_syspm_callback_type_t)CY_SYSPM_MODE_DEEPSLEEP, 333 .type = CY_SYSPM_DEEPSLEEP, 342 .type = CY_SYSPM_DEEPSLEEP_RAM, 351 .type = CY_SYSPM_HIBERNATE, 361 .type = CY_SYSPM_DEEPSLEEP_RAM,
|
| /hal_infineon-latest/wifi-host-driver/WiFi_Host_Driver/src/include/ |
| D | whd_resource_if.h | 45 uint32_t whd_get_resource_block_size(whd_driver_t whd_drv, whd_resource_type_t type, uint32_t *size… 46 uint32_t whd_get_resource_no_of_blocks(whd_driver_t whd_drv, whd_resource_type_t type, uint32_t *bl… 47 uint32_t whd_get_resource_block(whd_driver_t whd_driver, whd_resource_type_t type, 50 uint32_t whd_resource_read(whd_driver_t whd_driver, whd_resource_type_t type, uint32_t offset,
|
| /hal_infineon-latest/mtb-pdl-cat1/drivers/source/ |
| D | cy_seglcd.c | 63 #define CY_SEGLCD_IS_BASIC(type) (((uint16_t)CY_SEGLCD_7SEG == (type)) || \ argument 64 ((uint16_t)CY_SEGLCD_14SEG == (type)) || \ 65 ((uint16_t)CY_SEGLCD_16SEG == (type)) || \ 66 ((uint16_t)CY_SEGLCD_5X8DM == (type))) 74 ((uint32_t)CY_SEGLCD_BAR < (disp)->type) && \ 81 ((uint32_t)CY_SEGLCD_BAR == (disp)->type) && \ 767 …retVal = CY_SEGLCD_IS_BASIC(display->type) ? (uint32_t)CY_SEGLCD_SUCCESS : (uint32_t)CY_SEGLCD_CUS… in Cy_SegLCD_WriteChar() 777 for (i = 0UL; i < (uint32_t)display->type; i++) in Cy_SegLCD_WriteChar() 779 …uint32_t locPix = *(display->pixMap + (position * (uint32_t)display->type) + i); /* Current displa… in Cy_SegLCD_WriteChar() 780 …CD_SYM_BYTE_IDX, i) + (locChar * CY_SYSLIB_DIV_ROUNDUP((uint32_t)display->type, CY_SEGLCD_OCTET));… in Cy_SegLCD_WriteChar()
|
| /hal_infineon-latest/wifi-host-driver/WiFi_Host_Driver/inc/ |
| D | whd_resource_api.h | 101 uint32_t (*whd_get_resource_block)(whd_driver_t whd_drv, whd_resource_type_t type, 113 …uint32_t (*whd_get_resource_no_of_blocks)(whd_driver_t whd_drv, whd_resource_type_t type, uint32_t… 124 …uint32_t (*whd_get_resource_block_size)(whd_driver_t whd_drv, whd_resource_type_t type, uint32_t *… 138 uint32_t (*whd_resource_read)(whd_driver_t whd_drv, whd_resource_type_t type,
|
| /hal_infineon-latest/core-lib/include/ |
| D | cy_result.h | 459 cy_en_rslt_type_t type : CY_RSLT_TYPE_WIDTH; //!< The 2bit result type member 477 #define CY_RSLT_CREATE(type, module, code) \ argument 480 ((((uint16_t) type) & CY_RSLT_TYPE_MASK) << CY_RSLT_TYPE_POSITION)) 495 #define CY_RSLT_CREATE_EX(type, module, submodule, code) \ argument 499 ((((uint16_t) type) & CY_RSLT_TYPE_MASK) << CY_RSLT_TYPE_POSITION))
|
| /hal_infineon-latest/mtb-template-cat1/files/templates/cat1a/COMPONENT_MTB/COMPONENT_CM0P/TOOLCHAIN_GCC_ARM/ |
| D | startup_psoc6_02_cm0plus.S | 138 .type Cy_OnResetUser, %function 147 .type Reset_Handler, %function 301 .type Default_Handler, %function 306 .type Cy_SysLib_FaultHandler, %function 311 .type Fault_Handler, %function
|
| D | startup_psoc6_03_cm0plus.S | 138 .type Cy_OnResetUser, %function 147 .type Reset_Handler, %function 301 .type Default_Handler, %function 306 .type Cy_SysLib_FaultHandler, %function 311 .type Fault_Handler, %function
|
| D | startup_psoc6_04_cm0plus.S | 138 .type Cy_OnResetUser, %function 147 .type Reset_Handler, %function 301 .type Default_Handler, %function 306 .type Cy_SysLib_FaultHandler, %function 311 .type Fault_Handler, %function
|
| /hal_infineon-latest/mtb-template-cat1/files/templates/cat1c/COMPONENT_MTB/COMPONENT_CM0P/TOOLCHAIN_GCC_ARM/ |
| D | startup_cm0plus.S | 97 .type Reset_Handler, %function 143 .type Default_Handler, %function 149 .type Cy_SysLib_FaultHandler, %function 154 .type Fault_Handler, %function
|