Typedef and Struct
Microcontroller State machine with enum tutorial
From here you can search these documents. Enter your search terms below.