Commit beb957e1 authored by Iulian Gheorghiu's avatar Iulian Gheorghiu

Add definitions for dinamic configuration of LCD IP.

parent 7d83e9ab
......@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
`timescale 1ns / 1ps
/*
--------------------------------------------------------------------------
RTC - Real time counter interface
......@@ -635,3 +637,26 @@ SPI - Serial Peripheral Interface
`define SPI_WRCOL_bm 8'h40 /* Write Collision bit mask. */
`define SPI_WRCOL_bp 6 /* Write Collision bit position. */
/*
--------------------------------------------------------------------------
LCD - LCD display Interface
--------------------------------------------------------------------------
*/
`define LCD_CTRL 0
`define LCD_H_RES_LOW 1
`define LCD_H_RES_HIGH 2
`define LCD_H_PULSE_WIDTH 3
`define LCD_H_BLANKING 4
`define LCD_H_FRONT_PORCH 5
`define LCD_V_RES_LOW 6
`define LCD_V_RES_HIGH 7
`define LCD_V_PULSE_WIDTH 8
`define LCD_V_BLANKING 9
`define LCD_V_FRONT_PORCH 10
`define LCD_PIXEL_SIZE 11
`define LCD_BASE_ADDR_BYTE0 12
`define LCD_BASE_ADDR_BYTE1 13
`define LCD_BASE_ADDR_BYTE2 14
`define LCD_BASE_ADDR_BYTE3 15
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment