/hal_espressif-3.4.0/components/hal/ |
D | i2c_hal.c | 17 void i2c_hal_txfifo_rst(i2c_hal_context_t *hal) in i2c_hal_txfifo_rst() 22 void i2c_hal_rxfifo_rst(i2c_hal_context_t *hal) in i2c_hal_rxfifo_rst() 27 void i2c_hal_set_data_mode(i2c_hal_context_t *hal, i2c_trans_mode_t tx_mode, i2c_trans_mode_t rx_mo… in i2c_hal_set_data_mode() 32 void i2c_hal_get_data_mode(i2c_hal_context_t *hal, i2c_trans_mode_t *tx_mode, i2c_trans_mode_t *rx_… in i2c_hal_get_data_mode() 37 void i2c_hal_set_filter(i2c_hal_context_t *hal, uint8_t filter_num) in i2c_hal_set_filter() 42 void i2c_hal_get_filter(i2c_hal_context_t *hal, uint8_t *filter_num) in i2c_hal_get_filter() 47 void i2c_hal_set_scl_timing(i2c_hal_context_t *hal, int hight_period, int low_period) in i2c_hal_set_scl_timing() 52 void i2c_hal_clr_intsts_mask(i2c_hal_context_t *hal, uint32_t mask) in i2c_hal_clr_intsts_mask() 57 void i2c_hal_enable_intr_mask(i2c_hal_context_t *hal, uint32_t mask) in i2c_hal_enable_intr_mask() 62 void i2c_hal_disable_intr_mask(i2c_hal_context_t *hal, uint32_t mask) in i2c_hal_disable_intr_mask() [all …]
|
D | uart_hal.c | 18 void uart_hal_set_sclk(uart_hal_context_t *hal, uart_sclk_t sclk) in uart_hal_set_sclk() 23 void uart_hal_get_sclk(uart_hal_context_t *hal, uart_sclk_t *sclk) in uart_hal_get_sclk() 28 void uart_hal_set_baudrate(uart_hal_context_t *hal, uint32_t baud_rate) in uart_hal_set_baudrate() 33 void uart_hal_get_baudrate(uart_hal_context_t *hal, uint32_t *baud_rate) in uart_hal_get_baudrate() 38 void uart_hal_set_stop_bits(uart_hal_context_t *hal, uart_stop_bits_t stop_bit) in uart_hal_set_stop_bits() 43 void uart_hal_get_stop_bits(uart_hal_context_t *hal, uart_stop_bits_t *stop_bit) in uart_hal_get_stop_bits() 48 void uart_hal_set_data_bit_num(uart_hal_context_t *hal, uart_word_length_t data_bit) in uart_hal_set_data_bit_num() 53 void uart_hal_get_data_bit_num(uart_hal_context_t *hal, uart_word_length_t *data_bit) in uart_hal_get_data_bit_num() 58 void uart_hal_set_parity(uart_hal_context_t *hal, uart_parity_t parity_mode) in uart_hal_set_parity() 63 void uart_hal_get_parity(uart_hal_context_t *hal, uart_parity_t *parity_mode) in uart_hal_get_parity() [all …]
|
D | sdio_slave_hal.c | 159 void sdio_slave_hal_init(sdio_slave_context_t *hal) in sdio_slave_hal_init() 170 void sdio_slave_hal_hw_init(sdio_slave_context_t *hal) in sdio_slave_hal_hw_init() 179 static esp_err_t init_send_queue(sdio_slave_context_t *hal) in init_send_queue() 217 void sdio_slave_hal_set_ioready(sdio_slave_context_t *hal, bool ready) in sdio_slave_hal_set_ioready() 254 static inline void send_set_state(sdio_slave_context_t *hal, send_state_t state) in send_set_state() 259 static inline send_state_t send_get_state(sdio_slave_context_t* hal) in send_get_state() 273 static void send_isr_invoker_enable(const sdio_slave_context_t *hal) in send_isr_invoker_enable() 283 static void send_isr_invoker_disable(sdio_slave_context_t *hal) in send_isr_invoker_disable() 288 void sdio_slave_hal_send_handle_isr_invoke(sdio_slave_context_t *hal) in sdio_slave_hal_send_handle_isr_invoke() 294 esp_err_t sdio_slave_hal_send_start(sdio_slave_context_t *hal) in sdio_slave_hal_send_start() [all …]
|
D | wdt_hal_iram.c | 22 void wdt_hal_init(wdt_hal_context_t *hal, wdt_inst_t wdt_inst, uint32_t prescaler, bool enable_intr) in wdt_hal_init() 89 void wdt_hal_deinit(wdt_hal_context_t *hal) in wdt_hal_deinit() 116 void wdt_hal_config_stage(wdt_hal_context_t *hal, wdt_stage_t stage, uint32_t timeout_ticks, wdt_st… in wdt_hal_config_stage() 127 void wdt_hal_write_protect_disable(wdt_hal_context_t *hal) in wdt_hal_write_protect_disable() 136 void wdt_hal_write_protect_enable(wdt_hal_context_t *hal) in wdt_hal_write_protect_enable() 145 void wdt_hal_enable(wdt_hal_context_t *hal) in wdt_hal_enable() 156 void wdt_hal_disable(wdt_hal_context_t *hal) in wdt_hal_disable() 165 void wdt_hal_handle_intr(wdt_hal_context_t *hal) in wdt_hal_handle_intr() 176 void wdt_hal_feed(wdt_hal_context_t *hal) in wdt_hal_feed() 185 void wdt_hal_set_flashboot_en(wdt_hal_context_t *hal, bool enable) in wdt_hal_set_flashboot_en() [all …]
|
D | i2s_hal.c | 59 void i2s_hal_set_clock_src(i2s_hal_context_t *hal, i2s_clock_src_t sel) in i2s_hal_set_clock_src() 65 void i2s_hal_tx_clock_config(i2s_hal_context_t *hal, i2s_hal_clock_cfg_t *clk_cfg) in i2s_hal_tx_clock_config() 73 void i2s_hal_rx_clock_config(i2s_hal_context_t *hal, i2s_hal_clock_cfg_t *clk_cfg) in i2s_hal_rx_clock_config() 81 void i2s_hal_enable_master_fd_mode(i2s_hal_context_t *hal) in i2s_hal_enable_master_fd_mode() 87 void i2s_hal_enable_slave_fd_mode(i2s_hal_context_t *hal) in i2s_hal_enable_slave_fd_mode() 93 void i2s_hal_init(i2s_hal_context_t *hal, int i2s_num) in i2s_hal_init() 100 void i2s_hal_tx_set_pdm_mode_default(i2s_hal_context_t *hal, uint32_t sample_rate) in i2s_hal_tx_set_pdm_mode_default() 143 void i2s_hal_rx_set_pdm_mode_default(i2s_hal_context_t *hal) in i2s_hal_rx_set_pdm_mode_default() 165 void i2s_hal_tx_set_common_mode(i2s_hal_context_t *hal, const i2s_hal_config_t *hal_cfg) in i2s_hal_tx_set_common_mode() 190 void i2s_hal_rx_set_common_mode(i2s_hal_context_t *hal, const i2s_hal_config_t *hal_cfg) in i2s_hal_rx_set_common_mode() [all …]
|
D | systimer_hal.c | 23 void systimer_hal_init(systimer_hal_context_t *hal) in systimer_hal_init() 30 uint64_t systimer_hal_get_counter_value(systimer_hal_context_t *hal, uint32_t counter_id) in systimer_hal_get_counter_value() 56 uint64_t systimer_hal_get_time(systimer_hal_context_t *hal, uint32_t counter_id) in systimer_hal_get_time() 62 void systimer_hal_set_alarm_target(systimer_hal_context_t *hal, uint32_t alarm_id, uint64_t target) in systimer_hal_set_alarm_target() 71 void systimer_hal_set_alarm_target(systimer_hal_context_t *hal, uint32_t alarm_id, uint64_t timesta… in systimer_hal_set_alarm_target() 94 void systimer_hal_set_alarm_period(systimer_hal_context_t *hal, uint32_t alarm_id, uint32_t period) in systimer_hal_set_alarm_period() 102 uint64_t systimer_hal_get_alarm_value(systimer_hal_context_t *hal, uint32_t alarm_id) in systimer_hal_get_alarm_value() 107 void systimer_hal_enable_alarm_int(systimer_hal_context_t *hal, uint32_t alarm_id) in systimer_hal_enable_alarm_int() 112 void systimer_hal_counter_value_advance(systimer_hal_context_t *hal, uint32_t counter_id, int64_t t… in systimer_hal_counter_value_advance() 119 void systimer_hal_enable_counter(systimer_hal_context_t *hal, uint32_t counter_id) in systimer_hal_enable_counter() [all …]
|
D | ledc_hal_iram.c | 21 void ledc_hal_ls_channel_update(ledc_hal_context_t *hal, ledc_channel_t channel_num) in ledc_hal_ls_channel_update() 26 void ledc_hal_set_hpoint(ledc_hal_context_t *hal, ledc_channel_t channel_num, uint32_t hpoint_val) in ledc_hal_set_hpoint() 31 void ledc_hal_get_duty(ledc_hal_context_t *hal, ledc_channel_t channel_num, uint32_t *duty_val) in ledc_hal_get_duty() 36 void ledc_hal_set_duty_direction(ledc_hal_context_t *hal, ledc_channel_t channel_num, ledc_duty_dir… in ledc_hal_set_duty_direction() 41 void ledc_hal_set_duty_num(ledc_hal_context_t *hal, ledc_channel_t channel_num, uint32_t duty_num) in ledc_hal_set_duty_num() 46 void ledc_hal_set_duty_cycle(ledc_hal_context_t *hal, ledc_channel_t channel_num, uint32_t duty_cyc… in ledc_hal_set_duty_cycle() 51 void ledc_hal_set_duty_scale(ledc_hal_context_t *hal, ledc_channel_t channel_num, uint32_t duty_sca… in ledc_hal_set_duty_scale() 56 void ledc_hal_get_fade_end_intr_status(ledc_hal_context_t *hal, uint32_t *intr_status) in ledc_hal_get_fade_end_intr_status() 61 void ledc_hal_clear_fade_end_intr_status(ledc_hal_context_t *hal, ledc_channel_t channel_num) in ledc_hal_clear_fade_end_intr_status()
|
D | emac_hal.c | 123 void emac_hal_init(emac_hal_context_t *hal, void *descriptors, in emac_hal_init() 134 void emac_hal_set_csr_clock_range(emac_hal_context_t *hal, int freq) in emac_hal_set_csr_clock_range() 152 void emac_hal_reset_desc_chain(emac_hal_context_t *hal) in emac_hal_reset_desc_chain() 198 void emac_hal_init_mac_default(emac_hal_context_t *hal) in emac_hal_init_mac_default() 247 void emac_hal_enable_flow_ctrl(emac_hal_context_t *hal, bool enable) in emac_hal_enable_flow_ctrl() 268 void emac_hal_init_dma_default(emac_hal_context_t *hal) in emac_hal_init_dma_default() 312 void emac_hal_set_phy_cmd(emac_hal_context_t *hal, uint32_t phy_addr, uint32_t phy_reg, bool write) in emac_hal_set_phy_cmd() 325 void emac_hal_set_address(emac_hal_context_t *hal, uint8_t *mac_addr) in emac_hal_set_address() 333 void emac_hal_start(emac_hal_context_t *hal) in emac_hal_start() 355 esp_err_t emac_hal_stop(emac_hal_context_t *hal) in emac_hal_stop() [all …]
|
D | usbh_hal.c | 85 static void set_defaults(usbh_hal_context_t *hal) in set_defaults() 106 void usbh_hal_init(usbh_hal_context_t *hal) in usbh_hal_init() 119 void usbh_hal_deinit(usbh_hal_context_t *hal) in usbh_hal_deinit() 128 void usbh_hal_core_soft_reset(usbh_hal_context_t *hal) in usbh_hal_core_soft_reset() 147 void usbh_hal_set_fifo_size(usbh_hal_context_t *hal, const usbh_hal_fifo_config_t *fifo_config) in usbh_hal_set_fifo_size() 169 static inline void debounce_lock_enable(usbh_hal_context_t *hal) in debounce_lock_enable() 176 void usbh_hal_port_enable(usbh_hal_context_t *hal) in usbh_hal_port_enable() 189 bool usbh_hal_chan_alloc(usbh_hal_context_t *hal, usbh_hal_chan_t *chan_obj, void *chan_ctx) in usbh_hal_chan_alloc() 221 void usbh_hal_chan_free(usbh_hal_context_t *hal, usbh_hal_chan_t *chan_obj) in usbh_hal_chan_free() 241 void usbh_hal_chan_set_ep_char(usbh_hal_context_t *hal, usbh_hal_chan_t *chan_obj, usbh_hal_ep_char… in usbh_hal_chan_set_ep_char() [all …]
|
D | spi_slave_hd_hal.c | 53 static void s_spi_slave_hd_hal_dma_init_config(const spi_slave_hd_hal_context_t *hal) in s_spi_slave_hd_hal_dma_init_config() 63 void spi_slave_hd_hal_init(spi_slave_hd_hal_context_t *hal, const spi_slave_hd_hal_config_t *hal_co… in spi_slave_hd_hal_init() 126 uint32_t spi_salve_hd_hal_get_max_bus_size(spi_slave_hd_hal_context_t *hal) in spi_salve_hd_hal_get_max_bus_size() 131 uint32_t spi_slave_hd_hal_get_total_desc_size(spi_slave_hd_hal_context_t *hal, uint32_t bus_size) in spi_slave_hd_hal_get_total_desc_size() 143 void spi_slave_hd_hal_rxdma(spi_slave_hd_hal_context_t *hal, uint8_t *out_buf, size_t len) in spi_slave_hd_hal_rxdma() 157 void spi_slave_hd_hal_txdma(spi_slave_hd_hal_context_t *hal, uint8_t *data, size_t len) in spi_slave_hd_hal_txdma() 171 static spi_ll_intr_t get_event_intr(spi_slave_hd_hal_context_t *hal, spi_event_t ev) in get_event_intr() 188 bool spi_slave_hd_hal_check_clear_event(spi_slave_hd_hal_context_t *hal, spi_event_t ev) in spi_slave_hd_hal_check_clear_event() 198 bool spi_slave_hd_hal_check_disable_event(spi_slave_hd_hal_context_t *hal, spi_event_t ev) in spi_slave_hd_hal_check_disable_event() 224 void spi_slave_hd_hal_enable_event_intr(spi_slave_hd_hal_context_t* hal, spi_event_t ev) in spi_slave_hd_hal_enable_event_intr() [all …]
|
D | usb_phy_hal.c | 10 void usb_phy_hal_init(usb_phy_hal_context_t *hal) in usb_phy_hal_init() 18 void usb_phy_hal_otg_conf(usb_phy_hal_context_t *hal, usb_phy_target_t phy_target) in usb_phy_hal_otg_conf() 28 void usb_phy_hal_jtag_conf(usb_phy_hal_context_t *hal, usb_phy_target_t phy_target) in usb_phy_hal_jtag_conf() 38 void usb_phy_hal_int_load_conf_host(usb_phy_hal_context_t *hal) in usb_phy_hal_int_load_conf_host() 44 void usb_phy_hal_int_load_conf_dev(usb_phy_hal_context_t *hal, usb_priv_speed_t speed) in usb_phy_hal_int_load_conf_dev() 56 void usb_phy_hal_int_mimick_disconn(usb_phy_hal_context_t *hal, bool disconn) in usb_phy_hal_int_mimick_disconn()
|
D | rmt_hal.c | 18 void rmt_hal_init(rmt_hal_context_t *hal) in rmt_hal_init() 24 void rmt_hal_tx_channel_reset(rmt_hal_context_t *hal, uint32_t channel) in rmt_hal_tx_channel_reset() 36 void rmt_hal_rx_channel_reset(rmt_hal_context_t *hal, uint32_t channel) in rmt_hal_rx_channel_reset() 45 void rmt_hal_tx_set_channel_clock(rmt_hal_context_t *hal, uint32_t channel, uint32_t base_clk_hz, u… in rmt_hal_tx_set_channel_clock() 52 void rmt_hal_set_carrier_clock(rmt_hal_context_t *hal, uint32_t channel, uint32_t base_clk_hz, uint… in rmt_hal_set_carrier_clock() 60 void rmt_hal_set_rx_filter_thres(rmt_hal_context_t *hal, uint32_t channel, uint32_t base_clk_hz, ui… in rmt_hal_set_rx_filter_thres() 66 void rmt_hal_set_rx_idle_thres(rmt_hal_context_t *hal, uint32_t channel, uint32_t base_clk_hz, uint… in rmt_hal_set_rx_idle_thres() 72 uint32_t rmt_hal_receive(rmt_hal_context_t *hal, uint32_t channel, rmt_item32_t *buf) in rmt_hal_receive()
|
D | spi_slave_hal_iram.c | 22 bool spi_slave_hal_usr_is_done(spi_slave_hal_context_t* hal) in spi_slave_hal_usr_is_done() 27 void spi_slave_hal_user_start(const spi_slave_hal_context_t *hal) in spi_slave_hal_user_start() 33 void spi_slave_hal_prepare_data(const spi_slave_hal_context_t *hal) in spi_slave_hal_prepare_data() 81 void spi_slave_hal_store_result(spi_slave_hal_context_t *hal) in spi_slave_hal_store_result() 96 uint32_t spi_slave_hal_get_rcv_bitlen(spi_slave_hal_context_t *hal) in spi_slave_hal_get_rcv_bitlen() 101 bool spi_slave_hal_dma_need_reset(const spi_slave_hal_context_t *hal) in spi_slave_hal_dma_need_reset()
|
D | uart_hal_iram.c | 18 void uart_hal_txfifo_rst(uart_hal_context_t *hal) in uart_hal_txfifo_rst() 23 void uart_hal_rxfifo_rst(uart_hal_context_t *hal) in uart_hal_rxfifo_rst() 28 void uart_hal_tx_break(uart_hal_context_t *hal, uint32_t break_num) in uart_hal_tx_break() 33 void uart_hal_write_txfifo(uart_hal_context_t *hal, const uint8_t *buf, uint32_t data_size, uint32_… in uart_hal_write_txfifo() 43 void uart_hal_read_rxfifo(uart_hal_context_t *hal, uint8_t *buf, int *inout_rd_len) in uart_hal_read_rxfifo()
|
D | spi_hal_iram.c | 39 void spi_hal_setup_device(spi_hal_context_t *hal, const spi_hal_dev_config_t *dev) in spi_hal_setup_device() 61 void spi_hal_setup_trans(spi_hal_context_t *hal, const spi_hal_dev_config_t *dev, const spi_hal_tra… in spi_hal_setup_trans() 141 void spi_hal_prepare_data(spi_hal_context_t *hal, const spi_hal_dev_config_t *dev, const spi_hal_tr… in spi_hal_prepare_data() 194 void spi_hal_user_start(const spi_hal_context_t *hal) in spi_hal_user_start() 199 bool spi_hal_usr_is_done(const spi_hal_context_t *hal) in spi_hal_usr_is_done() 204 void spi_hal_fetch_result(const spi_hal_context_t *hal) in spi_hal_fetch_result()
|
/hal_espressif-3.4.0/components/hal/include/hal/ |
D | gpio_hal.h | 56 #define gpio_hal_pullup_en(hal, gpio_num) gpio_ll_pullup_en((hal)->dev, gpio_num) argument 64 #define gpio_hal_pullup_dis(hal, gpio_num) gpio_ll_pullup_dis((hal)->dev, gpio_num) argument 72 #define gpio_hal_pulldown_en(hal, gpio_num) gpio_ll_pulldown_en((hal)->dev, gpio_num) argument 80 #define gpio_hal_pulldown_dis(hal, gpio_num) gpio_ll_pulldown_dis((hal)->dev, gpio_num) argument 89 #define gpio_hal_set_intr_type(hal, gpio_num, intr_type) gpio_ll_set_intr_type((hal)->dev, gpio_num… argument 98 #define gpio_hal_get_intr_status(hal, core_id, status) gpio_ll_get_intr_status((hal)->dev, core_id,… argument 107 #define gpio_hal_get_intr_status_high(hal, core_id, status) gpio_ll_get_intr_status_high((hal)->dev… argument 115 #define gpio_hal_clear_intr_status(hal, mask) gpio_ll_clear_intr_status((hal)->dev, mask) argument 123 #define gpio_hal_clear_intr_status_high(hal, mask) gpio_ll_clear_intr_status_high((hal)->dev, mask) argument 148 #define gpio_hal_input_disable(hal, gpio_num) gpio_ll_input_disable((hal)->dev, gpio_num) argument [all …]
|
D | i2s_hal.h | 74 #define i2s_hal_enable_module_clock(hal) i2s_ll_enable_clock((hal)->dev); argument 81 #define i2s_hal_disable_module_clock(hal) i2s_ll_disable_clock((hal)->dev); argument 88 #define i2s_hal_reset_tx(hal) i2s_ll_tx_reset((hal)->dev) argument 95 #define i2s_hal_reset_tx_fifo(hal) i2s_ll_tx_reset_fifo((hal)->dev) argument 102 #define i2s_hal_reset_rx(hal) i2s_ll_rx_reset((hal)->dev) argument 109 #define i2s_hal_reset_rx_fifo(hal) i2s_ll_rx_reset_fifo((hal)->dev) argument 200 #define i2s_hal_set_rx_eof_num(hal, eof_byte) i2s_ll_rx_set_eof_num((hal)->dev, eof_byte) argument 209 #define i2s_hal_set_tx_sample_bit(hal, chan_bit, data_bit) i2s_ll_tx_set_sample_bit((hal)->dev, ch… argument 218 #define i2s_hal_set_rx_sample_bit(hal, chan_bit, data_bit) i2s_ll_rx_set_sample_bit((hal)->dev, ch… argument 242 #define i2s_hal_tx_set_clock_source(hal, clk_src) i2s_ll_tx_clk_set_src((hal)->dev, clk_src) argument [all …]
|
D | timer_hal.h | 79 #define timer_hal_set_divider(hal, divider) timer_ll_set_divider((hal)->dev, (hal)->idx, divider) argument 89 #define timer_hal_get_divider(hal, divider) timer_ll_get_divider((hal)->dev, (hal)->idx, divider) argument 99 #define timer_hal_set_counter_value(hal, load_val) timer_ll_set_counter_value((hal)->dev, (hal)->i… argument 109 #define timer_hal_get_counter_value(hal, timer_val) timer_ll_get_counter_value((hal)->dev, (hal)->… argument 119 #define timer_hal_set_counter_increase(hal, increase_en) timer_ll_set_counter_increase((hal)->dev,… argument 131 #define timer_hal_get_counter_increase(hal) timer_ll_get_counter_increase((hal)->dev, (hal)->idx) argument 141 #define timer_hal_set_counter_enable(hal, counter_en) timer_ll_set_counter_enable((hal)->dev, (hal… argument 152 #define timer_hal_get_counter_enable(hal) timer_ll_get_counter_enable((hal)->dev, (hal)->idx) argument 162 #define timer_hal_set_auto_reload(hal, auto_reload_en) timer_ll_set_auto_reload((hal)->dev, (hal)-… argument 173 #define timer_hal_get_auto_reload(hal) timer_ll_get_auto_reload((hal)->dev, (hal)->idx) argument [all …]
|
D | ledc_hal.h | 45 #define ledc_hal_set_slow_clk_sel(hal, slow_clk_sel) ledc_ll_set_slow_clk_sel((hal)->dev, slow_clk… argument 55 #define ledc_hal_get_slow_clk_sel(hal, slow_clk_sel) ledc_ll_get_slow_clk_sel((hal)->dev, slow_clk… argument 65 #define ledc_hal_ls_timer_update(hal, timer_sel) ledc_ll_ls_timer_update((hal)->dev, (hal)->speed_… argument 75 #define ledc_hal_timer_rst(hal, timer_sel) ledc_ll_timer_rst((hal)->dev, (hal)->speed_mode, timer_… argument 85 #define ledc_hal_timer_pause(hal, timer_sel) ledc_ll_timer_pause((hal)->dev, (hal)->speed_mode, ti… argument 95 #define ledc_hal_timer_resume(hal, timer_sel) ledc_ll_timer_resume((hal)->dev, (hal)->speed_mode, … argument 106 #define ledc_hal_set_clock_divider(hal, timer_sel, clock_divider) ledc_ll_set_clock_divider((hal)-… argument 117 #define ledc_hal_get_clock_divider(hal, timer_sel, clock_divider) ledc_ll_get_clock_divider((hal)-… argument 128 #define ledc_hal_set_clock_source(hal, timer_sel, clk_src) ledc_ll_set_clock_source((hal)->dev, (h… argument 139 #define ledc_hal_get_clock_source(hal, timer_sel, clk_src) ledc_ll_get_clock_source((hal)->dev, (h… argument [all …]
|
D | uart_hal.h | 48 #define uart_hal_clr_intsts_mask(hal, mask) uart_ll_clr_intsts_mask((hal)->dev, mask) argument 58 #define uart_hal_disable_intr_mask(hal, mask) uart_ll_disable_intr_mask((hal)->dev, mask) argument 68 #define uart_hal_ena_intr_mask(hal, mask) uart_ll_ena_intr_mask((hal)->dev, mask) argument 77 #define uart_hal_get_intsts_mask(hal) uart_ll_get_intsts_mask((hal)->dev) argument 86 #define uart_hal_get_intr_ena_status(hal) uart_ll_get_intr_ena_status((hal)->dev) argument 97 #define uart_hal_get_at_cmd_char(hal, cmd_char, char_num) uart_ll_get_at_cmd_char((hal)->dev, cmd_… argument 107 #define uart_hal_set_rts(hal, active_level) uart_ll_set_rts_active_level((hal)->dev, active_level) argument 116 #define uart_hal_get_txfifo_len(hal) uart_ll_get_txfifo_len((hal)->dev) argument 125 #define uart_hal_is_tx_idle(hal) uart_ll_is_tx_idle((hal)->dev) argument 135 #define uart_hal_set_reset_core(hal, core_rst_en) uart_ll_set_reset_core((hal)->dev, core_rst_en) argument [all …]
|
D | i2c_hal.h | 44 #define i2c_hal_write_txfifo(hal,wr_data,wr_size) i2c_ll_write_txfifo((hal)->dev,wr_data,wr_size) argument 55 #define i2c_hal_read_rxfifo(hal,buf,rd_size) i2c_ll_read_rxfifo((hal)->dev,buf,rd_size) argument 66 #define i2c_hal_write_cmd_reg(hal,cmd, cmd_idx) i2c_ll_write_cmd_reg((hal)->dev,cmd,cmd_idx) argument 75 #define i2c_hal_trans_start(hal) i2c_ll_trans_start((hal)->dev) argument 84 #define i2c_hal_enable_master_rx_it(hal) i2c_ll_master_enable_rx_it((hal)->dev) argument 93 #define i2c_hal_enable_master_tx_it(hal) i2c_ll_master_enable_tx_it((hal)->dev) argument 102 #define i2c_hal_slave_clr_tx_it(hal) i2c_ll_slave_clr_tx_it((hal)->dev) argument 111 #define i2c_hal_slave_clr_rx_it(hal) i2c_ll_slave_clr_rx_it((hal)->dev) argument 121 #define i2c_hal_set_source_clk(hal, src_clk) i2c_ll_set_source_clk((hal)->dev, src_clk) argument
|
D | usbh_hal.h | 252 static inline void usbh_hal_port_init(usbh_hal_context_t *hal) in usbh_hal_port_init() 266 static inline void usbh_hal_port_deinit(usbh_hal_context_t *hal) in usbh_hal_port_deinit() 278 static inline void usbh_hal_port_toggle_power(usbh_hal_context_t *hal, bool power_on) in usbh_hal_port_toggle_power() 303 static inline void usbh_hal_port_toggle_reset(usbh_hal_context_t *hal, bool enable) in usbh_hal_port_toggle_reset() 330 static inline void usbh_hal_port_disable(usbh_hal_context_t *hal) in usbh_hal_port_disable() 340 static inline void usbh_hal_port_suspend(usbh_hal_context_t *hal) in usbh_hal_port_suspend() 355 static inline void usbh_hal_port_toggle_resume(usbh_hal_context_t *hal, bool enable) in usbh_hal_port_toggle_resume() 374 static inline bool usbh_hal_port_check_resume(usbh_hal_context_t *hal) in usbh_hal_port_check_resume() 391 static inline void usbh_hal_port_set_frame_list(usbh_hal_context_t *hal, uint32_t *frame_list, usb_… in usbh_hal_port_set_frame_list() 404 static inline uint32_t *usbh_hal_port_get_frame_list(usbh_hal_context_t *hal) in usbh_hal_port_get_frame_list() [all …]
|
/hal_espressif-3.4.0/components/hal/esp32s2/ |
D | cp_dma_hal.c | 19 void cp_dma_hal_init(cp_dma_hal_context_t *hal, const cp_dma_hal_config_t *config) in cp_dma_hal_init() 32 void cp_dma_hal_set_desc_base_addr(cp_dma_hal_context_t *hal, intptr_t outlink_base, intptr_t inlin… in cp_dma_hal_set_desc_base_addr() 39 void cp_dma_hal_deinit(cp_dma_hal_context_t *hal) in cp_dma_hal_deinit() 45 void cp_dma_hal_start(cp_dma_hal_context_t *hal) in cp_dma_hal_start() 54 void cp_dma_hal_stop(cp_dma_hal_context_t *hal) in cp_dma_hal_stop() 64 uint32_t cp_dma_hal_get_intr_status(cp_dma_hal_context_t *hal) in cp_dma_hal_get_intr_status() 69 void cp_dma_hal_clear_intr_status(cp_dma_hal_context_t *hal, uint32_t mask) in cp_dma_hal_clear_intr_status() 74 void cp_dma_hal_restart_tx(cp_dma_hal_context_t *hal) in cp_dma_hal_restart_tx() 79 void cp_dma_hal_restart_rx(cp_dma_hal_context_t *hal) in cp_dma_hal_restart_rx()
|
/hal_espressif-3.4.0/components/driver/ |
D | mcpwm.c | 79 mcpwm_hal_context_t hal; member 206 mcpwm_hal_context_t *hal = &context[mcpwm_num].hal; in mcpwm_group_set_resolution() local 219 mcpwm_hal_context_t *hal = &context[mcpwm_num].hal; in mcpwm_timer_set_resolution() local 234 mcpwm_hal_context_t *hal = &context[mcpwm_num].hal; in mcpwm_set_frequency() local 267 mcpwm_hal_context_t *hal = &context[mcpwm_num].hal; in mcpwm_set_duty() local 284 mcpwm_hal_context_t *hal = &context[mcpwm_num].hal; in mcpwm_set_duty_in_us() local 303 mcpwm_hal_context_t *hal = &context[mcpwm_num].hal; in mcpwm_set_duty_type() local 382 mcpwm_hal_context_t *hal = &context[mcpwm_num].hal; in mcpwm_init() local 415 mcpwm_hal_context_t *hal = &context[mcpwm_num].hal; in mcpwm_get_frequency() local 431 mcpwm_hal_context_t *hal = &context[mcpwm_num].hal; in mcpwm_get_duty() local [all …]
|
/hal_espressif-3.4.0/components/hal/esp32/ |
D | gpio_hal_workaround.c | 29 gpio_hal_context_t *hal, in gpio_hal_sleep_mode_setup_wrapper() 46 static void gpio_hal_fun_pupd_backup(gpio_hal_context_t *hal, gpio_num_t gpio_num, void *args) in gpio_hal_fun_pupd_backup() 87 static void gpio_hal_fun_pupd_restore(gpio_hal_context_t *hal, gpio_num_t gpio_num, void *args) in gpio_hal_fun_pupd_restore() 110 void gpio_hal_sleep_pupd_config_apply(gpio_hal_context_t *hal, gpio_num_t gpio_num) in gpio_hal_sleep_pupd_config_apply() 115 void gpio_hal_sleep_pupd_config_unapply(gpio_hal_context_t *hal, gpio_num_t gpio_num) in gpio_hal_sleep_pupd_config_unapply()
|