Go to the documentation of this file.00001
00002 #define FLASHBASE 0x00c00000
00003 #define FPGABASE 0x00000000
00004 #define RANGE_REG 0x00800000
00005 #define FPGA_DIRECT 0x00800004
00006
00007 #define DISPRAM 0x00010000
00008 #define DISPREG 0x00020000
00009 #define SRAM 0x00100000
00010
00011 #define PERIODREG 0x0
00012 #define WIDTHREG 0x040
00013 #define NPREG 0x080
00014 #define ENABLEREG 0x0c0
00015 #define SCALERREG 0x100
00016 #define MODEREG 0x140
00017
00018 #define CSR_DONE 0x20
00019 #define CSR_INIT 0x40
00020
00021
00022
00023
00024
00025 #define START_DAC 0x0
00026 #define DAC_VAL_1 0x4
00027 #define DAC_VAL_2 0x8
00028 #define DAC_VAL_3 0xc
00029 #define DAC_VAL_4 0x10
00030 #define DAC_VAL_5 0x14
00031 #define DAC_VAL_6 0x18
00032 #define DAC_VAL_7 0x1c
00033 #define DAC_VAL_8 0x20
00034 #define DAC_VAL_9 0x24
00035 #define DAC_VAL_10 0x28
00036 #define DAC_VAL_11 0x2c
00037 #define DAC_VAL_12 0x30
00038 #define DAC_VAL_13 0x34
00039 #define DAC_VAL_14 0x38
00040 #define DAC_VAL_15 0x3c
00041 #define DAC_VAL_16 0x40
00042
00043 #define DAC_VAL_17 0x44
00044 #define DAC_VAL_18 0x48
00045 #define DAC_VAL_19 0x4c
00046 #define DAC_VAL_20 0x50
00047 #define DAC_VAL_21 0x54
00048 #define DAC_VAL_22 0x58
00049 #define DAC_VAL_23 0x5c
00050 #define DAC_VAL_24 0x60
00051 #define DAC_VAL_25 0x64
00052 #define DAC_VAL_26 0x68
00053 #define DAC_VAL_27 0x6c
00054 #define DAC_VAL_28 0x70
00055 #define DAC_VAL_29 0x74
00056 #define DAC_VAL_30 0x78
00057 #define DAC_VAL_31 0x7c
00058 #define DAC_VAL_32 0x80
00059
00060
00061
00062
00063 #define N_SCALER 32
00064
00065
00066
00067 #define MAXBLOCK 63
00068 #define BS 19
00069
00070
00071
00072
00073
00074
00075
00076
00077