Home
last modified time | relevance | path

Searched refs:cyhal_adc_t (Results 1 – 4 of 4) sorted by relevance

/hal_infineon-3.7.0/mtb-hal-cat1/include/
Dcyhal_adc.h267 cy_rslt_t cyhal_adc_init(cyhal_adc_t *obj, cyhal_gpio_t pin, const cyhal_clock_t *clk);
281 …cy_rslt_t cyhal_adc_init_cfg(cyhal_adc_t *adc, cyhal_adc_channel_t** channels, uint8_t* num_channe…
288 void cyhal_adc_free(cyhal_adc_t *obj);
301 cy_rslt_t cyhal_adc_configure(cyhal_adc_t *obj, const cyhal_adc_config_t *config);
316 cy_rslt_t cyhal_adc_set_power(cyhal_adc_t *obj, cyhal_power_level_t power);
341 cy_rslt_t cyhal_adc_set_sample_rate(cyhal_adc_t* obj, uint32_t desired_sample_rate_hz, uint32_t* ac…
358 cy_rslt_t cyhal_adc_channel_init_diff(cyhal_adc_channel_t *obj, cyhal_adc_t* adc, cyhal_gpio_t vplu…
461 cy_rslt_t cyhal_adc_read_async(cyhal_adc_t* obj, size_t num_scan, int32_t* result_list);
490 cy_rslt_t cyhal_adc_read_async_uv(cyhal_adc_t* obj, size_t num_scan, int32_t* result_list);
505 cy_rslt_t cyhal_adc_set_async_mode(cyhal_adc_t *obj, cyhal_async_mode_t mode, uint8_t dma_priority);
[all …]
/hal_infineon-3.7.0/mtb-hal-cat1/source/
Dcyhal_adc_mic.c105 static cyhal_adc_t* _cyhal_adcmic_config_structs[CY_IP_MXS40ADCMIC_INSTANCES];
134 static void _cyhal_adcmic_find_next_channel(cyhal_adc_t* obj, uint8_t* current_idx, int32_t **buffe… in _cyhal_adcmic_find_next_channel()
168 cyhal_adc_t* obj = _cyhal_adcmic_config_structs[block]; in _cyhal_adcmic_irq_handler()
243 cy_rslt_t _cyhal_adc_config_hw(cyhal_adc_t *obj, const cyhal_adc_configurator_t* cfg, cyhal_gpio_t … in _cyhal_adc_config_hw()
248 memset(obj, 0, sizeof(cyhal_adc_t)); in _cyhal_adc_config_hw()
339 cy_rslt_t cyhal_adc_init(cyhal_adc_t *obj, cyhal_gpio_t pin, const cyhal_clock_t *clk) in cyhal_adc_init()
361 cy_rslt_t cyhal_adc_init_cfg(cyhal_adc_t *adc, cyhal_adc_channel_t** channels, uint8_t* num_channel… in cyhal_adc_init_cfg()
395 void cyhal_adc_free(cyhal_adc_t *obj) in cyhal_adc_free()
423 cy_rslt_t cyhal_adc_configure(cyhal_adc_t *obj, const cyhal_adc_config_t *config) in cyhal_adc_configure()
444 cy_rslt_t cyhal_adc_set_power(cyhal_adc_t *obj, cyhal_power_level_t power) in cyhal_adc_set_power()
[all …]
Dcyhal_adc_sar.c235 static uint8_t _cyhal_adc_last_enabled(const cyhal_adc_t* obj); /* Or last channel, if no channel i…
272 static cyhal_adc_t* _cyhal_adc_config_structs[_CYHAL_ADC_SAR_INSTANCES];
474 static uint8_t _cyhal_adc_first_enabled(const cyhal_adc_t* obj) /* Or first channel, if no channel … in _cyhal_adc_first_enabled()
489 static uint8_t _cyhal_adc_last_enabled(const cyhal_adc_t* obj) /* Or last channel, if no channel is… in _cyhal_adc_last_enabled()
505 static int32_t _cyhal_adc_counts_to_uvolts(cyhal_adc_t* obj, uint8_t channel, uint32_t counts) in _cyhal_adc_counts_to_uvolts()
515 static void _cyhal_adc_extract_channel_conf(cyhal_adc_t* adc, cy_stc_sar2_channel_config_t* channel… in _cyhal_adc_extract_channel_conf()
559 static void _cyhal_adc_update_intr_mask(const cyhal_adc_t* obj) in _cyhal_adc_update_intr_mask()
600 static uint8_t _cyhal_adc_max_configured_channel(const cyhal_adc_t* obj) in _cyhal_adc_max_configured_channel()
613 static cyhal_source_t _cyhal_adc_calculate_source(cyhal_adc_t *obj) in _cyhal_adc_calculate_source()
819 static void _cyhal_adc_extract_channel_conf(cyhal_adc_t* adc, cy_stc_sar_channel_config_t* channel_… in _cyhal_adc_extract_channel_conf()
[all …]
/hal_infineon-3.7.0/mtb-hal-cat1/include_pvt/
Dcyhal_hw_types.h507 } cyhal_adc_t; typedef
549 cyhal_adc_t* adc;