PSG14a emulator V1.00
PSG14a emulator for stating GTD350 engine
|
Contains functions for controlling main outputs. More...
#include <string.h>
#include <stdint.h>
#include "gpio_exti.h"
#include "main_outputs.h"
#include "control_tables.h"
#include "clock_and_timers.h"
Enumerations | |
enum | Ret_State_t { RET_STATE_OFF = 0 , RET_STATE_ON , RET_STATE_NO_CHANGE } |
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. | |
Variables | |
Channel_Step_t | Cyclogram_Cold [] |
Contains a cyclogram for cold start mode. | |
Channel_Step_t | Cyclogram_Start [] |
Contains a cyclogram for real start mode. | |
Contains functions for controlling main outputs.
mikl7.nosp@m.4@ya.nosp@m.hoo.c.nosp@m.om
enum Ret_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().
|
extern |
|
extern |