Hot!driver state machine

driver state machine

HiI made two driver spi, usart and app for the two drivers with harmony. I found spi application state veriable is appData.spistateMachine. but usart application state veriable is usartBMState. usart app state veriable is not placed into appData. why ?

The states of any state machine are private (static) to that task. It is a good thing that you don't have direct access to it.If you need to know the state (but this is not the internal state, rather something like 'connecting', 'timeout' etc.), there are access functions or other ways (callback functions) to find out what is happening.