E:/Projects/AvrLib/include/display.h File Reference
Go to the source code of this file.
Define Documentation
#define BIT |
( |
x |
|
) |
(1 << (x)) |
Definition at line 42 of file display.h.
Referenced by DisableVGAIrq(), EnableVGAIrq(), InitPort(), InitXspi(), INT5_vect(), INT6_vect(), INT7_vect(), RPutC(), RxIsr(), TxIsr(), and xRInit().
#define FG |
( |
x |
|
) |
(x << 3) |
#define VGA_BASE_ADDRESS 0xc000 |
#define VGA_CHARGEN *((volatile unsigned char *)(VGA_BASE_ADDRESS+0x2800)) |
#define VGA_CHARGEN_P ((volatile unsigned char *)(VGA_BASE_ADDRESS+0x2800)) |
#define VGA_CHARMEM *((volatile unsigned short *)VGA_BASE_ADDRESS) |
#define VGA_CHARMEM_P ((volatile unsigned short *)VGA_BASE_ADDRESS) |
#define VGA_COLOR_LUT *((volatile unsigned char *)0xf010) |
#define VGA_COLOR_LUT_P ((volatile unsigned char *)0xf010) |
#define VGA_CONTROL_STATUS *((volatile unsigned char *)0xf002) |
Function Documentation
void DisableVGAIrq |
( |
void |
|
) |
|
void EnableVGAIrq |
( |
void |
|
) |
|
Definition at line 34 of file display.c.
References BG, BLACK, BLUE, CreateSemaphore(), CYAN, FG, GREEN, RED, SEMAPHORE_MODE_BLOCKING, VGA_CHARMEM_P, VGA_COLOR_LUT_P, VIOLET, WHITE, and YELLOW.