Home
last modified time | relevance | path

Searched +full:- +full:- +full:limit +full:- +full:file (Results 1 – 25 of 133) sorted by relevance

123456

/hal_espressif-3.6.0/components/esp_phy/esp32c3/include/
Dphy_init_data.h2 * SPDX-FileCopyrightText: 2016-2021 Espressif Systems (Shanghai) CO LTD
4 * SPDX-License-Identifier: Apache-2.0
8 #define PHY_INIT_DATA_H /* don't use #pragma once here, we compile this file sometimes */
17 #define LIMIT(val, low, high) ((val < low) ? low : (val > high) ? high : val) macro
22 #define PHY_TX_POWER_LOWEST LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 52)
41 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 0x50),
42 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 0x50),
43 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 0x50),
44 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 0x4c),
45 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 0x4c),
[all …]
/hal_espressif-3.6.0/components/esp_phy/esp32s2/include/
Dphy_init_data.h2 * SPDX-FileCopyrightText: 2016-2022 Espressif Systems (Shanghai) CO LTD
4 * SPDX-License-Identifier: Apache-2.0
8 #define PHY_INIT_DATA_H /* don't use #pragma once here, we compile this file sometimes */
17 #define LIMIT(val, low, high) ((val < low) ? low : (val > high) ? high : val) macro
22 #define PHY_TX_POWER_LOWEST LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 52)
41 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 0x4E),
42 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 0x4E),
43 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 0x48),
44 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 0x48),
45 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 0x48),
[all …]
/hal_espressif-3.6.0/components/esp_phy/esp32s3/include/
Dphy_init_data.h2 * SPDX-FileCopyrightText: 2016-2021 Espressif Systems (Shanghai) CO LTD
4 * SPDX-License-Identifier: Apache-2.0
8 #define PHY_INIT_DATA_H /* don't use #pragma once here, we compile this file sometimes */
17 #define LIMIT(val, low, high) ((val < low) ? low : (val > high) ? high : val) macro
22 #define PHY_TX_POWER_LOWEST LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 52)
41 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 0x50),
42 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 0x50),
43 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 0x50),
44 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 0x4c),
45 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 0x4c),
[all …]
/hal_espressif-3.6.0/components/esp_phy/esp32/include/
Dphy_init_data.h2 * SPDX-FileCopyrightText: 2016-2021 Espressif Systems (Shanghai) CO LTD
4 * SPDX-License-Identifier: Apache-2.0
8 #define PHY_INIT_DATA_H /* don't use #pragma once here, we compile this file sometimes */
13 #define LIMIT(val, low, high) ((val < low) ? low : (val > high) ? high : val) macro
18 #define PHY_TX_POWER_LOWEST LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 0, 52)
78 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 40, 78),
79 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 40, 72),
80 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 40, 66),
81 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 40, 60),
82 LIMIT(CONFIG_ESP32_PHY_MAX_TX_POWER * 4, 40, 56),
[all …]
/hal_espressif-3.6.0/tools/cmake/third_party/
DGetGitRevisionDescription.cmake.in2 # Internal file for GetGitRevisionDescription.cmake
7 # 2009-2010 Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net>
11 # Copyright Iowa State University 2009-2010.
13 # (See accompanying file LICENSE_1_0.txt or copy at
18 file(READ "@HEAD_FILE@" HEAD_CONTENTS LIMIT 1024)
22 # handle git-worktree
24 file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024)
37 configure_file("${GIT_DIR}/${HEAD_REF}" "@GIT_DATA@/head-ref" COPYONLY)
39 configure_file("${GIT_DIR}/logs/${HEAD_REF}" "@GIT_DATA@/head-ref" COPYONLY)
44 configure_file("${GIT_DIR}/HEAD" "@GIT_DATA@/head-ref" COPYONLY)
[all …]
/hal_espressif-3.6.0/examples/system/esp_event/default_event_loop/
DREADME.md3 (See the README.md file in the upper level 'examples' directory for more information about examples…
5 …com/projects/esp-idf/en/latest/api-reference/system/esp_event.html#using-esp-event-apis) and [exam…
7-idf/en/latest/api-reference/system/esp_event.html#default-event-loop) is an [event loop](https://…
11file, and having the definitions in a source file. Declaration of the event base makes use of the …
19 …op, this is done using the API `esp_event_post()`. The ability to pass event-specific data to the …
44 idf.py -p PORT flash monitor
49 (To exit the serial monitor, type ``Ctrl-]``.)
51 See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects.
106 - A periodic timer. An event is raised when (1) the timer is started (2) the timer period expires a…
107 - A task with a loop inside. An event is raised for the when (1) the loop iterates.
[all …]
/hal_espressif-3.6.0/components/hal/esp32/include/hal/
Dpcnt_ll.h1 // Copyright 2015-2021 Espressif Systems (Shanghai) PTE LTD
4 // you may not use this file except in compliance with the License.
7 // http://www.apache.org/licenses/LICENSE-2.0
50 #define PCNT_LL_EVENT_MASK ((1 << PCNT_LL_EVENT_MAX) - 1)
64 hw->conf_unit[unit].conf0.ch0_pos_mode = pos_act; in pcnt_ll_set_edge_action()
65 hw->conf_unit[unit].conf0.ch0_neg_mode = neg_act; in pcnt_ll_set_edge_action()
67 hw->conf_unit[unit].conf0.ch1_pos_mode = pos_act; in pcnt_ll_set_edge_action()
68 hw->conf_unit[unit].conf0.ch1_neg_mode = neg_act; in pcnt_ll_set_edge_action()
84 hw->conf_unit[unit].conf0.ch0_hctrl_mode = high_act; in pcnt_ll_set_level_action()
85 hw->conf_unit[unit].conf0.ch0_lctrl_mode = low_act; in pcnt_ll_set_level_action()
[all …]
/hal_espressif-3.6.0/components/hal/esp32s2/include/hal/
Dpcnt_ll.h1 // Copyright 2015-2021 Espressif Systems (Shanghai) PTE LTD
4 // you may not use this file except in compliance with the License.
7 // http://www.apache.org/licenses/LICENSE-2.0
21 // The LL layer for ESP32-S2 PCNT register operations
50 #define PCNT_LL_EVENT_MASK ((1 << PCNT_LL_EVENT_MAX) - 1)
64 hw->conf_unit[unit].conf0.ch0_pos_mode_un = pos_act; in pcnt_ll_set_edge_action()
65 hw->conf_unit[unit].conf0.ch0_neg_mode_un = neg_act; in pcnt_ll_set_edge_action()
67 hw->conf_unit[unit].conf0.ch1_pos_mode_un = pos_act; in pcnt_ll_set_edge_action()
68 hw->conf_unit[unit].conf0.ch1_neg_mode_un = neg_act; in pcnt_ll_set_edge_action()
84 hw->conf_unit[unit].conf0.ch0_hctrl_mode_un = high_act; in pcnt_ll_set_level_action()
[all …]
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/
Dpcnt_ll.h1 // Copyright 2015-2021 Espressif Systems (Shanghai) PTE LTD
4 // you may not use this file except in compliance with the License.
7 // http://www.apache.org/licenses/LICENSE-2.0
21 // The LL layer for ESP32-S3 PCNT register operations
46 #define PCNT_LL_EVENT_MASK ((1 << PCNT_LL_EVENT_MAX) - 1)
60 hw->conf_unit[unit].conf0.ch0_pos_mode_un = pos_act; in pcnt_ll_set_edge_action()
61 hw->conf_unit[unit].conf0.ch0_neg_mode_un = neg_act; in pcnt_ll_set_edge_action()
63 hw->conf_unit[unit].conf0.ch1_pos_mode_un = pos_act; in pcnt_ll_set_edge_action()
64 hw->conf_unit[unit].conf0.ch1_neg_mode_un = neg_act; in pcnt_ll_set_edge_action()
80 hw->conf_unit[unit].conf0.ch0_hctrl_mode_un = high_act; in pcnt_ll_set_level_action()
[all …]
/hal_espressif-3.6.0/tools/unit-test-app/components/test_utils/include/
Dtest_utils.h1 // Copyright 2015-2018 Espressif Systems (Shanghai) PTE LTD
4 // you may not use this file except in compliance with the License.
7 // http://www.apache.org/licenses/LICENSE-2.0
16 // Utilities for esp-idf unit tests
25 /* include performance pass standards header file */
34 /* These macros should only be used with ESP-IDF.
279 * Limit the largest free block of memory with a particular capability set to
280 * 'limit' bytes (meaning an allocation of 'limit' should succeed at least once,
287 * @param limit The size to limit largest free block to
290 test_utils_exhaust_memory_rec test_utils_exhaust_memory(uint32_t caps, size_t limit);
/hal_espressif-3.6.0/components/spi_flash/sim/
DSpiFlash.cpp1 // Copyright 2015-2017 Espressif Systems (Shanghai) PTE LTD
4 // you may not use this file except in compliance with the License.
7 // http://www.apache.org/licenses/LICENSE-2.0
44 // De-initialize first in init()
48 this->chip_size = chip_size; in init()
49 this->block_size = block_size; in init()
50 this->sector_size = sector_size; in init()
51 this->page_size = page_size; in init()
53 this->blocks = DIV_AND_CEIL(this->chip_size, this->block_size); in init()
54 this->sectors = DIV_AND_CEIL(this->chip_size, this->sector_size); in init()
[all …]
DSpiFlash.h1 // Copyright 2015-2017 Espressif Systems (Shanghai) PTE LTD
4 // you may not use this file except in compliance with the License.
7 // http://www.apache.org/licenses/LICENSE-2.0
51 void set_erase_cycles_limit(uint32_t limit);
52 void set_total_erase_cycles_limit(uint32_t limit);
/hal_espressif-3.6.0/tools/kconfig/
Dkconfig-language.txt2 ------------
7 +- Code maturity level options
8 | +- Prompt for development and/or incomplete code/drivers
9 +- General setup
10 | +- Networking support
11 | +- System V IPC
12 | +- BSD Process Accounting
13 | +- Sysctl support
14 +- Loadable module support
15 | +- Enable loadable module support
[all …]
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/
Dpcnt.rst8 ------------
10 …ng and/or falling edges of an input signal. Each pulse counter unit has a 16-bit signed counter re…
14 ----------------------
18 * :ref:`pcnt-api-configuration` - describes counter's configuration parameters and how to setup the…
19 * :ref:`pcnt-api-operating-the-counter` - provides information on control functions to pause, measu…
20 * :ref:`pcnt-api-filtering-pulses` - describes options to filtering pulses and the counter control …
21 * :ref:`pcnt-api-using-interrupts` - presents how to trigger interrupts on specific states of the c…
24 .. _pcnt-api-configuration:
27 -------------
36 … Two limit values (minimum / maximum) that are used to establish watchpoints and trigger interrupt…
[all …]
/hal_espressif-3.6.0/tools/unit-test-app/components/test_utils/
Dtest_utils.c1 // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD
4 // you may not use this file except in compliance with the License.
7 // http://www.apache.org/licenses/LICENSE-2.0
43 // (First time each socket is allocated some one-time allocations happen.) in test_case_uses_tcpip()
70 uint8_t buffer_len = buf_len - 1; in wait_user_control()
74 buffer_len = sizeof(sign) - 1; in wait_user_control()
113 if (stop - start == 2 && (*stop == ':' || (*stop == 0 && loop == 5))) { in unity_util_convert_mac_from_string()
156 test_utils_exhaust_memory_rec test_utils_exhaust_memory(uint32_t caps, size_t limit) in test_utils_exhaust_memory() argument
164 if (free_caps <= limit) { in test_utils_exhaust_memory()
167 rec->entries[idx] = heap_caps_malloc(free_caps - limit, caps); in test_utils_exhaust_memory()
[all …]
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/aligenie_demo/components/vendor_model/
Dgenie_util.c1 // Copyright (C) 2018-2020 Alibaba Group Holding Limited
2 // Adaptations to ESP-IDF Copyright (c) 2020 Espressif Systems (Shanghai) Co. Ltd.
5 // you may not use this file except in compliance with the License.
8 // http://www.apache.org/licenses/LICENSE-2.0
45 timer->handler = handle; in util_timer_init()
46 timer->args = args; in util_timer_init()
47 timer->timeout = 0; in util_timer_init()
49 ret = esp_timer_create(&create_args, &timer->timer); in util_timer_init()
70 timer->timeout = timeout; in util_timer_start()
71 timer->start_ms = (uint32_t)esp_timer_get_time(); in util_timer_start()
[all …]
/hal_espressif-3.6.0/components/spi_flash/include/
Dmemspi_host_driver.h1 // Copyright 2015-2019 Espressif Systems (Shanghai) PTE LTD
4 // you may not use this file except in compliance with the License.
7 // http://www.apache.org/licenses/LICENSE-2.0
61 * Rest part of this file are part of the HAL layer
76 * - ESP_OK: if success
77 * - ESP_ERR_FLASH_NO_RESPONSE: if no response from chip
78 * - or other cases from ``spi_hal_common_command``
90 * - ESP_OK: if success
91 * - or other cases from ``spi_hal_common_command``
143 * @param wp Enable or disable write protect (true - enable, false - disable).
[all …]
/hal_espressif-3.6.0/components/esp_system/include/
Desp_debug_helpers.h1 // Copyright 2015-2019 Espressif Systems (Shanghai) PTE LTD
4 // you may not use this file except in compliance with the License.
7 // http://www.apache.org/licenses/LICENSE-2.0
25 #include "soc/soc.h" // [refactor-todo] IDF-2297
57 * Given the following function call flow (B -> A -> X -> esp_backtrace_get_start),
59 * - Flush CPU registers and window frames onto the current stack
60 * - Return PC and SP of function A (i.e. start of the stack's backtrace)
61 * - Return PC of function B (i.e. next_pc)
74 * Given a stack frame(i), this function will obtain the next stack frame(i-1)
80 * - Frame structure updated with SP and PC of frame(i-1). next_pc now points to frame(i-2).
[all …]
/hal_espressif-3.6.0/examples/peripherals/twai/twai_alert_and_recovery/
DREADME.md3 (See the README.md file in the upper level 'examples' directory for more information about examples…
5 …very feature is used to recover the TWAI driver after it has entered the Bus-Off state. See the TW…
11 This example requires only a single target (e.g., an ESP32 or ESP32-S2). The target must be connect…
21 idf.py set-target {IDF_TARGET}
27 * On the ESP32-S2, `TX GPIO Number` and `RX GPIO Number` default to `20` and `21` respectively
28 * On the ESP32-S3, `TX GPIO Number` and `RX GPIO Number` default to `4` and `5` respectively
29 * On the ESP32-C3, `TX GPIO Number` and `RX GPIO Number` default to `2` and `3` respectively
36 idf.py -p PORT flash monitor
41 (To exit the serial monitor, type ``Ctrl-]``.)
43 See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects.
[all …]
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/aligenie_demo/components/vendor_model/include/
Dgenie_util.h1 // Copyright (C) 2018-2020 Alibaba Group Holding Limited
2 // Adaptations to ESP-IDF Copyright (c) 2020 Espressif Systems (Shanghai) Co. Ltd.
5 // you may not use this file except in compliance with the License.
8 // http://www.apache.org/licenses/LICENSE-2.0
28 …* * * will be round in this scope - [GENIE_MODEL_MSG_DFT_RETRY_TIMES, GENIE_MODEL_MSG_MAX_RETRY_TI…
112 * @param limit Maximum permitted semaphore count.
116 int util_semaphore_init(util_semaphore_t *sem, uint32_t initial_count, uint32_t limit);
132 * non-zero means failure, while the nano_sem_take family returns 1 for success
136 * @retval -EBUSY Returned without waiting.
137 * @retval -EAGAIN Waiting period timed out.
/hal_espressif-3.6.0/components/soc/esp32s2/include/soc/
Dpcnt_reg.h4 * you may not use this file except in compliance with the License.
7 * http://www.apache.org/licenses/LICENSE-2.0
103 * 0: No modification;1: Invert behavior (increase -> decrease, decrease ->
114 * 0: No modification;1: Invert behavior (increase -> decrease, decrease ->
145 * 0: No modification;1: Invert behavior (increase -> decrease, decrease ->
156 * 0: No modification;1: Invert behavior (increase -> decrease, decrease ->
281 * 0: No modification;1: Invert behavior (increase -> decrease, decrease ->
292 * 0: No modification;1: Invert behavior (increase -> decrease, decrease ->
323 * 0: No modification;1: Invert behavior (increase -> decrease, decrease ->
334 * 0: No modification;1: Invert behavior (increase -> decrease, decrease ->
[all …]
/hal_espressif-3.6.0/components/soc/esp32s3/include/soc/
Dpcnt_reg.h4 * you may not use this file except in compliance with the License.
7 * http://www.apache.org/licenses/LICENSE-2.0
103 * 0: No modification;1: Invert behavior (increase -> decrease, decrease ->
114 * 0: No modification;1: Invert behavior (increase -> decrease, decrease ->
145 * 0: No modification;1: Invert behavior (increase -> decrease, decrease ->
156 * 0: No modification;1: Invert behavior (increase -> decrease, decrease ->
281 * 0: No modification;1: Invert behavior (increase -> decrease, decrease ->
292 * 0: No modification;1: Invert behavior (increase -> decrease, decrease ->
323 * 0: No modification;1: Invert behavior (increase -> decrease, decrease ->
334 * 0: No modification;1: Invert behavior (increase -> decrease, decrease ->
[all …]
/hal_espressif-3.6.0/components/hal/
Dspi_hal.c1 // Copyright 2015-2019 Espressif Systems (Shanghai) PTE LTD
4 // you may not use this file except in compliance with the License.
7 // http://www.apache.org/licenses/LICENSE-2.0
43 spi_dma_ll_rx_enable_burst_data(hal->dma_in, hal->rx_dma_chan, 1); in s_spi_hal_dma_init_config()
44 spi_dma_ll_tx_enable_burst_data(hal->dma_out, hal->tx_dma_chan, 1); in s_spi_hal_dma_init_config()
45 spi_dma_ll_rx_enable_burst_desc(hal->dma_in, hal->rx_dma_chan, 1); in s_spi_hal_dma_init_config()
46 spi_dma_ll_tx_enable_burst_desc(hal->dma_out, hal->tx_dma_chan ,1); in s_spi_hal_dma_init_config()
53 hal->hw = hw; in spi_hal_init()
54 hal->dma_in = config->dma_in; in spi_hal_init()
55 hal->dma_out = config->dma_out; in spi_hal_init()
[all …]
/hal_espressif-3.6.0/tools/kconfig_new/
Dconfserver.py3 # Long-running server process uses stdin & stdout to communicate JSON
24 …parser = argparse.ArgumentParser(description='confserver.py v%s - Config Generation Tool' % __vers…
26 parser.add_argument('--config',
30 parser.add_argument('--kconfig',
31 help='KConfig file with config item definitions',
34 parser.add_argument('--sdkconfig-rename',
35 help='File with deprecated Kconfig options',
38 parser.add_argument('--env', action='append', default=[],
39 … help='Environment to set when evaluating the config file', metavar='NAME=VAL')
41 parser.add_argument('--env-file', type=argparse.FileType('r'),
[all …]
/hal_espressif-3.6.0/docs/en/api-guides/jtag-debugging/
Dusing-debugger.rst2 --------------
7 * from :ref:`jtag-debugging-using-debugger-eclipse`
8 * from :ref:`jtag-debugging-using-debugger-command-line`
9 * using :ref:`jtag-debugging-with-idf-py`
12 .. _jtag-debugging-using-debugger-eclipse:
19 …eck if debugger works using :ref:`jtag-debugging-with-idf-py` or from :ref:`jtag-debugging-using-d…
25 …<../../get-started/eclipse-setup>`. The source of :example:`get-started/blink` application is ava…
33file. If "blink.elf" is not there, then likely this project has not been build yet. See :doc:`Buil…
37 A sample window with settings entered in points 1 - 5 is shown below.
39 .. figure:: ../../../_static/hw-debugging-main-tab.jpg
[all …]

123456