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.

TMS320F28069M: 控制器状态具体怎么理解

Part Number: TMS320F28069M


在proj_lab02c工程中的ctrl_states.h文件中有个枚举类型CTRL_State_e,这里面几个状态分别代表什么意思?

  • 你好,你是指这个结构体吗:

    typedef enum {
    CTRL_State_Error=0, //!< the controller error state
    CTRL_State_Idle, //!< the controller idle state
    CTRL_State_OffLine, //!< the controller offline state
    CTRL_State_OnLine, //!< the controller online state
    CTRL_numStates //!< the number of controller states
    } CTRL_State_e;

    是不太理解后面的注释表达的意思?