PSG14a emulator V1.00
PSG14a emulator for stating GTD350 engine
|
Contains led blinking functions. More...
#include <led_control.h>
#include <stdint.h>
#include "clock_and_timers.h"
#include "led.h"
#include "main_outputs.h"
Data Structures | |
struct | Blink_mode_t |
Blink mode config. More... | |
Functions | |
void | Blink_Led (void) |
Pass-through function for led blinking Blinking is done according to the selected mode using the Blink_mode_t table element. | |
Contains led blinking functions.
void Blink_Led | ( | void | ) |
Pass-through function for led blinking Blinking is done according to the selected mode using the Blink_mode_t table element.
This function must be called in main while(1) cycle. It contains internal timers so it may be called at any frequency but the faster it's called, the more precision is got
References Get_State(), IsExpiredTimer(), ResetTimer(), and STATE_IDLE.
Referenced by mainCycleRun().