/Zephyr-latest/include/zephyr/drivers/interrupt_controller/ |
D | gpio_intc_stm32.h | 22 * @brief Opaque type representing a GPIO interrupt line 27 * @brief Get the GPIO interrupt line value corresponding 33 * @brief Enable GPIO interrupts for specified line 35 * @param line GPIO interrupt line 37 void stm32_gpio_intc_enable_line(stm32_gpio_irq_line_t line); 40 * @brief Disable GPIO interrupts for specified line 42 * @param line GPIO interrupt line 44 void stm32_gpio_intc_disable_line(stm32_gpio_irq_line_t line); 65 * @brief Select trigger for interrupt on specified GPIO line 67 * @param line GPIO interrupt line [all …]
|
D | gd32_exti.h | 32 typedef void (*gd32_exti_cb_t)(uint8_t line, void *user); 35 * @brief Enable EXTI interrupt for the given line. 37 * @param line EXTI line. 39 void gd32_exti_enable(uint8_t line); 42 * @brief Disable EXTI interrupt for the given line. 44 * @param line EXTI line. 46 void gd32_exti_disable(uint8_t line); 49 * @brief Configure EXTI interrupt trigger mode for the given line. 51 * @param line EXTI line. 54 void gd32_exti_trigger(uint8_t line, uint8_t trigger); [all …]
|
/Zephyr-latest/tests/bluetooth/controller/common/include/ |
D | helper_pdu.h | 67 void helper_pdu_verify_ping_req(const char *file, uint32_t line, struct pdu_data *pdu, void *param); 68 void helper_pdu_verify_ping_rsp(const char *file, uint32_t line, struct pdu_data *pdu, void *param); 70 void helper_pdu_verify_feature_req(const char *file, uint32_t line, struct pdu_data *pdu, 72 void helper_pdu_verify_peripheral_feature_req(const char *file, uint32_t line, struct pdu_data *pdu, 74 void helper_pdu_verify_feature_rsp(const char *file, uint32_t line, struct pdu_data *pdu, 77 void helper_pdu_verify_min_used_chans_ind(const char *file, uint32_t line, struct pdu_data *pdu, 80 void helper_pdu_verify_version_ind(const char *file, uint32_t line, struct pdu_data *pdu, 83 void helper_pdu_verify_enc_req(const char *file, uint32_t line, struct pdu_data *pdu, void *param); 85 void helper_pdu_ntf_verify_enc_req(const char *file, uint32_t line, struct pdu_data *pdu, 88 void helper_pdu_verify_enc_rsp(const char *file, uint32_t line, struct pdu_data *pdu, void *param); [all …]
|
/Zephyr-latest/samples/sensor/sensor_shell/pytest/ |
D | test_sensor_shell.py | 15 assert any(['device name: sensor@0' in line for line in lines]), 'expected response not found' 16 assert any(['device name: sensor@1' in line for line in lines]), 'expected response not found' 25 … assert any(['channel type=31(voltage)' in line for line in lines]), 'expected response not found' 28 …assert any(['channel type=53(gauge_state_of_health)' in line for line in lines]), 'expected respon… 33 …assert any(['channel type=59(gauge_desired_charging_current)' in line for line in lines]), 'expect… 42 …assert any(['sensor@0(channel=co2, attr=sampling_frequency)' in line for line in lines]), 'expecte… 45 …assert any(['sensor@1(channel=gauge_state_of_health, attr=slope_th)' in line for line in lines]), … 55 assert any([expected_line in line for line in lines]), 'expected response not found' 59 assert any([expected_line in line for line in lines]), 'expected response not found' 69 assert any([expected_line in line for line in lines]), 'expected response not found' [all …]
|
/Zephyr-latest/drivers/interrupt_controller/ |
D | intc_gpio_stm32wb0.c | 53 /* LL define for first line on GPIO port 58 * array that corresponds to this GPIO line 75 stm32_gpio_irq_line_t line = (1U << pin); in portpin_to_ll_exti_line() local 78 line <<= SYSCFG_IO_DTR_PB0_DT_Pos; in portpin_to_ll_exti_line() 80 line <<= SYSCFG_IO_DTR_PA0_DT_Pos; in portpin_to_ll_exti_line() 85 return line; in portpin_to_ll_exti_line() 95 static inline uint32_t ll_exti_line_to_portpin(stm32_gpio_irq_line_t line) in ll_exti_line_to_portpin() argument 97 return LOG2(line); in ll_exti_line_to_portpin() 101 * @brief Retrieves the user callback block for a given line 103 static struct gpio_irq_cb_wrp *irq_cb_wrp_for_line(stm32_gpio_irq_line_t line) in irq_cb_wrp_for_line() argument [all …]
|
D | intc_exti_stm32.c | 30 /** @brief EXTI lines range mapped to a single interrupt line */ 50 /* per-line callbacks */ 66 /* Gives the LL_SBS_EXTI_LINEn corresponding to the line number */ in stm32_exti_linenum_to_src_cfg_line() 74 * @brief Checks interrupt pending bit for specified EXTI line 76 * @param line EXTI line number 78 static inline int stm32_exti_is_pending(stm32_gpio_irq_line_t line) in stm32_exti_is_pending() argument 81 return (LL_EXTI_IsActiveRisingFlag_0_31(line) || in stm32_exti_is_pending() 82 LL_EXTI_IsActiveFallingFlag_0_31(line)); in stm32_exti_is_pending() 84 return LL_C2_EXTI_IsActiveFlag_0_31(line); in stm32_exti_is_pending() 86 return LL_EXTI_IsActiveFlag_0_31(line); in stm32_exti_is_pending() [all …]
|
D | intc_gd32_exti.c | 19 /** Unsupported line indicator */ 25 /** @brief EXTI line ranges hold by a single ISR */ 33 /** @brief EXTI line interrupt callback. */ 57 /** @brief Obtain line IRQ number if enabled. */ 58 #define EXTI_LINE_IRQ_COND(enabled, line) \ argument 59 COND_CODE_1(enabled, (DT_INST_IRQ_BY_NAME(0, line, irq)), (EXTI_NOTSUP)) 106 void gd32_exti_enable(uint8_t line) in gd32_exti_enable() argument 108 __ASSERT_NO_MSG(line < NUM_EXTI_LINES); in gd32_exti_enable() 109 __ASSERT_NO_MSG(line2irq[line] != EXTI_NOTSUP); in gd32_exti_enable() 111 EXTI_INTEN |= BIT(line); in gd32_exti_enable() [all …]
|
/Zephyr-latest/scripts/gitlint/ |
D | zephyr_commit_rules.py | 22 name = "body-min-line-count" 28 … options_spec = [IntOption('min-line-count', 1, "Minimum body line count excluding Signed-off-by")] 33 min_line_count = self.options['min-line-count'].value 35 … message = "Commit message body is empty, should at least have {} line(s).".format(min_line_count) 40 name = "body-max-line-count" 46 options_spec = [IntOption('max-line-count', 200, "Maximum body line count")] 50 max_line_count = self.options['max-line-count'].value 56 """ This rule will enforce that each commit contains a "Signed-off-by" line. 57 …We keep things simple here and just check whether the commit body contains a line that starts with… 69 for line in commit.message.body: [all …]
|
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/renode/ |
D | litex-vexriscv-tflite.robot | 14 Wait For Line On Uart RING: 24 Wait For Line On Uart ${SPACE*10}* 25 Wait For Line On Uart ${SPACE*7}*${SPACE*5}* 26 Wait For Line On Uart ${SPACE*5}*${SPACE*9}* 27 Wait For Line On Uart ${SPACE*4}*${SPACE*11}* 28 Wait For Line On Uart ${SPACE*5}*${SPACE*9}* 29 Wait For Line On Uart ${SPACE*7}*${SPACE*5}* 30 Wait For Line On Uart ${SPACE*10}* 33 Wait For Line On Uart SLOPE: 44 Wait For Line On Uart ${SPACE*8}* [all …]
|
/Zephyr-latest/tests/bluetooth/controller/common/src/ |
D | helper_pdu.c | 47 zassert_mem_equal(_s._f, _p->_f, sizeof(_p->_f), _t "\nCalled at %s:%d\n", file, line); 534 void helper_pdu_verify_version_ind(const char *file, uint32_t line, struct pdu_data *pdu, in helper_pdu_verify_version_ind() argument 540 line); in helper_pdu_verify_version_ind() 542 "Not a LL_VERSION_IND.\nCalled at %s:%d\n", file, line); in helper_pdu_verify_version_ind() 544 "Wrong version number.\nCalled at %s:%d\n", file, line); in helper_pdu_verify_version_ind() 546 "Wrong company id.\nCalled at %s:%d\n", file, line); in helper_pdu_verify_version_ind() 548 "Wrong sub version number.\nCalled at %s:%d\n", file, line); in helper_pdu_verify_version_ind() 551 void helper_pdu_verify_ping_req(const char *file, uint32_t line, struct pdu_data *pdu, void *param) in helper_pdu_verify_ping_req() argument 554 line); in helper_pdu_verify_ping_req() 556 "Not a LL_PING_REQ. Called at %s:%d\n", file, line); in helper_pdu_verify_ping_req() [all …]
|
/Zephyr-latest/tests/subsys/shell/shell_history/src/ |
D | shell_history_test.c | 28 * Function tests getting line from history and compares it against expected 54 /* Test put line to history and get it. 58 * - put line to the history. 59 * - read line and verify that it is the one that was put. 78 /* Test verifies that after purging there is no line in the history. */ 100 * - get in up direction a line and verify that it's the last one added (3). 101 * - get next line in up direction and verify that it's line 2. 102 * - get next line in up direction and verify that it's line 1. 103 * - get next line in down direction and verify that it's line 2. 104 * - get next line in up direction and verify that it's line 1. [all …]
|
/Zephyr-latest/dts/bindings/spi/ |
D | nordic,nrf-spi-common.yaml | 31 Configurable, defaults to 0xff (line high), the most common value used 44 Optional bi-directional line that allows SPI master to indicate to SPI 45 slave (by setting the line high) that a transfer is to occur, so that 50 - initially, SPI slave configures its WAKE line pin as an input and SPI 51 master keeps the line in the low state 53 line pin as an input with pull-up; this changes the line state to 55 - when SPI slave detects the high state of the WAKE line, it prepares 57 line low by configuring its pin as an output 58 - the generated high-to-low transition on the WAKE line is a signal 60 - SPI slave releases the line by configuring its pin back to be an input [all …]
|
/Zephyr-latest/dts/bindings/interrupt-controller/ |
D | st,stm32-exti.yaml | 22 line-ranges: 26 Description of the input lines range for each interrupt line supported 27 by the external interrupt controller. For each line a couple of integers is 28 provided: the number of the first line of the range start and the length 31 line-ranges = <0 1>, <1 1>, <2 1>, <3 1>, 35 6th line starts with input line 5 and contains 5 elements (5 to 9) 36 7th line starts with inupt line 10 and contains 6 elements (10 to 15)
|
/Zephyr-latest/scripts/build/ |
D | process_gperf.py | 80 def process_line(line, fp): argument 81 if line.startswith("#"): 82 fp.write(line) 87 if re.search(args.pattern + " [*]$", line): 88 fp.write("static inline " + line) 91 m = re.search("gperf version (.*) [*][/]$", line) 102 line = re.sub(r'lengthtable\[key\]', r'sizeof(void *)', line) 105 line = re.sub(r'[{]["]["][}]', r'{}', line) 108 line = re.sub(r'static unsigned char lengthtable', 109 r'static unsigned char __unused lengthtable', line) [all …]
|
/Zephyr-latest/boards/nordic/nrf9160dk/dts/bindings/ |
D | nordic,nrf9160dk-nrf52840-interface.yaml | 14 | P0.17 | -- nRF interface line 0 -- | P0.17 | 15 | P0.18 | -- nRF interface line 1 -- | P0.20 | 16 | P0.19 | -- nRF interface line 2 -- | P0.15 | 17 | P0.21 | -- nRF interface line 3 -- | P0.22 | 18 | P0.22 | -- nRF interface line 4 -- | P1.04 | 19 | P0.23 | -- nRF interface line 5 -- | P1.02 | 20 | COEX0 | -- nRF interface line 6 -- | P1.13 | 21 | COEX1 | -- nRF interface line 7 -- | P1.11 | 22 | COEX2 | -- nRF interface line 8 -- | P1.15 | 23 | P0.24 | -- nRF interface line 9 -- | P0.18 (nRESET) | (in v0.14.0 or later) [all …]
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/resources/ |
D | shell_simulator.py | 19 for line in sys.stdin: 20 line = line.strip() 21 print(line, flush=True) 22 if line == 'quit': 24 elif line == 'zen':
|
/Zephyr-latest/include/zephyr/arch/xtensa/ |
D | cache.h | 34 size_t line; in arch_dcache_flush_range() local 36 for (line = first; bytes && line < last; line += step) { in arch_dcache_flush_range() 37 __asm__ volatile("dhwb %0, 0" :: "r"(line)); in arch_dcache_flush_range() 50 size_t line; in arch_dcache_flush_and_invd_range() local 52 for (line = first; bytes && line < last; line += step) { in arch_dcache_flush_and_invd_range() 53 __asm__ volatile("dhwbi %0, 0" :: "r"(line)); in arch_dcache_flush_and_invd_range() 66 size_t line; in arch_dcache_invd_range() local 68 for (line = first; bytes && line < last; line += step) { in arch_dcache_invd_range() 69 __asm__ volatile("dhi %0, 0" :: "r"(line)); in arch_dcache_invd_range() 80 size_t line; in arch_dcache_invd_all() local [all …]
|
/Zephyr-latest/tests/drivers/console/line_splitting/ |
D | line_splitting.robot | 10 Wait For Next Line On Uart 11 Write Line To Uart \rabc\nd\n waitForEcho=false 12 Wait For Line On Uart getline: abc; 13 Write Line To Uart \rabc\nd\n waitForEcho=false 14 Wait For Line On Uart ^abc$ treatAsRegex=true
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/ |
D | utils.py | 20 for line in lines: 21 if m := re_key.match(line): 22 logger.debug('Found matching key: %s' % line.strip()) 31 assert any(sl in line for line in output_lines) 37 assert all(sl not in line for line in output_lines)
|
/Zephyr-latest/samples/subsys/console/getline/ |
D | README.rst | 4 Use console_getline() to read an input line from the console. 12 line or blocks waiting for one. Using this function, it should be fairly 14 console input line by line. The sample also allows to see details of how 15 a line is returned by the function. 39 Now start pressing keys on a keyboard, followed by Enter. The input line 41 line does not include any special "end of line" characters (like LF, CR,
|
/Zephyr-latest/scripts/utils/ |
D | pinctrl_nrf_migrate.py | 19 This script uses a basic line based parser, therefore not all valid 191 for i, line in enumerate(content[::-1]): 192 if re.match(r"\s*};.*", line): 202 for line in content[:last_line]: 203 out.write(line) 236 for line in content[last_line:]: 237 out.write(line) 252 for line in content: 253 m = re.match(r'^#include\s+(?:"|<).*nrf.*(?:>|").*', line) 344 for i, line in enumerate(content): [all …]
|
D | migrate_sys_init.py | 31 for line in lines: 32 m = re.match(r"^SYS_INIT\(([A-Za-z0-9_]+),.*", line) 37 m = re.match(r"^SYS_INIT_NAMED\([A-Za-z0-9_]+,\s?([A-Za-z0-9_]+).*", line) 49 for line in lines: 54 line, 61 m = re.match(r"^\s?ARG_UNUSED\(" + arg + r"\);.*$", line) 66 content += line 68 m = re.match(r"^\s?\n$", line) 70 content += line 73 content += line
|
/Zephyr-latest/include/zephyr/drivers/ |
D | cache.h | 82 * @note the cache operations act on cache line. When multiple data structures 83 * share the same cache line being flushed, all the portions of the 84 * data structures sharing the same line will be flushed. This is usually 103 * @note the cache operations act on cache line. When multiple data structures 104 * share the same cache line being invalidated, all the portions of the 105 * non-read-only data structures sharing the same line will be 108 * line and/or @p size is not a multiple of the cache line size the 125 * @note the cache operations act on cache line. When multiple data structures 126 * share the same cache line being flushed, all the portions of the 127 * data structures sharing the same line will be flushed before being [all …]
|
/Zephyr-latest/tests/arch/arm/arm_irq_advanced_features/src/ |
D | arm_zero_latency_irqs.c | 30 /* Determine an NVIC IRQ line that is not currently in use. */ in ZTEST() 43 * returning false, here, implies that the IRQ line is in ZTEST() 48 /* Set the NVIC line to pending. */ in ZTEST() 53 * If the NVIC line is pending, it is in ZTEST() 55 * line. in ZTEST() 61 * If the NVIC line can be successfully in ZTEST() 64 * triggering. Return the NVIC line in ZTEST() 74 "No available IRQ line to configure as zero-latency\n"); in ZTEST() 76 TC_PRINT("Available IRQ line: %u\n", i); in ZTEST() 78 /* Configure the available IRQ line as zero-latency. */ in ZTEST()
|
/Zephyr-latest/soc/st/stm32/stm32f1x/ |
D | Kconfig.soc | 1 # ST Microelectronics STM32F1 MCU line 56 * Low density Value line devices 57 * Medium density Value line devices 58 * High density Value line devices 59 * XL-density devices Value line devices 64 Connectivity line devices are STM32F105xx and STM32F107xx
|