Home
last modified time | relevance | path

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

123

/hal_espressif-2.7.6/tools/ble/
Dlib_gatt.py63 def __init__(self, bus, path): argument
66 srv_obj = AlertNotificationService(bus, '0001')
68 dbus.service.Object.__init__(self, bus, self.path)
106 def __init__(self, bus, index, uuid, primary=False): argument
108 self.bus = bus
112 dbus.service.Object.__init__(self, bus, self.path)
153 def __init__(self, bus, index, uuid, flags, service): argument
155 self.bus = bus
161 dbus.service.Object.__init__(self, bus, self.path)
227 def __init__(self, bus, index, uuid, flags, characteristic): argument
[all …]
Dlib_ble_client.py185 self.bus = None
200 self.bus = dbus.SystemBus()
201 … om_iface_obj = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, '/'), DBUS_OM_IFACE)
228 … self.adapter = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, path), ADAPTER_IFACE)
230 …self.props_iface_obj = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, path), DBUS_PROP_IFA…
321 om_iface_obj = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, '/'), DBUS_OM_IFACE)
336 …device_props_iface_obj = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, dev_path), DBUS_PR…
339 self.device = self.bus.get_object(BLUEZ_SERVICE_NAME, dev_path)
348 service = self.bus.get_object(BLUEZ_SERVICE_NAME, path)
376 … om_iface_obj = dbus.Interface(self.bus.get_object(BLUEZ_SERVICE_NAME, '/'), DBUS_OM_IFACE)
[all …]
Dlib_gap.py48 def __init__(self, bus, index, advertising_type, uuid, name): argument
50 self.bus = bus
54 dbus.service.Object.__init__(self, bus, self.path)
/hal_espressif-2.7.6/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…
71 - 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.
Dsdmmc_host.rst83 …MC_SLOT_CONFIG_DEFAULT`), SDMMC Host driver will attempt to use the widest bus supported by the ca…
85 …cation at 40 MHz frequency can be achieved, it is possible to increase the bus frequency by changi…
90 To configure the bus width, set the ``width`` field of :cpp:class:`sdmmc_slot_config_t`. For exampl…
/hal_espressif-2.7.6/tools/esp_prov/transport/
Dble_cli.py58 bus = dbus.SystemBus()
59 … manager = dbus.Interface(bus.get_object('org.bluez', '/'), 'org.freedesktop.DBus.ObjectManager')
66 … self.adapter = dbus.Interface(bus.get_object('org.bluez', path), 'org.bluez.Adapter1')
67 …self.adapter_props = dbus.Interface(bus.get_object('org.bluez', path), 'org.freedesktop.DBus.Prope…
99 bus = dbus.SystemBus()
100 … manager = dbus.Interface(bus.get_object('org.bluez', '/'), 'org.freedesktop.DBus.ObjectManager')
114 self.device = bus.get_object('org.bluez', dev_path)
135 bus = dbus.SystemBus()
136 … manager = dbus.Interface(bus.get_object('org.bluez', '/'), 'org.freedesktop.DBus.ObjectManager')
144 service = bus.get_object('org.bluez', srv_path)
[all …]
/hal_espressif-2.7.6/examples/peripherals/i2c/i2c_tools/
DREADME.md12 1. `i2cconfig`: It will configure the I2C bus with specific GPIO number, port number and frequency.
13 2. `i2cdetect`: It will scan an I2C bus for devices and output a table with the list of detected de…
14 3. `i2cget`: It will read registers visible through the I2C bus.
15 4. `i2cset`: It will set registers visible through the I2C bus.
16 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-2.7.6/components/driver/test/
Dtest_common_spi.c218 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
220 spitest_gpio_output_sel(bus.mosi_io_num, FUNC_GPIO, spi_periph_signal[TEST_SPI_HOST].spid_out); in same_pin_func_sel()
221 spitest_gpio_input_sel(bus.mosi_io_num, FUNC_GPIO, spi_periph_signal[TEST_SLAVE_HOST].spid_in); in same_pin_func_sel()
223 … spitest_gpio_output_sel(bus.miso_io_num, FUNC_GPIO, spi_periph_signal[TEST_SLAVE_HOST].spiq_out); in same_pin_func_sel()
224 spitest_gpio_input_sel(bus.miso_io_num, FUNC_GPIO, spi_periph_signal[TEST_SPI_HOST].spiq_in); in same_pin_func_sel()
229 … spitest_gpio_output_sel(bus.sclk_io_num, FUNC_GPIO, spi_periph_signal[TEST_SPI_HOST].spiclk_out); in same_pin_func_sel()
230 … 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-2.7.6/components/driver/
DKconfig91 bool "Add SW workaround for REC change during bus-off"
95 … When the bus-off condition is reached, the REC should be reset to 0 and frozen (via LOM) by the
97 …driver's ISR can respond in time (e.g., due to the rapid occurrence of bus errors), thus causing t…
98 …REC to be non-zero after bus-off. A non-zero REC can prevent bus-off recovery as the bus-off recov…
100 to forcibly reset REC to zero on reaching bus-off.
116 …On the ESP32, when receiving a data or remote frame, if a bus error occurs in the data or CRC fiel…
119 …the bus whilst the reset is ongoing, the message will not be receive by the peripheral sent on the…
129 … detection of this errata condition. Note that if a frame is being sent on the bus during the reset
130 bus during the reset, the message will be lost.
/hal_espressif-2.7.6/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-2.7.6/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-2.7.6/tools/ci/python_packages/
Dwifi_tools.py48 bus = dbus.SystemBus()
50 service = dbus.Interface(bus.get_object('fi.w1.wpa_supplicant1', '/fi/w1/wpa_supplicant1'),
53 self.iface_obj = bus.get_object('fi.w1.wpa_supplicant1', iface_path)
/hal_espressif-2.7.6/components/esp_rom/include/esp32s3/rom/
Dcache.h253 uint32_t Cache_Count_Flash_Pages(uint32_t bus, uint32_t *page0_mapped);
269 uint32_t Cache_Flash_To_SPIRAM_Copy(uint32_t bus, uint32_t bus_start_addr, uint32_t start_page, uin…
1092 uint32_t flash_instr_rodata_start_page(uint32_t bus);
1093 uint32_t flash_instr_rodata_end_page(uint32_t bus);
/hal_espressif-2.7.6/components/spi_flash/test/
Dtest_esp_flash.c1072 # define CHECK_DATA(bus, suffix) TEST_PERFORMANCE_CCOMP_GREATER_THAN(FLASH_SPEED_BYTE_PER_SEC_##bu… in test_flash_read_write_performance() argument
1073 # define CHECK_ERASE(bus, var) TEST_PERFORMANCE_CCOMP_GREATER_THAN(FLASH_SPEED_BYTE_PER_SEC_##bus#… in test_flash_read_write_performance() argument
1075 # define CHECK_DATA(bus, suffix) ((void)speed_##suffix) in test_flash_read_write_performance() argument
1076 # define CHECK_ERASE(bus, var) ((void)var) in test_flash_read_write_performance() argument
1080 #define CHECK_PERFORMANCE(bus) do {\ in test_flash_read_write_performance() argument
1081 CHECK_DATA(bus, WR_4B); \ in test_flash_read_write_performance()
1082 CHECK_DATA(bus, RD_4B); \ in test_flash_read_write_performance()
1083 CHECK_DATA(bus, WR_2KB); \ in test_flash_read_write_performance()
1084 CHECK_DATA(bus, RD_2KB); \ in test_flash_read_write_performance()
1085 CHECK_ERASE(bus, erase_1); \ in test_flash_read_write_performance()
[all …]
/hal_espressif-2.7.6/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-2.7.6/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-2.7.6/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);
/hal_espressif-2.7.6/docs/en/api-reference/storage/
Dspi_flash.rst49 To use ``esp_flash_*`` APIs, you need to have a chip initialized on a certain SPI bus.
51 …rly initialize an SPI bus. This functions initialize the resources (I/O, DMA, interrupts) shared a…
53 2. Call :cpp:func:`spi_bus_add_flash_device` to attach the flash device onto the bus. This allocate…
57 …can be attached to the same bus now. However, using ``esp_flash_*`` devices and ``spi_device_*`` d…
91bus is shared between the instruction & data cache (for firmware execution) and the SPI1 periphera…
184 … used to resolve the conflicts among the access of devices on the same SPI bus, and the SPI Flash …
186 1. On SPI1 bus, the cache (used to fetch the data (code) in the Flash and PSRAM) should be disabled…
190 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-2.7.6/components/spi_flash/
DKconfig106 bool "Support other devices attached to SPI1 bus"
108 # The bus lock on SPI1 is meaningless when the legacy implementation is used, or the SPI
112 Each SPI bus needs a lock for arbitration among devices. This allows multiple
113 devices on a same bus, but may reduce the speed of esp_flash driver access to the
117 this option, and the lock will be bypassed on SPI1 bus. Otherwise if extra devices
118 are needed to attach to SPI1 bus, enable this option.
/hal_espressif-2.7.6/examples/peripherals/spi_master/hd_eeprom/
DREADME.md5 SPI1 (bus with code Flash connected on official modules).
/hal_espressif-2.7.6/components/esp_rom/include/esp32s2/rom/
Dcache.h210 uint32_t Cache_Count_Flash_Pages(uint32_t bus, uint32_t * page0_mapped);
226 uint32_t Cache_Flash_To_SPIRAM_Copy(uint32_t bus, uint32_t bus_start_addr, uint32_t start_page, uin…

123