dev_fb.h File Reference

Back to the index.

Macros
dev_fb.h File Reference

Go to the source code of this file.

Macros

#define DEV_FB_ADDRESS   0x12000000
 
#define DEV_FBCTRL_ADDRESS   0x12f00000
 
#define DEV_FBCTRL_LENGTH   0x20
 
#define DEV_FBCTRL_PORT   0x00
 
#define DEV_FBCTRL_DATA   0x10
 
#define DEV_FBCTRL_PORT_COMMAND   0
 
#define DEV_FBCTRL_PORT_X1   1
 
#define DEV_FBCTRL_PORT_Y1   2
 
#define DEV_FBCTRL_PORT_X2   3
 
#define DEV_FBCTRL_PORT_Y2   4
 
#define DEV_FBCTRL_PORT_COLOR_R   5
 
#define DEV_FBCTRL_PORT_COLOR_G   6
 
#define DEV_FBCTRL_PORT_COLOR_B   7
 
#define DEV_FBCTRL_NPORTS   8
 
#define DEV_FBCTRL_COMMAND_NOP   0
 
#define DEV_FBCTRL_COMMAND_SET_RESOLUTION   1
 
#define DEV_FBCTRL_COMMAND_GET_RESOLUTION   2
 
#define DEV_FBCTRL_COMMAND_FILL   3
 
#define DEV_FBCTRL_COMMAND_COPY   4
 
#define DEV_FBCTRL_MAXY(x)   (((DEV_FBCTRL_ADDRESS-DEV_FB_ADDRESS) / 3) / x)
 

Macro Definition Documentation

◆ DEV_FB_ADDRESS

#define DEV_FB_ADDRESS   0x12000000

Definition at line 12 of file dev_fb.h.

◆ DEV_FBCTRL_ADDRESS

#define DEV_FBCTRL_ADDRESS   0x12f00000

Definition at line 15 of file dev_fb.h.

◆ DEV_FBCTRL_COMMAND_COPY

#define DEV_FBCTRL_COMMAND_COPY   4

Definition at line 53 of file dev_fb.h.

◆ DEV_FBCTRL_COMMAND_FILL

#define DEV_FBCTRL_COMMAND_FILL   3

Definition at line 52 of file dev_fb.h.

◆ DEV_FBCTRL_COMMAND_GET_RESOLUTION

#define DEV_FBCTRL_COMMAND_GET_RESOLUTION   2

Definition at line 49 of file dev_fb.h.

◆ DEV_FBCTRL_COMMAND_NOP

#define DEV_FBCTRL_COMMAND_NOP   0

Definition at line 43 of file dev_fb.h.

◆ DEV_FBCTRL_COMMAND_SET_RESOLUTION

#define DEV_FBCTRL_COMMAND_SET_RESOLUTION   1

Definition at line 46 of file dev_fb.h.

◆ DEV_FBCTRL_DATA

#define DEV_FBCTRL_DATA   0x10

Definition at line 25 of file dev_fb.h.

◆ DEV_FBCTRL_LENGTH

#define DEV_FBCTRL_LENGTH   0x20

Definition at line 16 of file dev_fb.h.

◆ DEV_FBCTRL_MAXY

#define DEV_FBCTRL_MAXY (   x)    (((DEV_FBCTRL_ADDRESS-DEV_FB_ADDRESS) / 3) / x)

Definition at line 56 of file dev_fb.h.

◆ DEV_FBCTRL_NPORTS

#define DEV_FBCTRL_NPORTS   8

Definition at line 35 of file dev_fb.h.

◆ DEV_FBCTRL_PORT

#define DEV_FBCTRL_PORT   0x00

Definition at line 24 of file dev_fb.h.

◆ DEV_FBCTRL_PORT_COLOR_B

#define DEV_FBCTRL_PORT_COLOR_B   7

Definition at line 34 of file dev_fb.h.

◆ DEV_FBCTRL_PORT_COLOR_G

#define DEV_FBCTRL_PORT_COLOR_G   6

Definition at line 33 of file dev_fb.h.

◆ DEV_FBCTRL_PORT_COLOR_R

#define DEV_FBCTRL_PORT_COLOR_R   5

Definition at line 32 of file dev_fb.h.

◆ DEV_FBCTRL_PORT_COMMAND

#define DEV_FBCTRL_PORT_COMMAND   0

Definition at line 27 of file dev_fb.h.

◆ DEV_FBCTRL_PORT_X1

#define DEV_FBCTRL_PORT_X1   1

Definition at line 28 of file dev_fb.h.

◆ DEV_FBCTRL_PORT_X2

#define DEV_FBCTRL_PORT_X2   3

Definition at line 30 of file dev_fb.h.

◆ DEV_FBCTRL_PORT_Y1

#define DEV_FBCTRL_PORT_Y1   2

Definition at line 29 of file dev_fb.h.

◆ DEV_FBCTRL_PORT_Y2

#define DEV_FBCTRL_PORT_Y2   4

Definition at line 31 of file dev_fb.h.


Generated on Tue Mar 24 2020 14:04:48 for GXemul by doxygen 1.8.17