📄 vga_fn.h
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -