STM32100E_EVAL_LCD_Exported_Constants
[STM32100E_EVAL_LCD]

Defines

#define _delay_   delay
 Uncomment the line below if you want to use user defined Delay function (for precise timing), otherwise default _delay_ function defined within this driver is used (less precise timing).
#define LCD_COLOR_BLACK   0x0000
#define LCD_COLOR_BLUE   0x001F
#define LCD_COLOR_BLUE2   0x051F
#define LCD_COLOR_CYAN   0x7FFF
#define LCD_COLOR_GREEN   0x07E0
#define LCD_COLOR_GREY   0xF7DE
#define LCD_COLOR_MAGENTA   0xF81F
#define LCD_COLOR_RED   0xF800
#define LCD_COLOR_WHITE   0xFFFF
 LCD color.
#define LCD_COLOR_YELLOW   0xFFE0
#define LCD_DEFAULT_FONT   Font16x24
 LCD default font.
#define LCD_DIR_HORIZONTAL   0x0000
 LCD Direction.
#define LCD_DIR_VERTICAL   0x0001
#define LCD_LINE_0   LINE(0)
 LCD Lines depending on the chosen fonts.
#define LCD_LINE_1   LINE(1)
#define LCD_LINE_10   LINE(10)
#define LCD_LINE_11   LINE(11)
#define LCD_LINE_12   LINE(12)
#define LCD_LINE_13   LINE(13)
#define LCD_LINE_14   LINE(14)
#define LCD_LINE_15   LINE(15)
#define LCD_LINE_16   LINE(16)
#define LCD_LINE_17   LINE(17)
#define LCD_LINE_18   LINE(18)
#define LCD_LINE_19   LINE(19)
#define LCD_LINE_2   LINE(2)
#define LCD_LINE_20   LINE(20)
#define LCD_LINE_21   LINE(21)
#define LCD_LINE_22   LINE(22)
#define LCD_LINE_23   LINE(23)
#define LCD_LINE_24   LINE(24)
#define LCD_LINE_25   LINE(25)
#define LCD_LINE_26   LINE(26)
#define LCD_LINE_27   LINE(27)
#define LCD_LINE_28   LINE(28)
#define LCD_LINE_29   LINE(29)
#define LCD_LINE_3   LINE(3)
#define LCD_LINE_4   LINE(4)
#define LCD_LINE_5   LINE(5)
#define LCD_LINE_6   LINE(6)
#define LCD_LINE_7   LINE(7)
#define LCD_LINE_8   LINE(8)
#define LCD_LINE_9   LINE(9)
#define LCD_PIXEL_HEIGHT   0x00F0
#define LCD_PIXEL_WIDTH   0x0140
 LCD Size (Width and Height).
#define LCD_REG_0   0x00
 LCD Registers.
#define LCD_REG_1   0x01
#define LCD_REG_10   0x0A
#define LCD_REG_106   0x6A
#define LCD_REG_118   0x76
#define LCD_REG_12   0x0C
#define LCD_REG_128   0x80
#define LCD_REG_129   0x81
#define LCD_REG_13   0x0D
#define LCD_REG_130   0x82
#define LCD_REG_131   0x83
#define LCD_REG_132   0x84
#define LCD_REG_133   0x85
#define LCD_REG_134   0x86
#define LCD_REG_135   0x87
#define LCD_REG_136   0x88
#define LCD_REG_137   0x89
#define LCD_REG_139   0x8B
#define LCD_REG_14   0x0E
#define LCD_REG_140   0x8C
#define LCD_REG_141   0x8D
#define LCD_REG_143   0x8F
#define LCD_REG_144   0x90
#define LCD_REG_145   0x91
#define LCD_REG_146   0x92
#define LCD_REG_147   0x93
#define LCD_REG_148   0x94
#define LCD_REG_149   0x95
#define LCD_REG_15   0x0F
#define LCD_REG_150   0x96
#define LCD_REG_151   0x97
#define LCD_REG_152   0x98
#define LCD_REG_153   0x99
#define LCD_REG_154   0x9A
#define LCD_REG_157   0x9D
#define LCD_REG_16   0x10
#define LCD_REG_17   0x11
#define LCD_REG_18   0x12
#define LCD_REG_19   0x13
#define LCD_REG_192   0xC0
#define LCD_REG_193   0xC1
#define LCD_REG_2   0x02
#define LCD_REG_20   0x14
#define LCD_REG_21   0x15
#define LCD_REG_22   0x16
#define LCD_REG_229   0xE5
#define LCD_REG_23   0x17
#define LCD_REG_24   0x18
#define LCD_REG_25   0x19
#define LCD_REG_26   0x1A
#define LCD_REG_27   0x1B
#define LCD_REG_28   0x1C
#define LCD_REG_29   0x1D
#define LCD_REG_3   0x03
#define LCD_REG_30   0x1E
#define LCD_REG_31   0x1F
#define LCD_REG_32   0x20
#define LCD_REG_33   0x21
#define LCD_REG_34   0x22
#define LCD_REG_36   0x24
#define LCD_REG_37   0x25
#define LCD_REG_4   0x04
#define LCD_REG_40   0x28
#define LCD_REG_41   0x29
#define LCD_REG_43   0x2B
#define LCD_REG_45   0x2D
#define LCD_REG_48   0x30
#define LCD_REG_49   0x31
#define LCD_REG_5   0x05
#define LCD_REG_50   0x32
#define LCD_REG_51   0x33
#define LCD_REG_52   0x34
#define LCD_REG_53   0x35
#define LCD_REG_54   0x36
#define LCD_REG_55   0x37
#define LCD_REG_56   0x38
#define LCD_REG_57   0x39
#define LCD_REG_58   0x3A
#define LCD_REG_59   0x3B
#define LCD_REG_6   0x06
#define LCD_REG_60   0x3C
#define LCD_REG_61   0x3D
#define LCD_REG_62   0x3E
#define LCD_REG_63   0x3F
#define LCD_REG_64   0x40
#define LCD_REG_65   0x41
#define LCD_REG_66   0x42
#define LCD_REG_67   0x43
#define LCD_REG_68   0x44
#define LCD_REG_69   0x45
#define LCD_REG_7   0x07
#define LCD_REG_70   0x46
#define LCD_REG_71   0x47
#define LCD_REG_72   0x48
#define LCD_REG_73   0x49
#define LCD_REG_74   0x4A
#define LCD_REG_75   0x4B
#define LCD_REG_76   0x4C
#define LCD_REG_77   0x4D
#define LCD_REG_78   0x4E
#define LCD_REG_79   0x4F
#define LCD_REG_8   0x08
#define LCD_REG_80   0x50
#define LCD_REG_81   0x51
#define LCD_REG_82   0x52
#define LCD_REG_83   0x53
#define LCD_REG_9   0x09
#define LCD_REG_96   0x60
#define LCD_REG_97   0x61

Define Documentation

#define _delay_   delay

Uncomment the line below if you want to use user defined Delay function (for precise timing), otherwise default _delay_ function defined within this driver is used (less precise timing).

Definition at line 78 of file stm32100e_eval_lcd.h.

#define LCD_COLOR_BLACK   0x0000

Definition at line 198 of file stm32100e_eval_lcd.h.

#define LCD_COLOR_BLUE   0x001F

Definition at line 200 of file stm32100e_eval_lcd.h.

#define LCD_COLOR_BLUE2   0x051F

Definition at line 201 of file stm32100e_eval_lcd.h.

#define LCD_COLOR_CYAN   0x7FFF

Definition at line 205 of file stm32100e_eval_lcd.h.

#define LCD_COLOR_GREEN   0x07E0

Definition at line 204 of file stm32100e_eval_lcd.h.

#define LCD_COLOR_GREY   0xF7DE

Definition at line 199 of file stm32100e_eval_lcd.h.

#define LCD_COLOR_MAGENTA   0xF81F

Definition at line 203 of file stm32100e_eval_lcd.h.

#define LCD_COLOR_RED   0xF800

Definition at line 202 of file stm32100e_eval_lcd.h.

#define LCD_COLOR_WHITE   0xFFFF

LCD color.

Definition at line 197 of file stm32100e_eval_lcd.h.

#define LCD_COLOR_YELLOW   0xFFE0

Definition at line 206 of file stm32100e_eval_lcd.h.

#define LCD_DEFAULT_FONT   Font16x24

LCD default font.

Definition at line 245 of file stm32100e_eval_lcd.h.

#define LCD_DIR_HORIZONTAL   0x0000

LCD Direction.

Definition at line 250 of file stm32100e_eval_lcd.h.

#define LCD_DIR_VERTICAL   0x0001

Definition at line 251 of file stm32100e_eval_lcd.h.

#define LCD_LINE_0   LINE(0)

LCD Lines depending on the chosen fonts.

Definition at line 211 of file stm32100e_eval_lcd.h.

#define LCD_LINE_1   LINE(1)

Definition at line 212 of file stm32100e_eval_lcd.h.

#define LCD_LINE_10   LINE(10)

Definition at line 221 of file stm32100e_eval_lcd.h.

#define LCD_LINE_11   LINE(11)

Definition at line 222 of file stm32100e_eval_lcd.h.

#define LCD_LINE_12   LINE(12)

Definition at line 223 of file stm32100e_eval_lcd.h.

#define LCD_LINE_13   LINE(13)

Definition at line 224 of file stm32100e_eval_lcd.h.

#define LCD_LINE_14   LINE(14)

Definition at line 225 of file stm32100e_eval_lcd.h.

#define LCD_LINE_15   LINE(15)

Definition at line 226 of file stm32100e_eval_lcd.h.

#define LCD_LINE_16   LINE(16)

Definition at line 227 of file stm32100e_eval_lcd.h.

#define LCD_LINE_17   LINE(17)

Definition at line 228 of file stm32100e_eval_lcd.h.

#define LCD_LINE_18   LINE(18)

Definition at line 229 of file stm32100e_eval_lcd.h.

#define LCD_LINE_19   LINE(19)

Definition at line 230 of file stm32100e_eval_lcd.h.

#define LCD_LINE_2   LINE(2)

Definition at line 213 of file stm32100e_eval_lcd.h.

#define LCD_LINE_20   LINE(20)

Definition at line 231 of file stm32100e_eval_lcd.h.

#define LCD_LINE_21   LINE(21)

Definition at line 232 of file stm32100e_eval_lcd.h.

#define LCD_LINE_22   LINE(22)

Definition at line 233 of file stm32100e_eval_lcd.h.

#define LCD_LINE_23   LINE(23)

Definition at line 234 of file stm32100e_eval_lcd.h.

#define LCD_LINE_24   LINE(24)

Definition at line 235 of file stm32100e_eval_lcd.h.

#define LCD_LINE_25   LINE(25)

Definition at line 236 of file stm32100e_eval_lcd.h.

#define LCD_LINE_26   LINE(26)

Definition at line 237 of file stm32100e_eval_lcd.h.

#define LCD_LINE_27   LINE(27)

Definition at line 238 of file stm32100e_eval_lcd.h.

#define LCD_LINE_28   LINE(28)

Definition at line 239 of file stm32100e_eval_lcd.h.

#define LCD_LINE_29   LINE(29)

Definition at line 240 of file stm32100e_eval_lcd.h.

#define LCD_LINE_3   LINE(3)

Definition at line 214 of file stm32100e_eval_lcd.h.

#define LCD_LINE_4   LINE(4)

Definition at line 215 of file stm32100e_eval_lcd.h.

#define LCD_LINE_5   LINE(5)

Definition at line 216 of file stm32100e_eval_lcd.h.

#define LCD_LINE_6   LINE(6)

Definition at line 217 of file stm32100e_eval_lcd.h.

#define LCD_LINE_7   LINE(7)

Definition at line 218 of file stm32100e_eval_lcd.h.

#define LCD_LINE_8   LINE(8)

Definition at line 219 of file stm32100e_eval_lcd.h.

#define LCD_LINE_9   LINE(9)

Definition at line 220 of file stm32100e_eval_lcd.h.

#define LCD_PIXEL_HEIGHT   0x00F0

Definition at line 257 of file stm32100e_eval_lcd.h.

#define LCD_PIXEL_WIDTH   0x0140

LCD Size (Width and Height).

Definition at line 256 of file stm32100e_eval_lcd.h.

#define LCD_REG_0   0x00

LCD Registers.

Definition at line 84 of file stm32100e_eval_lcd.h.

#define LCD_REG_1   0x01

Definition at line 85 of file stm32100e_eval_lcd.h.

#define LCD_REG_10   0x0A

Definition at line 94 of file stm32100e_eval_lcd.h.

#define LCD_REG_106   0x6A

Definition at line 162 of file stm32100e_eval_lcd.h.

#define LCD_REG_118   0x76

Definition at line 163 of file stm32100e_eval_lcd.h.

#define LCD_REG_12   0x0C

Definition at line 95 of file stm32100e_eval_lcd.h.

#define LCD_REG_128   0x80

Definition at line 164 of file stm32100e_eval_lcd.h.

#define LCD_REG_129   0x81

Definition at line 165 of file stm32100e_eval_lcd.h.

#define LCD_REG_13   0x0D

Definition at line 96 of file stm32100e_eval_lcd.h.

#define LCD_REG_130   0x82

Definition at line 166 of file stm32100e_eval_lcd.h.

#define LCD_REG_131   0x83

Definition at line 167 of file stm32100e_eval_lcd.h.

#define LCD_REG_132   0x84

Definition at line 168 of file stm32100e_eval_lcd.h.

#define LCD_REG_133   0x85

Definition at line 169 of file stm32100e_eval_lcd.h.

#define LCD_REG_134   0x86

Definition at line 170 of file stm32100e_eval_lcd.h.

#define LCD_REG_135   0x87

Definition at line 171 of file stm32100e_eval_lcd.h.

#define LCD_REG_136   0x88

Definition at line 172 of file stm32100e_eval_lcd.h.

#define LCD_REG_137   0x89

Definition at line 173 of file stm32100e_eval_lcd.h.

#define LCD_REG_139   0x8B

Definition at line 174 of file stm32100e_eval_lcd.h.

#define LCD_REG_14   0x0E

Definition at line 97 of file stm32100e_eval_lcd.h.

#define LCD_REG_140   0x8C

Definition at line 175 of file stm32100e_eval_lcd.h.

#define LCD_REG_141   0x8D

Definition at line 176 of file stm32100e_eval_lcd.h.

#define LCD_REG_143   0x8F

Definition at line 177 of file stm32100e_eval_lcd.h.

#define LCD_REG_144   0x90

Definition at line 178 of file stm32100e_eval_lcd.h.

#define LCD_REG_145   0x91

Definition at line 179 of file stm32100e_eval_lcd.h.

#define LCD_REG_146   0x92

Definition at line 180 of file stm32100e_eval_lcd.h.

#define LCD_REG_147   0x93

Definition at line 181 of file stm32100e_eval_lcd.h.

#define LCD_REG_148   0x94

Definition at line 182 of file stm32100e_eval_lcd.h.

#define LCD_REG_149   0x95

Definition at line 183 of file stm32100e_eval_lcd.h.

#define LCD_REG_15   0x0F

Definition at line 98 of file stm32100e_eval_lcd.h.

#define LCD_REG_150   0x96

Definition at line 184 of file stm32100e_eval_lcd.h.

#define LCD_REG_151   0x97

Definition at line 185 of file stm32100e_eval_lcd.h.

#define LCD_REG_152   0x98

Definition at line 186 of file stm32100e_eval_lcd.h.

#define LCD_REG_153   0x99

Definition at line 187 of file stm32100e_eval_lcd.h.

#define LCD_REG_154   0x9A

Definition at line 188 of file stm32100e_eval_lcd.h.

#define LCD_REG_157   0x9D

Definition at line 189 of file stm32100e_eval_lcd.h.

#define LCD_REG_16   0x10

Definition at line 99 of file stm32100e_eval_lcd.h.

#define LCD_REG_17   0x11

Definition at line 100 of file stm32100e_eval_lcd.h.

#define LCD_REG_18   0x12

Definition at line 101 of file stm32100e_eval_lcd.h.

#define LCD_REG_19   0x13

Definition at line 102 of file stm32100e_eval_lcd.h.

#define LCD_REG_192   0xC0

Definition at line 190 of file stm32100e_eval_lcd.h.

#define LCD_REG_193   0xC1

Definition at line 191 of file stm32100e_eval_lcd.h.

#define LCD_REG_2   0x02

Definition at line 86 of file stm32100e_eval_lcd.h.

#define LCD_REG_20   0x14

Definition at line 103 of file stm32100e_eval_lcd.h.

#define LCD_REG_21   0x15

Definition at line 104 of file stm32100e_eval_lcd.h.

#define LCD_REG_22   0x16

Definition at line 105 of file stm32100e_eval_lcd.h.

#define LCD_REG_229   0xE5

Definition at line 192 of file stm32100e_eval_lcd.h.

#define LCD_REG_23   0x17

Definition at line 106 of file stm32100e_eval_lcd.h.

#define LCD_REG_24   0x18

Definition at line 107 of file stm32100e_eval_lcd.h.

#define LCD_REG_25   0x19

Definition at line 108 of file stm32100e_eval_lcd.h.

#define LCD_REG_26   0x1A

Definition at line 109 of file stm32100e_eval_lcd.h.

#define LCD_REG_27   0x1B

Definition at line 110 of file stm32100e_eval_lcd.h.

#define LCD_REG_28   0x1C

Definition at line 111 of file stm32100e_eval_lcd.h.

#define LCD_REG_29   0x1D

Definition at line 112 of file stm32100e_eval_lcd.h.

#define LCD_REG_3   0x03

Definition at line 87 of file stm32100e_eval_lcd.h.

#define LCD_REG_30   0x1E

Definition at line 113 of file stm32100e_eval_lcd.h.

#define LCD_REG_31   0x1F

Definition at line 114 of file stm32100e_eval_lcd.h.

#define LCD_REG_32   0x20

Definition at line 115 of file stm32100e_eval_lcd.h.

#define LCD_REG_33   0x21

Definition at line 116 of file stm32100e_eval_lcd.h.

#define LCD_REG_34   0x22

Definition at line 117 of file stm32100e_eval_lcd.h.

#define LCD_REG_36   0x24

Definition at line 118 of file stm32100e_eval_lcd.h.

#define LCD_REG_37   0x25

Definition at line 119 of file stm32100e_eval_lcd.h.

#define LCD_REG_4   0x04

Definition at line 88 of file stm32100e_eval_lcd.h.

#define LCD_REG_40   0x28

Definition at line 120 of file stm32100e_eval_lcd.h.

#define LCD_REG_41   0x29

Definition at line 121 of file stm32100e_eval_lcd.h.

#define LCD_REG_43   0x2B

Definition at line 122 of file stm32100e_eval_lcd.h.

#define LCD_REG_45   0x2D

Definition at line 123 of file stm32100e_eval_lcd.h.

#define LCD_REG_48   0x30

Definition at line 124 of file stm32100e_eval_lcd.h.

#define LCD_REG_49   0x31

Definition at line 125 of file stm32100e_eval_lcd.h.

#define LCD_REG_5   0x05

Definition at line 89 of file stm32100e_eval_lcd.h.

#define LCD_REG_50   0x32

Definition at line 126 of file stm32100e_eval_lcd.h.

#define LCD_REG_51   0x33

Definition at line 127 of file stm32100e_eval_lcd.h.

#define LCD_REG_52   0x34

Definition at line 128 of file stm32100e_eval_lcd.h.

#define LCD_REG_53   0x35

Definition at line 129 of file stm32100e_eval_lcd.h.

#define LCD_REG_54   0x36

Definition at line 130 of file stm32100e_eval_lcd.h.

#define LCD_REG_55   0x37

Definition at line 131 of file stm32100e_eval_lcd.h.

#define LCD_REG_56   0x38

Definition at line 132 of file stm32100e_eval_lcd.h.

#define LCD_REG_57   0x39

Definition at line 133 of file stm32100e_eval_lcd.h.

#define LCD_REG_58   0x3A

Definition at line 134 of file stm32100e_eval_lcd.h.

Referenced by STM32100E_LCD_Init(), and STM3210E_LCD_Init().

#define LCD_REG_59   0x3B

Definition at line 135 of file stm32100e_eval_lcd.h.

#define LCD_REG_6   0x06

Definition at line 90 of file stm32100e_eval_lcd.h.

#define LCD_REG_60   0x3C

Definition at line 136 of file stm32100e_eval_lcd.h.

#define LCD_REG_61   0x3D

Definition at line 137 of file stm32100e_eval_lcd.h.

#define LCD_REG_62   0x3E

Definition at line 138 of file stm32100e_eval_lcd.h.

#define LCD_REG_63   0x3F

Definition at line 139 of file stm32100e_eval_lcd.h.

#define LCD_REG_64   0x40

Definition at line 140 of file stm32100e_eval_lcd.h.

#define LCD_REG_65   0x41

Definition at line 141 of file stm32100e_eval_lcd.h.

#define LCD_REG_66   0x42

Definition at line 142 of file stm32100e_eval_lcd.h.

#define LCD_REG_67   0x43

Definition at line 143 of file stm32100e_eval_lcd.h.

#define LCD_REG_68   0x44

Definition at line 144 of file stm32100e_eval_lcd.h.

#define LCD_REG_69   0x45

Definition at line 145 of file stm32100e_eval_lcd.h.

#define LCD_REG_7   0x07

Definition at line 91 of file stm32100e_eval_lcd.h.

#define LCD_REG_70   0x46

Definition at line 146 of file stm32100e_eval_lcd.h.

#define LCD_REG_71   0x47

Definition at line 147 of file stm32100e_eval_lcd.h.

#define LCD_REG_72   0x48

Definition at line 148 of file stm32100e_eval_lcd.h.

#define LCD_REG_73   0x49

Definition at line 149 of file stm32100e_eval_lcd.h.

#define LCD_REG_74   0x4A

Definition at line 150 of file stm32100e_eval_lcd.h.

#define LCD_REG_75   0x4B

Definition at line 151 of file stm32100e_eval_lcd.h.

#define LCD_REG_76   0x4C

Definition at line 152 of file stm32100e_eval_lcd.h.

#define LCD_REG_77   0x4D

Definition at line 153 of file stm32100e_eval_lcd.h.

#define LCD_REG_78   0x4E

Definition at line 154 of file stm32100e_eval_lcd.h.

#define LCD_REG_79   0x4F

Definition at line 155 of file stm32100e_eval_lcd.h.

#define LCD_REG_8   0x08

Definition at line 92 of file stm32100e_eval_lcd.h.

#define LCD_REG_80   0x50

Definition at line 156 of file stm32100e_eval_lcd.h.

#define LCD_REG_81   0x51

Definition at line 157 of file stm32100e_eval_lcd.h.

#define LCD_REG_82   0x52

Definition at line 158 of file stm32100e_eval_lcd.h.

#define LCD_REG_83   0x53

Definition at line 159 of file stm32100e_eval_lcd.h.

#define LCD_REG_9   0x09

Definition at line 93 of file stm32100e_eval_lcd.h.

#define LCD_REG_96   0x60

Definition at line 160 of file stm32100e_eval_lcd.h.

#define LCD_REG_97   0x61

Definition at line 161 of file stm32100e_eval_lcd.h.

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32