vga_fn.h

来自「Here an embedded System-on-Chip is build」· C头文件 代码 · 共 13 行

H
13
字号
// VGA Display Function
vga_geometry(int color, int shape, int move){	int geo_reg;
	
	// The move status is mentioned in the LSB(0th), then 2 bit shape is taken by the the first
	// and secound LSB's and the color is defined in the third fourth and fifth LSBs of the 32
	// bit software register.	geo_reg = (color * 8) + (shape * 2) + move;
	
	// software register write function call	VGA_GEOMETRIC_IPCORE_mWriteSlaveReg0(XPAR_VGA_GEOMETRIC_IPCORE_0_BASEADDR, 0, geo_reg);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?