|
Enumerated TypesEnumerated Types
/* type definition */typedef enum {IDLE, READY, BUSY} controller_state;This declares that the type “controller_state” isan enumerated type/* type declaration for a register variable */controller_state reg state;This says that state is a register variable of type“controller_state”
|