This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

slaa402 finite state machine question

Hello,

i stumbled over slaa402 and wondered if I understand this kind of FSM correctly.

From my point of view, function calls are executed only during a state change (transition). So there will be no chance to execute functions while staying in a certain state except of using a timer interrupt which calls a no_event transition which therefor can execute code again.

Or do i miss something here?

Best regards.

  • As explained in section 1.2, actions indeed happen only during transitions.

    As far as the state machine is concerned, if no event happens, nothing needs to be done.

    If you actually need something to be done, you either have not modelled your problem correctly, or a state machine is not applicable to your problem and you should choose another algorithm.

**Attention** This is a public forum