PSG14a emulator V1.00
PSG14a emulator for stating GTD350 engine
|
Contains functions prototypes for controlling main outputs. More...
#include <stdint.h>
Go to the source code of this file.
Enumerations | |
enum | State_t { STATE_IDLE = 0 , STATE_START , STATE_COLD , STATE_TOTAL } |
Functions | |
State_t | Get_State (void) |
void | Set_State (const State_t NewState) |
uint8_t | Control_Outs (const uint8_t FirstTime) |
Controls outputs for the current time. | |
Contains functions prototypes for controlling main outputs.
mikl7.nosp@m.4@ya.nosp@m.hoo.c.nosp@m.om
enum State_t |
uint8_t Control_Outs | ( | const uint8_t | FirstTime | ) |
Controls outputs for the current time.
FirstTime | This is first run of the function if nonzero |
References CH_TOTAL, Cyclogram_Cold, Cyclogram_Start, Get_State(), Gpio_Reset_Pin(), Gpio_Set_Pin(), ReadTimer(), ResetTimer(), STATE_COLD, and STATE_START.
Referenced by mainCycleRun().
State_t Get_State | ( | void | ) |
Returns the current device state
Referenced by Blink_Led(), Control_Outs(), and main().
void Set_State | ( | const State_t | NewState | ) |
Sets the current device state
NewState | New device state |
References STATE_IDLE, and STATE_TOTAL.
Referenced by mainCycleRun().