Home
last modified time | relevance | path

Searched refs:transition (Results 1 – 25 of 55) sorted by relevance

123

/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/
Dtransition.c18 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 …]
Ddevice_composition.c53 .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 …]
Dtransition.h39 void calculate_rt(struct transition_data *transition);
Ddevice_composition.h90 struct transition_data *transition; member
/Zephyr-latest/doc/services/resource_management/
Dindex.rst33 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/
DCMakeLists.txt18 src/mesh/transition.c
/Zephyr-latest/drivers/input/
DKconfig.npcx22 low-to-high transition time.
/Zephyr-latest/lib/smf/
DKconfig20 If y, then each state can have an initial transition to a sub-state
/Zephyr-latest/doc/services/smf/
Dindex.rst75 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/
Dtest_brg.c998 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/
Dsystem.rst13 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/
DKconfig30 that when the system transition to them, cause power loss in the device.
/Zephyr-latest/doc/_extensions/zephyr/domain/static/css/
Dboard-catalog.css26 transition: all 0.3s ease;
105 transition: transform 0.3s ease;
/Zephyr-latest/dts/arm/ambiq/
Dambiq_apollo3_blue.dtsi42 * 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
Dambiq_apollo4p.dtsi42 * transition time are both lower than 1us, but
54 * As Apollo4 datasheet, run_to_deepsleep transition
56 * transition time is about 25us, but considering
Dambiq_apollo3p_blue.dtsi42 * 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/
Dmain.c117 if (ctl->transition->counter == 0 || reset == false) { in update_light_state()
/Zephyr-latest/samples/subsys/smf/hsm_psicc2/
DREADME.rst33 https://www.state-machine.com/psicc2 This demo was chosen as it contains all possible transition
/Zephyr-latest/drivers/flash/
DKconfig.nor89 call, eliminating the active->idle->active transition sequence if another
/Zephyr-latest/doc/hardware/peripherals/
Ddma.rst46 DMA channels should be viewed as state machines that the DMA API provides transition events for in
Dbc12.rst47 The application calls ``bc12_set_role()`` to transition the BC1.2 device to
/Zephyr-latest/doc/_static/js/
Ddark-mode-toggle.min.mjs2transition:visibility 0s}aside [part=permanentLabel]:empty{display:none}@media (hover:hover){aside…
/Zephyr-latest/kernel/
DKconfig.vm31 1. It is the architecture's responsibility to transition the
39 transition simpler).
/Zephyr-latest/drivers/espi/
DKconfig.npcx43 (with low probability) cause the eSPI_SIF module to transition to
/Zephyr-latest/doc/releases/
Dindex.rst92 users transition from the previous release.

123