Operating System
Macros | Functions | Variables
timeout.c File Reference

called when clock interupt occur. draw beautiful graph in terminal. More...

#include "../include/utilities.h"
#include "../include/stdio.h"

Go to the source code of this file.

Macros

#define DELAY   2
 

Functions

void callback ()
 
char nextAlphabet (char)
 
void timeout ()
 

Variables

char ch = 'A'
 
int delX [] = {1, 0, -1, 0}
 
int delY [] = {0, 1, 0, -1}
 
int direction = 0
 
int x = 0
 
int y = 0
 
uint8_t style = 0
 

Detailed Description

called when clock interupt occur. draw beautiful graph in terminal.

Definition in file timeout.c.

Macro Definition Documentation

◆ DELAY

#define DELAY   2

Definition at line 10 of file timeout.c.

Function Documentation

◆ callback()

void callback ( )

Definition at line 23 of file timeout.c.

◆ nextAlphabet()

char nextAlphabet ( char  c)

Definition at line 34 of file timeout.c.

◆ timeout()

void timeout ( )

Definition at line 19 of file timeout.c.

Variable Documentation

◆ ch

char ch = 'A'

Definition at line 9 of file timeout.c.

◆ delX

int delX[] = {1, 0, -1, 0}

Definition at line 11 of file timeout.c.

◆ delY

int delY[] = {0, 1, 0, -1}

Definition at line 12 of file timeout.c.

◆ direction

int direction = 0

Definition at line 13 of file timeout.c.

◆ style

uint8_t style = 0

Definition at line 16 of file timeout.c.

◆ x

int x = 0

Definition at line 14 of file timeout.c.

◆ y

int y = 0

Definition at line 15 of file timeout.c.