Home
last modified time | relevance | path

Searched refs:bus (Results 1 – 25 of 80) sorted by relevance

1234

/hal_espressif-3.4.0/components/esp_lcd/src/
Desp_lcd_panel_io_i2s.c52 static esp_err_t i2s_lcd_select_periph_clock(esp_lcd_i80_bus_handle_t bus, lcd_clock_source_t src);
53 static esp_err_t i2s_lcd_init_dma_link(esp_lcd_i80_bus_handle_t bus);
54 static esp_err_t i2s_lcd_configure_gpio(esp_lcd_i80_bus_handle_t bus, const esp_lcd_i80_bus_config_…
55 static void i2s_lcd_trigger_quick_trans_done_event(esp_lcd_i80_bus_handle_t bus);
93 esp_lcd_i80_bus_t *bus; // Which bus the device is attached to member
121 esp_lcd_i80_bus_t *bus = NULL; in esp_lcd_new_i80_bus() local
134bus = heap_caps_calloc(1, sizeof(esp_lcd_i80_bus_t) + num_dma_nodes * sizeof(dma_descriptor_t), MA… in esp_lcd_new_i80_bus()
135 ESP_GOTO_ON_FALSE(bus, ESP_ERR_NO_MEM, err, TAG, "no mem for i80 bus"); in esp_lcd_new_i80_bus()
136 bus->num_dma_nodes = num_dma_nodes; in esp_lcd_new_i80_bus()
137 bus->bus_id = -1; in esp_lcd_new_i80_bus()
[all …]
Desp_lcd_panel_io_i80.c46 static esp_err_t lcd_i80_init_dma_link(esp_lcd_i80_bus_handle_t bus);
47 static void lcd_periph_trigger_quick_trans_done_event(esp_lcd_i80_bus_handle_t bus);
48 static esp_err_t lcd_i80_select_periph_clock(esp_lcd_i80_bus_handle_t bus, lcd_clock_source_t clk_s…
49 static esp_err_t lcd_i80_bus_configure_gpio(esp_lcd_i80_bus_handle_t bus, const esp_lcd_i80_bus_con…
51 static void lcd_start_transaction(esp_lcd_i80_bus_t *bus, lcd_i80_trans_descriptor_t *trans_desc);
86 esp_lcd_i80_bus_t *bus; // Which bus the device is attached to member
118 esp_lcd_i80_bus_t *bus = NULL; in esp_lcd_new_i80_bus() local
122bus = heap_caps_calloc(1, sizeof(esp_lcd_i80_bus_t) + num_dma_nodes * sizeof(dma_descriptor_t), MA… in esp_lcd_new_i80_bus()
123 ESP_GOTO_ON_FALSE(bus, ESP_ERR_NO_MEM, err, TAG, "no mem for i80 bus"); in esp_lcd_new_i80_bus()
124 bus->num_dma_nodes = num_dma_nodes; in esp_lcd_new_i80_bus()
[all …]
/hal_espressif-3.4.0/tools/ble/
Dlib_gatt.py71 def __init__(self, bus, path): argument
74 dbus.service.Object.__init__(self, bus, self.path)
108 def __init__(self, bus, path): argument
109 Application.__init__(self, bus, path)
110 self.service = AlertNotificationService(bus, '0001')
120 def __init__(self, bus, index, uuid, primary=False): argument
122 self.bus = bus
126 dbus.service.Object.__init__(self, bus, self.path)
167 def __init__(self, bus, index, uuid, flags, service): argument
169 self.bus = bus
[all …]
Dlib_ble_client.py91 self.bus = None
102 self.bus = dbus.SystemBus()
123 … dbus_obj_mgr = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, '/'), DBUS_OM_IFACE)
128 … self.adapter.iface = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, path), ADAPTER_IFACE)
129 …self.adapter.props = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, path), DBUS_PROP_IFACE)
154 …self.adapter.props = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, self.adapter.path), DB…
218 …self.device.props = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, self.device.path), DBUS…
257 dbus_obj_mgr = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, '/'), DBUS_OM_IFACE)
270 … device_props = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, path), DBUS_PROP_IFACE)
286 …self.device.iface = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, dev_path), DEVICE_IFACE)
[all …]
Dlib_gap.py47 def __init__(self, bus, index, advertising_type, uuid, name): argument
49 self.bus = bus
53 dbus.service.Object.__init__(self, bus, self.path)
/hal_espressif-3.4.0/docs/en/api-reference/peripherals/
Dspi_features.rst15 etc.), an SPI bus lock is applied on each SPI bus. Drivers can attach their devices onto the bus
18 Each bus lock are initialized with a BG (background) service registered, all devices request to
19 do transactions on the bus should wait until the BG to be successfully disabled.
21 - For SPI1 bus, the BG is the cache, the bus lock will help to disable the cache before device
28 There are quite a few limitations when using SPI Master driver on the SPI1 bus, see
33 The SPI Master driver hasn't supported SPI1 bus. Only SPI Flash driver can attach to the bus.
35 - For other buses, the driver may register its ISR as the BG. The bus lock will block a device
36 task when it requests for exclusive use of the bus, try to disable the ISR, and unblock the
37 device task allowed to exclusively use the bus when the ISR is successfully disabled. When the
Dtwai.rst9 …contains a TWAI controller that can be configured to communicate on a TWAI bus via an external tra…
36 **Multi-master:** Any node on the bus can initiate the transfer of a message.
38 **Multi-cast:** When a node transmits a message, all nodes on the bus will receive the message (i.e…
40bus does not contain a clock signal. All nodes on the bus operate at the same bit rate and synchro…
42bus. When any node detects an error, it will signal the detection by transmitting an error frame. …
44 …ansmitting the message with the lower ID value will win arbitration of the bus. All other nodes wi…
58 …re a persistently erroneous node will eventually eliminate itself form the bus. This is implemente…
60 …te in bus communications, and will actively signal the detection of any errors by automatically tr…
62 …than or equal to 128**. Error Passive nodes are still able to take part in bus communications, but…
64bus in any manner (essentially disconnected from the bus) thus eliminating itself from the bus. A …
[all …]
Dspi_master.rst16 …y. Both controllers share the same SPI bus signals, and there is an arbiter to determine which can…
20 There are quite a few limitations when using SPI Master driver on the SPI1 bus, see
25 Currently, SPI Master driver does not support SPI1 bus.
29 …are open to users. SPI2 and SPI3 have independent bus signals with the same respective names. Each…
37 …general purpose SPI controller. It has an independent signal bus with the same name. The bus has {…
47 …ipheral inside {IDF_TARGET_NAME} that initiates SPI transmissions over the bus, and acts as an SPI…
48 …evice. An SPI bus may be connected to one or more Devices. Each Device shares the MOSI, MISO and S…
49 **Bus** A signal bus, common to all Devices connected to one Host. In general, a bus inc…
53 **CS** Chip Select. Allows a Host to select individual Device(s) connected to the bus i…
75 - Automatic time-division multiplexing of data coming from different Devices on the same signal bus
[all …]
Dsdspi_host.rst7 …handle returned when attaching the device to an SPI bus by calling `sdspi_host_init_device`. The b…
15 With the help of :doc:`SPI Master driver <spi_master>` based on, the SPI bus can be shared among SD…
22 …ed value. Then call `sdspi_host_init_device` to initialize the SD SPI device and attach to its bus.
/hal_espressif-3.4.0/tools/esp_prov/transport/
Dble_cli.py60 bus = dbus.SystemBus()
61 … manager = dbus.Interface(bus.get_object('org.bluez', '/'), 'org.freedesktop.DBus.ObjectManager')
68 … self.adapter = dbus.Interface(bus.get_object('org.bluez', path), 'org.bluez.Adapter1')
69 …self.adapter_props = dbus.Interface(bus.get_object('org.bluez', path), 'org.freedesktop.DBus.Prope…
84 …self.adapter_props = dbus.Interface(bus.get_object('org.bluez', adapter_path), 'org.freedesktop.DB…
151 bus = dbus.SystemBus()
152 … manager = dbus.Interface(bus.get_object('org.bluez', '/'), 'org.freedesktop.DBus.ObjectManager')
166 self.device = bus.get_object('org.bluez', dev_path)
204 bus = dbus.SystemBus()
205 … manager = dbus.Interface(bus.get_object('org.bluez', '/'), 'org.freedesktop.DBus.ObjectManager')
[all …]
/hal_espressif-3.4.0/examples/peripherals/i2c/i2c_tools/
DREADME.md9 1. `i2cconfig`: It will configure the I2C bus with specific GPIO number, port number and frequency.
10 2. `i2cdetect`: It will scan an I2C bus for devices and output a table with the list of detected de…
11 3. `i2cget`: It will read registers visible through the I2C bus.
12 4. `i2cset`: It will set registers visible through the I2C bus.
13 5. `i2cdump`: It will examine registers visible through the I2C bus.
60 | 2. Try 'i2cconfig' to configure your I2C bus |
61 | 3. Try 'i2cdetect' to scan devices on the bus |
73 Config I2C bus
74 --port=<0|1> Set the I2C bus port number
75 --freq=<Hz> Set the frequency(Hz) of I2C bus
[all …]
/hal_espressif-3.4.0/components/esp_lcd/include/
Desp_lcd_panel_io.h115 esp_err_t esp_lcd_new_panel_io_spi(esp_lcd_spi_bus_handle_t bus, const esp_lcd_panel_io_spi_config_…
141 esp_err_t esp_lcd_new_panel_io_i2c(esp_lcd_i2c_bus_handle_t bus, const esp_lcd_panel_io_i2c_config_…
178 esp_err_t esp_lcd_del_i80_bus(esp_lcd_i80_bus_handle_t bus);
218 esp_err_t esp_lcd_new_panel_io_i80(esp_lcd_i80_bus_handle_t bus, const esp_lcd_panel_io_i80_config_…
/hal_espressif-3.4.0/components/driver/test/
Dtest_common_spi.c223 void same_pin_func_sel(spi_bus_config_t bus, spi_device_interface_config_t dev, uint8_t cs_num) in same_pin_func_sel() argument
225 spitest_gpio_output_sel(bus.mosi_io_num, FUNC_GPIO, spi_periph_signal[TEST_SPI_HOST].spid_out); in same_pin_func_sel()
226 spitest_gpio_input_sel(bus.mosi_io_num, FUNC_GPIO, spi_periph_signal[TEST_SLAVE_HOST].spid_in); in same_pin_func_sel()
228 … spitest_gpio_output_sel(bus.miso_io_num, FUNC_GPIO, spi_periph_signal[TEST_SLAVE_HOST].spiq_out); in same_pin_func_sel()
229 spitest_gpio_input_sel(bus.miso_io_num, FUNC_GPIO, spi_periph_signal[TEST_SPI_HOST].spiq_in); in same_pin_func_sel()
234 … spitest_gpio_output_sel(bus.sclk_io_num, FUNC_GPIO, spi_periph_signal[TEST_SPI_HOST].spiclk_out); in same_pin_func_sel()
235 … spitest_gpio_input_sel(bus.sclk_io_num, FUNC_GPIO, spi_periph_signal[TEST_SLAVE_HOST].spiclk_in); in same_pin_func_sel()
/hal_espressif-3.4.0/examples/peripherals/twai/twai_alert_and_recovery/
DREADME.md5bus recovery features of the TWAI driver. The alert feature allows the TWAI driver to notify the a…
58 W (4300) TWAI Alert and Recovery: Initiate bus recovery in 3
59 W (5300) TWAI Alert and Recovery: Initiate bus recovery in 2
60 W (6300) TWAI Alert and Recovery: Initiate bus recovery in 1
61 I (7300) TWAI Alert and Recovery: Initiate bus recovery
80 If the example is able to trigger errors but does not enter the bus off state (i.e., stays in the e…
88 … driver, then reconfigures the alerts to trigger when the error passive or bus off state is entere…
/hal_espressif-3.4.0/components/driver/
DKconfig105 bool "Add SW workaround for REC change during bus-off"
109 … When the bus-off condition is reached, the REC should be reset to 0 and frozen (via LOM) by the
111 …driver's ISR can respond in time (e.g., due to the rapid occurrence of bus errors), thus causing t…
112 …REC to be non-zero after bus-off. A non-zero REC can prevent bus-off recovery as the bus-off recov…
114 to forcibly reset REC to zero on reaching bus-off.
130 …On the ESP32, when receiving a data or remote frame, if a bus error occurs in the data or CRC fiel…
133 …the bus whilst the reset is ongoing, the message will not be receive by the peripheral sent on the…
143 … detection of this errata condition. Note that if a frame is being sent on the bus during the reset
144 bus during the reset, the message will be lost.
/hal_espressif-3.4.0/tools/ci/python_packages/
Dwifi_tools.py50 bus = dbus.SystemBus()
52 … service = dbus.Interface(bus.get_object('fi.w1.wpa_supplicant1', '/fi/w1/wpa_supplicant1'),
55 self.iface_obj = bus.get_object('fi.w1.wpa_supplicant1', iface_path)
/hal_espressif-3.4.0/examples/peripherals/spi_master/hd_eeprom/components/eeprom/
Dlinker.lf1 # This example supports running on the SPI1 bus, which is shared with SPI flash accessed by the
2 # cache. When doing transaction on SPI1 bus, data cannot be fetched from the flash, so all the data
/hal_espressif-3.4.0/components/spi_flash/test/
Dtest_esp_flash.c1120 #define LOG_DATA(bus, suffix, chip) IDF_LOG_PERFORMANCE("FLASH_SPEED_BYTE_PER_SEC_"#bus#suffix, "%d… in test_flash_read_write_performance() argument
1121 #define LOG_ERASE(bus, var, chip) IDF_LOG_PERFORMANCE("FLASH_SPEED_BYTE_PER_SEC_"#bus"ERASE", "%d, … in test_flash_read_write_performance() argument
1124 #define LOG_PERFORMANCE(bus, chip) do {\ in test_flash_read_write_performance() argument
1125 LOG_DATA(bus, WR_4B, chip); \ in test_flash_read_write_performance()
1126 LOG_DATA(bus, RD_4B, chip); \ in test_flash_read_write_performance()
1127 LOG_DATA(bus, WR_2KB, chip); \ in test_flash_read_write_performance()
1128 LOG_DATA(bus, RD_2KB, chip); \ in test_flash_read_write_performance()
1129 LOG_ERASE(bus, erase_1, chip); \ in test_flash_read_write_performance()
1130 LOG_ERASE(bus, erase_2, chip); \ in test_flash_read_write_performance()
/hal_espressif-3.4.0/docs/en/api-reference/protocols/
Desp_serial_slave_link.rst10 bus drivers.
34 context has the knowledge of the slave protocol above the bus, relying on some bus drivers to
44 - ESP slave: the slave device connected to the bus, which ESSL component is designed to
47 - Bus: The bus over which the master and the slave communicate with each other.
49 - Slave protocol: The special communication protocol specified by Espressif HW/SW over the bus.
/hal_espressif-3.4.0/examples/peripherals/sdio/host/main/
DKconfig.projbuild4 bool "Host use SPI bus to communicate with slave"
7 If this is set, the host tries using SPI bus to communicate with slave.
8 Otherwise, the standarad SD bus is used.
/hal_espressif-3.4.0/docs/en/api-reference/storage/
Dspi_flash.rst65 To use ``esp_flash_*`` APIs, you need to have a chip initialized on a certain SPI bus.
67 …rly initialize an SPI bus. This functions initialize the resources (I/O, DMA, interrupts) shared a…
69 2. Call :cpp:func:`spi_bus_add_flash_device` to attach the flash device onto the bus. This allocate…
73 …can be attached to the same bus now. However, using ``esp_flash_*`` devices and ``spi_device_*`` d…
107bus is shared between the instruction & data cache (for firmware execution) and the SPI1 periphera…
201 … used to resolve the conflicts among the access of devices on the same SPI bus, and the SPI Flash …
203 1. On SPI1 bus, the cache (used to fetch the data (code) in the Flash and PSRAM) should be disabled…
207 3. Some devices of SPI Master driver may requires to use the bus monopolized during a period. (espe…
Dspi_flash_concurrency.rst4bus is shared between the instruction & data cache (for firmware execution) and the SPI1 periphera…
14 …ng/erasing operations. There are some constraints using driver on the SPI1 bus, see :ref:`impact_d…
/hal_espressif-3.4.0/components/esp_rom/include/esp32s3/rom/
Dcache.h295 uint32_t Cache_Count_Flash_Pages(uint32_t bus, uint32_t *page0_mapped);
311 uint32_t Cache_Flash_To_SPIRAM_Copy(uint32_t bus, uint32_t bus_start_addr, uint32_t start_page, uin…
1171 uint32_t flash_instr_rodata_start_page(uint32_t bus);
1172 uint32_t flash_instr_rodata_end_page(uint32_t bus);
/hal_espressif-3.4.0/components/esp_rom/include/esp32h2/rom/
Dcache.h258 uint32_t Cache_Count_Flash_Pages(uint32_t bus, uint32_t * page0_mapped);
789 uint32_t flash_instr_rodata_start_page(uint32_t bus);
790 uint32_t flash_instr_rodata_end_page(uint32_t bus);
/hal_espressif-3.4.0/components/esp_rom/include/esp32c3/rom/
Dcache.h258 uint32_t Cache_Count_Flash_Pages(uint32_t bus, uint32_t * page0_mapped);
789 uint32_t flash_instr_rodata_start_page(uint32_t bus);
790 uint32_t flash_instr_rodata_end_page(uint32_t bus);

1234