Home
last modified time | relevance | path

Searched refs:cyhal_clock_t (Results 1 – 25 of 44) sorted by relevance

12

/hal_infineon-3.5.0/mtb-hal-cat1/include_pvt/
Dcyhal_clock_impl.h116 extern const cyhal_clock_t CYHAL_CLOCK_IMO;
121 extern const cyhal_clock_t CYHAL_CLOCK_EXT;
127 extern const cyhal_clock_t CYHAL_CLOCK_MEM;
135 extern const cyhal_clock_t CYHAL_CLOCK_ILO;
140 extern const cyhal_clock_t CYHAL_CLOCK_ILO[_CYHAL_SRSS_NUM_ILO];
148 extern const cyhal_clock_t CYHAL_CLOCK_ECO;
156 extern const cyhal_clock_t CYHAL_CLOCK_ALTHF;
162 extern const cyhal_clock_t CYHAL_CLOCK_ALTLF;
168 extern const cyhal_clock_t CYHAL_CLOCK_PILO;
174 extern const cyhal_clock_t CYHAL_CLOCK_WCO;
[all …]
Dcyhal_utils_impl.h176 cy_rslt_t _cyhal_utils_allocate_clock(cyhal_clock_t *clock, const cyhal_resource_inst_t *clocked_it…
189 cy_rslt_t _cyhal_utils_set_clock_frequency(cyhal_clock_t* clock, uint32_t hz, const cyhal_clock_tol…
225 cy_rslt_t _cyhal_utils_find_hf_source_n_divider(cyhal_clock_t *clock, uint32_t hz,
227 cyhal_clock_t *hf_source, uint32_t *div);
240 cy_rslt_t _cyhal_utils_set_clock_frequency2(cyhal_clock_t *clock, uint32_t hz, const cyhal_clock_to…
253 …slt_t _cyhal_utils_peri_pclk_set_divider(en_clk_dst_t clk_dest, const cyhal_clock_t *clock, uint32… in _cyhal_utils_peri_pclk_set_divider()
262 …line uint32_t _cyhal_utils_peri_pclk_get_divider(en_clk_dst_t clk_dest, const cyhal_clock_t *clock) in _cyhal_utils_peri_pclk_get_divider()
271 … _cyhal_utils_peri_pclk_set_frac_divider(en_clk_dst_t clk_dest, const cyhal_clock_t *clock, uint32… in _cyhal_utils_peri_pclk_set_frac_divider()
280 … _cyhal_utils_peri_pclk_get_frac_divider(en_clk_dst_t clk_dest, const cyhal_clock_t *clock, uint32… in _cyhal_utils_peri_pclk_get_frac_divider()
289 …ne uint32_t _cyhal_utils_peri_pclk_get_frequency(en_clk_dst_t clk_dest, const cyhal_clock_t *clock) in _cyhal_utils_peri_pclk_get_frequency()
[all …]
Dcyhal_hw_types.h194 cyhal_clock_t clock;
386 cyhal_clock_t clock;
425 const cyhal_clock_t * clock;
478 cyhal_clock_t clock;
528 const cyhal_clock_t * clock;
743 cyhal_clock_t clock;
774 const cyhal_clock_t* clock;
793 cyhal_clock_t clock;
817 const cyhal_clock_t* clock;
874 cyhal_clock_t clock;
[all …]
Dcyhal_audio_common.h88 …cyhal_audioss_pins_t* rx_pins, const _cyhal_audioss_config_t* config, cyhal_clock_t* clk, const _c…
/hal_infineon-3.5.0/mtb-hal-cat1/source/
Dcyhal_clock.c648 static cy_rslt_t _cyhal_clock_set_enabled_unsupported(cyhal_clock_t *clock, bool enabled, bool wait… in _cyhal_clock_set_enabled_unsupported()
656 static cy_rslt_t _cyhal_clock_set_frequency_unsupported(cyhal_clock_t *clock, uint32_t hz, const cy… in _cyhal_clock_set_frequency_unsupported()
664 static cy_rslt_t _cyhal_clock_set_divider_unsupported(cyhal_clock_t *clock, uint32_t divider) in _cyhal_clock_set_divider_unsupported()
671 static cy_rslt_t _cyhal_clock_set_source_unsupported(cyhal_clock_t *clock, const cyhal_clock_t *sou… in _cyhal_clock_set_source_unsupported()
678 static bool _cyhal_clock_is_enabled_true(const cyhal_clock_t *clock) in _cyhal_clock_is_enabled_true()
683 static cy_rslt_t _cyhal_clock_get_sources_none(const cyhal_clock_t *clock, const cyhal_resource_ins… in _cyhal_clock_get_sources_none()
1045 static uint32_t _cyhal_clock_get_frequency_imo(const cyhal_clock_t *clock) in _cyhal_clock_get_frequency_imo()
1055 static bool _cyhal_clock_is_enabled_eco(const cyhal_clock_t *clock) in _cyhal_clock_is_enabled_eco()
1060 static cy_rslt_t _cyhal_clock_set_enabled_eco(cyhal_clock_t *clock, bool enabled, bool wait_for_loc… in _cyhal_clock_set_enabled_eco()
1092 static uint32_t _cyhal_clock_get_frequency_eco(const cyhal_clock_t *clock) in _cyhal_clock_get_frequency_eco()
[all …]
Dcyhal_utils_impl.c140 static inline cy_rslt_t _cyhal_utils_allocate_peri(cyhal_clock_t *clock, uint8_t peri_group, cyhal_… in _cyhal_utils_allocate_peri()
502 cy_rslt_t _cyhal_utils_allocate_clock(cyhal_clock_t *clock, const cyhal_resource_inst_t *clocked_it… in _cyhal_utils_allocate_clock()
506 cyhal_clock_t clock_rsc; in _cyhal_utils_allocate_clock()
544 cy_rslt_t _cyhal_utils_allocate_clock(cyhal_clock_t *clock, const cyhal_resource_inst_t *clocked_it… in _cyhal_utils_allocate_clock()
548 cyhal_clock_t clock_rsc; in _cyhal_utils_allocate_clock()
573 cy_rslt_t _cyhal_utils_allocate_clock(cyhal_clock_t *clock, const cyhal_resource_inst_t *clocked_it… in _cyhal_utils_allocate_clock()
580 cy_rslt_t _cyhal_utils_allocate_clock(cyhal_clock_t *clock, const cyhal_resource_inst_t *clocked_it… in _cyhal_utils_allocate_clock()
588 cy_rslt_t _cyhal_utils_set_clock_frequency(cyhal_clock_t* clock, uint32_t hz, const cyhal_clock_tol… in _cyhal_utils_set_clock_frequency()
650 cy_rslt_t _cyhal_utils_find_hf_source_n_divider(cyhal_clock_t *clock, uint32_t hz, in _cyhal_utils_find_hf_source_n_divider()
651 …_clock_tolerance_t *tolerance, _cyhal_utils_clk_div_func_t div_find_func, cyhal_clock_t *hf_source, in _cyhal_utils_find_hf_source_n_divider()
[all …]
Dcyhal_keyscan.c67 … uint8_t num_rows, const cyhal_gpio_t *rows, const cyhal_clock_t *clock);
176 … uint8_t num_rows, const cyhal_gpio_t *rows, const cyhal_clock_t *clock) in _cyhal_keyscan_init_resources()
277 cyhal_clock_t clock_keyscan; in _cyhal_keyscan_init_resources()
339 … uint8_t num_rows, const cyhal_gpio_t *rows, const cyhal_clock_t *clock) in cyhal_keyscan_init()
Dcyhal_ezi2c.c142 …c_setup_resources(cyhal_ezi2c_t *obj, cyhal_gpio_t sda, cyhal_gpio_t scl, const cyhal_clock_t *clk) in _cyhal_ezi2c_setup_resources()
274 …2c_init(cyhal_ezi2c_t *obj, cyhal_gpio_t sda, cyhal_gpio_t scl, const cyhal_clock_t *clk, const cy… in cyhal_ezi2c_init()
Dcyhal_scb_common.c417 static cy_rslt_t _cyhal_scb_configure_peri_clock(cyhal_clock_t *clock, const cyhal_resource_inst_t … in _cyhal_scb_configure_peri_clock()
483cyhal_clock_t *clock = is_i2c ? &(((cyhal_i2c_t *)obj)->clock) : &(((cyhal_ezi2c_t *)obj)->clock); in _cyhal_i2c_set_peri_divider()
Dcyhal_usb_dev.c117 static cy_rslt_t _cyhal_usb_dev_peri_clock_setup(cyhal_usb_dev_t *obj, const cyhal_clock_t *clk);
339 static cy_rslt_t _cyhal_usb_dev_peri_clock_setup(cyhal_usb_dev_t *obj, const cyhal_clock_t *clk) in _cyhal_usb_dev_peri_clock_setup()
433 …yhal_usb_dev_init(cyhal_usb_dev_t *obj, cyhal_gpio_t dp, cyhal_gpio_t dm, const cyhal_clock_t *clk) in cyhal_usb_dev_init()
Dcyhal_timer.c106 …_init_hw(cyhal_timer_t *obj, const cy_stc_tcpwm_counter_config_t *config, const cyhal_clock_t *clk) in _cyhal_timer_init_hw()
156 cy_rslt_t cyhal_timer_init(cyhal_timer_t *obj, cyhal_gpio_t pin, const cyhal_clock_t *clk) in cyhal_timer_init()
/hal_infineon-3.5.0/mtb-hal-cat1/include/
Dcyhal_clock.h208 cy_rslt_t cyhal_clock_get(cyhal_clock_t *clock, const cyhal_resource_inst_t *resource);
221 cy_rslt_t cyhal_clock_reserve(cyhal_clock_t *clock, const cyhal_clock_t *clock_);
237 cy_rslt_t cyhal_clock_allocate(cyhal_clock_t *clock, cyhal_clock_block_t block);
245 cyhal_clock_feature_t cyhal_clock_get_features(const cyhal_clock_t *clock);
257 bool cyhal_clock_is_enabled(const cyhal_clock_t *clock);
278 cy_rslt_t cyhal_clock_set_enabled(cyhal_clock_t *clock, bool enabled, bool wait_for_lock);
285 uint32_t cyhal_clock_get_frequency(const cyhal_clock_t *clock);
305 cy_rslt_t cyhal_clock_set_frequency(cyhal_clock_t *clock, uint32_t hz, const cyhal_clock_tolerance_…
318 cy_rslt_t cyhal_clock_set_divider(cyhal_clock_t *clock, uint32_t divider);
329 cy_rslt_t cyhal_clock_get_sources(const cyhal_clock_t *clock, const cyhal_resource_inst_t **sources…
[all …]
Dcyhal_sdhc.h358 cyhal_clock_t *block_clk);
413 cyhal_clock_t *block_clk);
Dcyhal_keyscan.h138 … uint8_t num_columns, const cyhal_gpio_t *columns, const cyhal_clock_t *clock);
Dcyhal_ezi2c.h190 …2c_init(cyhal_ezi2c_t *obj, cyhal_gpio_t sda, cyhal_gpio_t scl, const cyhal_clock_t *clk, const cy…
Dcyhal_pdmpcm.h158 const cyhal_clock_t *clk_source, const cyhal_pdm_pcm_cfg_t *cfg);
Dcyhal_quaddec.h194 const cyhal_clock_t *clk, uint32_t frequency);
Dcyhal_timer.h210 cy_rslt_t cyhal_timer_init(cyhal_timer_t *obj, cyhal_gpio_t pin, const cyhal_clock_t *clk);
Dcyhal_pwm.h192 …nt_t pwm_alignment, bool continuous, uint32_t dead_time_us, bool invert, const cyhal_clock_t *clk);
Dcyhal_i2s.h227 const cyhal_i2s_config_t* config, cyhal_clock_t* clk);
Dcyhal_tdm.h255 const cyhal_tdm_config_t* config, cyhal_clock_t* clk);
Dcyhal_usb_dev.h198 …hal_usb_dev_init(cyhal_usb_dev_t *obj, cyhal_gpio_t dp, cyhal_gpio_t dm, const cyhal_clock_t *clk);
Dcyhal_adc.h267 cy_rslt_t cyhal_adc_init(cyhal_adc_t *obj, cyhal_gpio_t pin, const cyhal_clock_t *clk);
Dcyhal_uart.h230 …gpio_t tx, cyhal_gpio_t rx, cyhal_gpio_t cts, cyhal_gpio_t rts, const cyhal_clock_t *clk, const cy…
Dcyhal_qspi.h248 cyhal_clock_t *clk);

12