Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.5.0/drivers/sensor/pcnt_esp32/
Dpcnt_esp32.c45 pcnt_hal_context_t hal; member
93 unit_config->count_val_acc = pcnt_ll_get_count(data->hal.dev, i); in pcnt_esp32_sample_fetch()
148 pcnt_hal_init(&data->hal, 0); in pcnt_esp32_init()
157 pcnt_ll_enable_thres_event(data->hal.dev, i, 0, false); in pcnt_esp32_init()
158 pcnt_ll_enable_thres_event(data->hal.dev, i, 1, false); in pcnt_esp32_init()
159 pcnt_ll_enable_low_limit_event(data->hal.dev, i, false); in pcnt_esp32_init()
160 pcnt_ll_enable_high_limit_event(data->hal.dev, i, false); in pcnt_esp32_init()
161 pcnt_ll_enable_zero_cross_event(data->hal.dev, i, false); in pcnt_esp32_init()
162 pcnt_ll_set_edge_action(data->hal.dev, i, 0, in pcnt_esp32_init()
165 pcnt_ll_set_edge_action(data->hal.dev, i, 1, in pcnt_esp32_init()
[all …]
/Zephyr-Core-3.5.0/drivers/pwm/
Dpwm_mc_esp32.c38 mcpwm_hal_context_t hal; member
110 set_duty = mcpwm_ll_timer_get_peak(data->hal.dev, channel->timer_id, false) * in mcpwm_esp32_duty_set()
112 mcpwm_ll_operator_select_timer(data->hal.dev, channel->operator_id, channel->timer_id); in mcpwm_esp32_duty_set()
113 mcpwm_ll_operator_set_compare_value(data->hal.dev, channel->operator_id, in mcpwm_esp32_duty_set()
115 mcpwm_ll_operator_enable_update_compare_on_tez(data->hal.dev, channel->operator_id, in mcpwm_esp32_duty_set()
120 data->hal.dev, channel->operator_id, channel->generator_id, in mcpwm_esp32_duty_set()
123 data->hal.dev, channel->operator_id, channel->generator_id, in mcpwm_esp32_duty_set()
126 data->hal.dev, channel->operator_id, channel->generator_id, in mcpwm_esp32_duty_set()
130 data->hal.dev, channel->operator_id, channel->generator_id, in mcpwm_esp32_duty_set()
133 data->hal.dev, channel->operator_id, channel->generator_id, in mcpwm_esp32_duty_set()
[all …]
Dpwm_led_esp32.c26 ledc_hal_context_t hal; member
69 ledc_hal_ls_channel_update(&data->hal, channel); in pwm_led_esp32_low_speed_update()
77 ledc_hal_set_sig_out_en(&data->hal, channel, true); in pwm_led_esp32_update_duty()
78 ledc_hal_set_duty_start(&data->hal, channel, true); in pwm_led_esp32_update_duty()
88 ledc_hal_set_hpoint(&data->hal, channel->channel_num, 0); in pwm_led_esp32_duty_set()
89 ledc_hal_set_duty_int_part(&data->hal, channel->channel_num, channel->duty_val); in pwm_led_esp32_duty_set()
90 ledc_hal_set_duty_direction(&data->hal, channel->channel_num, 1); in pwm_led_esp32_duty_set()
91 ledc_hal_set_duty_num(&data->hal, channel->channel_num, 1); in pwm_led_esp32_duty_set()
92 ledc_hal_set_duty_cycle(&data->hal, channel->channel_num, 1); in pwm_led_esp32_duty_set()
93 ledc_hal_set_duty_scale(&data->hal, channel->channel_num, 0); in pwm_led_esp32_duty_set()
[all …]
/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_esp32.c61 i2c_hal_context_t hal; member
184 i2c_hal_master_clr_bus(&data->hal); in i2c_master_clear_bus()
186 i2c_hal_update_config(&data->hal); in i2c_master_clear_bus()
202 i2c_hal_get_scl_timing(&data->hal, &scl_high_period, &scl_low_period); in i2c_hw_fsm_reset()
203 i2c_hal_get_start_timing(&data->hal, &scl_rstart_setup, &scl_start_hold); in i2c_hw_fsm_reset()
204 i2c_hal_get_stop_timing(&data->hal, &scl_stop_setup, &scl_stop_hold); in i2c_hw_fsm_reset()
205 i2c_hal_get_sda_timing(&data->hal, &sda_sample, &sda_hold); in i2c_hw_fsm_reset()
206 i2c_hal_get_tout(&data->hal, &timeout); in i2c_hw_fsm_reset()
207 i2c_hal_get_filter(&data->hal, &filter_cfg); in i2c_hw_fsm_reset()
214 i2c_hal_master_init(&data->hal, config->index); in i2c_hw_fsm_reset()
[all …]
DKconfig.sedi14 bare metal I2C driver in the hal-intel module
/Zephyr-Core-3.5.0/drivers/serial/
Duart_esp32.c99 uart_hal_context_t hal; member
124 if (uart_hal_get_rxfifo_len(&data->hal) == 0) { in uart_esp32_poll_in()
128 uart_hal_read_rxfifo(&data->hal, p_char, &inout_rd_len); in uart_esp32_poll_in()
139 while (uart_hal_get_txfifo_len(&data->hal) == 0) { in uart_esp32_poll_out()
144 uart_hal_write_txfifo(&data->hal, &c, 1, &written); in uart_esp32_poll_out()
150 uint32_t mask = uart_hal_get_intsts_mask(&data->hal); in uart_esp32_err_check()
165 uart_hal_get_baudrate(&data->hal, &cfg->baudrate); in uart_esp32_config_get()
167 uart_hal_get_parity(&data->hal, &parity); in uart_esp32_config_get()
182 uart_hal_get_stop_bits(&data->hal, &stop_bit); in uart_esp32_config_get()
197 uart_hal_get_data_bit_num(&data->hal, &data_bit); in uart_esp32_config_get()
[all …]
DKconfig.sedi15 bare metal UART driver in the hal-intel module
/Zephyr-Core-3.5.0/drivers/dma/
Ddma_esp32_gdma.c39 gdma_hal_context_t hal; member
79 gdma_ll_rx_clear_interrupt_status(data->hal.dev, rx->channel_id, intr_status); in dma_esp32_isr_handle_rx()
95 gdma_ll_tx_clear_interrupt_status(data->hal.dev, tx->channel_id, intr_status); in dma_esp32_isr_handle_tx()
112 intr_status = gdma_ll_rx_get_interrupt_status(data->hal.dev, dma_channel_rx->channel_id); in dma_esp32_isr_handle()
117 intr_status = gdma_ll_tx_get_interrupt_status(data->hal.dev, dma_channel_tx->channel_id); in dma_esp32_isr_handle()
182 gdma_ll_rx_reset_channel(data->hal.dev, dma_channel->channel_id); in dma_esp32_config_rx()
185 gdma_ll_rx_connect_to_periph(data->hal.dev, dma_channel->channel_id, in dma_esp32_config_rx()
193 gdma_ll_rx_enable_data_burst(data->hal.dev, dma_channel->channel_id, in dma_esp32_config_rx()
195 gdma_ll_rx_enable_descriptor_burst(data->hal.dev, dma_channel->channel_id, in dma_esp32_config_rx()
202 gdma_ll_rx_clear_interrupt_status(data->hal.dev, dma_channel->channel_id, UINT32_MAX); in dma_esp32_config_rx()
[all …]
/Zephyr-Core-3.5.0/drivers/mdio/
Dmdio_esp32.c26 emac_hal_context_t hal; member
40 if (emac_ll_is_mii_busy(dev_data->hal.mac_regs)) { in mdio_transfer()
47 emac_ll_set_phy_data(dev_data->hal.mac_regs, data_in); in mdio_transfer()
49 emac_hal_set_phy_cmd(&dev_data->hal, prtad, regad, write); in mdio_transfer()
56 if (!emac_ll_is_mii_busy(dev_data->hal.mac_regs)) { in mdio_transfer()
68 *data_out = emac_ll_get_phy_data(dev_data->hal.mac_regs); in mdio_transfer()
123 dev_data->hal.mac_regs = &EMAC_MAC; in mdio_esp32_initialize()
126 emac_hal_set_csr_clock_range(&dev_data->hal, esp_clk_apb_freq()); in mdio_esp32_initialize()
/Zephyr-Core-3.5.0/drivers/watchdog/
Dwdt_esp32.c38 wdt_hal_context_t hal; member
56 wdt_hal_write_protect_enable(&data->hal); in wdt_esp32_seal()
63 wdt_hal_write_protect_disable(&data->hal); in wdt_esp32_unseal()
71 wdt_hal_enable(&data->hal); in wdt_esp32_enable()
81 wdt_hal_disable(&data->hal); in wdt_esp32_disable()
94 wdt_hal_feed(&data->hal); in wdt_esp32_feed()
105 wdt_hal_config_stage(&data->hal, WDT_STAGE0, data->timeout, WDT_STAGE_ACTION_INT); in wdt_esp32_set_config()
106 wdt_hal_config_stage(&data->hal, WDT_STAGE1, data->timeout, data->mode); in wdt_esp32_set_config()
163 wdt_hal_init(&data->hal, config->wdt_inst, MWDT_TICK_PRESCALER, true); in wdt_esp32_init()
212 wdt_hal_handle_intr(&data->hal); in wdt_esp32_isr()
/Zephyr-Core-3.5.0/drivers/ethernet/
Deth_esp32.c38 emac_hal_context_t hal; member
68 uint32_t sent_len = emac_hal_transmit_frame(&dev_data->hal, dev_data->txb, len); in eth_esp32_send()
80 &dev_data->hal, dev_data->rxb, sizeof(dev_data->rxb), in eth_esp32_rx()
137 uint32_t intr_stat = emac_ll_get_intr_status(dev_data->hal.dma_regs); in eth_esp32_isr()
139 emac_ll_clear_corresponding_intr(dev_data->hal.dma_regs, intr_stat); in eth_esp32_isr()
204 emac_hal_init(&dev_data->hal, dev_data->dma->descriptors, in eth_esp32_initialize()
225 emac_ll_clock_enable_rmii_input(dev_data->hal.ext_regs); in eth_esp32_initialize()
228 emac_ll_clock_enable_mii(dev_data->hal.ext_regs); in eth_esp32_initialize()
235 emac_ll_reset(dev_data->hal.dma_regs); in eth_esp32_initialize()
241 if (emac_ll_is_reset_done(dev_data->hal.dma_regs)) { in eth_esp32_initialize()
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/
Dopenisa.cmake41 ll_sw/openisa/hal/RV32M1/cntr.c
42 ll_sw/openisa/hal/RV32M1/ecb.c
43 ll_sw/openisa/hal/RV32M1/radio/radio.c
44 ll_sw/openisa/hal/RV32M1/mayfly.c
45 ll_sw/openisa/hal/RV32M1/ticker.c
Dnrf.cmake68 zephyr_library_sources(ll_sw/nordic/hal/nrf5/radio/radio_df.c)
91 ll_sw/nordic/hal/nrf5/cntr.c
92 ll_sw/nordic/hal/nrf5/ecb.c
93 ll_sw/nordic/hal/nrf5/radio/radio.c
94 ll_sw/nordic/hal/nrf5/mayfly.c
95 ll_sw/nordic/hal/nrf5/ticker.c
112 ll_sw/nordic/hal/nrf5/nrfx_glue
/Zephyr-Core-3.5.0/drivers/spi/
Dspi_esp32_spim.c67 spi_hal_context_t *hal = &data->hal; in spi_esp32_transfer() local
109 memset((uint32_t *)hal->hw->data_buf, 0, sizeof(hal->hw->data_buf)); in spi_esp32_transfer()
120 spi_hal_setup_trans(hal, hal_dev, hal_trans); in spi_esp32_transfer()
121 spi_hal_prepare_data(hal, hal_dev, hal_trans); in spi_esp32_transfer()
124 spi_hal_user_start(hal); in spi_esp32_transfer()
127 while (!spi_hal_usr_is_done(hal)) { in spi_esp32_transfer()
132 spi_hal_fetch_result(hal); in spi_esp32_transfer()
204 spi_hal_init(&data->hal, cfg->dma_host + 1, &data->hal_config); in spi_esp32_init_dma()
266 spi_hal_context_t *hal = &data->hal; in spi_esp32_configure() local
268 spi_dev_t *hw = hal->hw; in spi_esp32_configure()
[all …]
Dspi_esp32_spim.h46 spi_hal_context_t hal; member
/Zephyr-Core-3.5.0/soc/arm/cypress/psoc6/
Drwdata.ld4 * ext/hal/cypress/.../devices/psoc6/linker/gcc/cy8c6xx6_cm0plus.ld
Dnoinit.ld4 * ext/hal/cypress/.../devices/psoc6/linker/gcc/cy8c6xx6_cm0plus.ld
/Zephyr-Core-3.5.0/modules/hal_infineon/
DCMakeLists.txt27 ## Add mtb-hal-cat1 sources for CAT1 devices
28 add_subdirectory(mtb-hal-cat1)
/Zephyr-Core-3.5.0/drivers/sensor/stmemsc/
DCMakeLists.txt1 # ST Microelectronics stmemsc hal i/f
/Zephyr-Core-3.5.0/drivers/gpio/
DKconfig.sedi14 bare metal GPIO driver in hal-intel module.
/Zephyr-Core-3.5.0/drivers/ipm/
DKconfig.sedi11 bare metal IPC driver in the hal-intel module
/Zephyr-Core-3.5.0/drivers/crypto/
DKconfig.nrf_ecb11 # (see subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/ecb.c),
/Zephyr-Core-3.5.0/modules/hal_infineon/mtb-hal-cat1/
DCMakeLists.txt6 set(hal_dir ${ZEPHYR_HAL_INFINEON_MODULE_DIR}/mtb-hal-cat1)
14 # Add mtb-hal-cat1
/Zephyr-Core-3.5.0/cmake/compiler/xcc/
Dtarget.cmake45 hal
/Zephyr-Core-3.5.0/modules/loramac-node/
DCMakeLists.txt42 ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/peripherals/soft-se/soft-se-hal.c

12