/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/ |
D | transition.c | 18 void calculate_rt(struct transition_data *transition) in calculate_rt() argument 24 if (transition->type == MOVE) { in calculate_rt() 25 transition->rt = UNKNOWN_VALUE; in calculate_rt() 29 if (transition->just_started) { in calculate_rt() 30 transition->rt = transition->tt; in calculate_rt() 33 duration_remainder = transition->total_duration - in calculate_rt() 34 (now - transition->start_timestamp); in calculate_rt() 57 transition->rt = (resolution << 6) | steps; in calculate_rt() 63 static bool set_transition_counter(struct transition_data *transition) in set_transition_counter() argument 67 resolution = (transition->tt >> 6); in set_transition_counter() [all …]
|
D | device_composition.c | 53 .transition = &onoff_transition, 82 if (ctl->transition->counter) { in gen_onoff_get() 83 calculate_rt(ctl->transition); in gen_onoff_get() 85 net_buf_simple_add_u8(msg, ctl->transition->rt); in gen_onoff_get() 108 if (ctl->transition->counter) { in gen_onoff_publish() 109 calculate_rt(ctl->transition); in gen_onoff_publish() 111 net_buf_simple_add_u8(msg, ctl->transition->rt); in gen_onoff_publish() 159 ctl->transition->counter = 0U; in gen_onoff_set_unack() 160 k_timer_stop(&ctl->transition->timer); in gen_onoff_set_unack() 166 ctl->transition->tt = tt; in gen_onoff_set_unack() [all …]
|
D | transition.h | 39 void calculate_rt(struct transition_data *transition);
|
D | device_composition.h | 90 struct transition_data *transition; member
|
/Zephyr-latest/doc/services/resource_management/ |
D | index.rst | 33 in the off state. The service may also be in a transition to a given 38 transition). The service manages the state based on calls to 45 transition from off to on, from on to off, and optionally from an 50 cancellation has no effect on the in-progress transition. 51 * Requests to turn on may be queued while a transition to off is in 63 Failures in executing a transition are recorded and inhibit further
|
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/ |
D | CMakeLists.txt | 18 src/mesh/transition.c
|
/Zephyr-latest/drivers/input/ |
D | Kconfig.npcx | 22 low-to-high transition time.
|
/Zephyr-latest/lib/smf/ |
D | Kconfig | 20 If y, then each state can have an initial transition to a sub-state
|
/Zephyr-latest/doc/services/smf/ |
D | index.rst | 75 This example creates three hierarchical states with an initial transition 92 To transition from one state to another, the :c:func:`smf_set_state` 98 child state to transition to. Transitioning to a parent state is OK 99 if an initial transition to a child state is defined. A well-formed 105 log and no transition will occur. 134 transition, unless said transition is a transition to self. 141 1. Executing the actions associated with the transition within the context 143 2. Only allowing external transitions to self, not to sub-states. A transition 144 from a superstate to a child state is treated as a local transition.
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_brg.c | 998 static void set_krp_phase(uint16_t addr, uint8_t transition) in set_krp_phase() argument 1004 ASSERT_OK(bt_mesh_cfg_cli_krp_set(0, BRIDGE_ADDR, net_idx, transition, &status, &phase)); in set_krp_phase() 1005 if (status || (phase != (transition == 0x02 ? 0x02 : 0x00))) { in set_krp_phase() 1007 transition, phase); in set_krp_phase() 1011 ASSERT_OK(bt_mesh_cfg_cli_krp_set(0, addr, net_idx, transition, &status, &phase)); in set_krp_phase() 1012 if (status || (phase != (transition == 0x02 ? 0x02 : 0x00))) { in set_krp_phase() 1014 transition, phase); in set_krp_phase()
|
/Zephyr-latest/doc/services/pm/ |
D | system.rst | 13 the appropriate power state to transition to based on the configured power management policy. 90 for deciding which power state the system should transition to. 119 to decide which power state the system should transition to based on the
|
/Zephyr-latest/subsys/pm/policy/ |
D | Kconfig | 30 that when the system transition to them, cause power loss in the device.
|
/Zephyr-latest/doc/_extensions/zephyr/domain/static/css/ |
D | board-catalog.css | 26 transition: all 0.3s ease; 105 transition: transform 0.3s ease;
|
/Zephyr-latest/dts/arm/ambiq/ |
D | ambiq_apollo3_blue.dtsi | 42 * transition time are both lower than 1us, but considering 52 /* As Apollo3blue datasheet, run_to_deepsleep transition time is 53 * the software overhead 1us and deepsleep_to_run transition time
|
D | ambiq_apollo4p.dtsi | 42 * transition time are both lower than 1us, but 54 * As Apollo4 datasheet, run_to_deepsleep transition 56 * transition time is about 25us, but considering
|
D | ambiq_apollo3p_blue.dtsi | 42 * transition time are both lower than 1us, but considering 52 /* As Apollo3blueplus datasheet, run_to_deepsleep transition time 53 * is the software overhead 1us and deepsleep_to_run transition
|
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/ |
D | main.c | 117 if (ctl->transition->counter == 0 || reset == false) { in update_light_state()
|
/Zephyr-latest/samples/subsys/smf/hsm_psicc2/ |
D | README.rst | 33 https://www.state-machine.com/psicc2 This demo was chosen as it contains all possible transition
|
/Zephyr-latest/drivers/flash/ |
D | Kconfig.nor | 89 call, eliminating the active->idle->active transition sequence if another
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | dma.rst | 46 DMA channels should be viewed as state machines that the DMA API provides transition events for in
|
D | bc12.rst | 47 The application calls ``bc12_set_role()`` to transition the BC1.2 device to
|
/Zephyr-latest/doc/_static/js/ |
D | dark-mode-toggle.min.mjs | 2 …transition:visibility 0s}aside [part=permanentLabel]:empty{display:none}@media (hover:hover){aside…
|
/Zephyr-latest/kernel/ |
D | Kconfig.vm | 31 1. It is the architecture's responsibility to transition the 39 transition simpler).
|
/Zephyr-latest/drivers/espi/ |
D | Kconfig.npcx | 43 (with low probability) cause the eSPI_SIF module to transition to
|
/Zephyr-latest/doc/releases/ |
D | index.rst | 92 users transition from the previous release.
|