ili9325_WriteReg() is only used within ili9325.
 
Symbols
loading...
Files
loading...

ili9325_WriteReg() function

Writes to the selected LCD register.

Syntax

void ili9325_WriteReg(uint8_t LCDReg,     uint16_t LCDRegValue);
Implemented in ili9325.c:319

Arguments

LCDReg

Address of the selected register.

LCDRegValue

Value to write to the selected register.

Return value

None

References

LocationReferrerText
ili9325.c:319
void ili9325_WriteReg(uint8_t LCDReg, uint16_t LCDRegValue)
ili9325.h:188
void ili9325_WriteReg(uint8_t LCDReg, uint16_t LCDRegValue);
ili9325.c:111ili9325_Init()
ili9325_WriteReg(LCD_REG_0, 0x0001); /* Start internal OSC. */
ili9325.c:112ili9325_Init()
ili9325_WriteReg(LCD_REG_1, 0x0100); /* Set SS and SM bit */
ili9325.c:113ili9325_Init()
ili9325_WriteReg(LCD_REG_2, 0x0700); /* Set 1 line inversion */
ili9325.c:114ili9325_Init()
ili9325_WriteReg(LCD_REG_3, 0x1018); /* Set GRAM write direction and BGR=1. */
ili9325.c:115ili9325_Init()
ili9325_WriteReg(LCD_REG_4, 0x0000); /* Resize register */
ili9325.c:116ili9325_Init()
ili9325_WriteReg(LCD_REG_8, 0x0202); /* Set the back porch and front porch */
ili9325.c:117ili9325_Init()
ili9325_WriteReg(LCD_REG_9, 0x0000); /* Set non-display area refresh cycle ISC[3:0] */
ili9325.c:118ili9325_Init()
ili9325_WriteReg(LCD_REG_10, 0x0000); /* FMARK function */
ili9325.c:119ili9325_Init()
ili9325_WriteReg(LCD_REG_12, 0x0000); /* RGB interface setting */
ili9325.c:120ili9325_Init()
ili9325_WriteReg(LCD_REG_13, 0x0000); /* Frame marker Position */
ili9325.c:121ili9325_Init()
ili9325_WriteReg(LCD_REG_15, 0x0000); /* RGB interface polarity */
ili9325.c:124ili9325_Init()
ili9325_WriteReg(LCD_REG_16, 0x0000); /* SAP, BT[3:0], AP, DSTB, SLP, STB */
ili9325.c:125ili9325_Init()
ili9325_WriteReg(LCD_REG_17, 0x0000); /* DC1[2:0], DC0[2:0], VC[2:0] */
ili9325.c:126ili9325_Init()
ili9325_WriteReg(LCD_REG_18, 0x0000); /* VREG1OUT voltage */
ili9325.c:127ili9325_Init()
ili9325_WriteReg(LCD_REG_19, 0x0000); /* VDV[4:0] for VCOM amplitude */
ili9325.c:129ili9325_Init()
ili9325_WriteReg(LCD_REG_16, 0x17B0); /* SAP, BT[3:0], AP, DSTB, SLP, STB */
ili9325.c:130ili9325_Init()
ili9325_WriteReg(LCD_REG_17, 0x0137); /* DC1[2:0], DC0[2:0], VC[2:0] */
ili9325.c:132ili9325_Init()
ili9325_WriteReg(LCD_REG_18, 0x0139); /* VREG1OUT voltage */
ili9325.c:134ili9325_Init()
ili9325_WriteReg(LCD_REG_19, 0x1d00); /* VDV[4:0] for VCOM amplitude */
ili9325.c:135ili9325_Init()
ili9325_WriteReg(LCD_REG_41, 0x0013); /* VCM[4:0] for VCOMH */
ili9325.c:137ili9325_Init()
ili9325_WriteReg(LCD_REG_32, 0x0000); /* GRAM horizontal Address */
ili9325.c:138ili9325_Init()
ili9325_WriteReg(LCD_REG_33, 0x0000); /* GRAM Vertical Address */
ili9325.c:141ili9325_Init()
ili9325_WriteReg(LCD_REG_48, 0x0007);
ili9325.c:142ili9325_Init()
ili9325_WriteReg(LCD_REG_49, 0x0302);
ili9325.c:143ili9325_Init()
ili9325_WriteReg(LCD_REG_50, 0x0105);
ili9325.c:144ili9325_Init()
ili9325_WriteReg(LCD_REG_53, 0x0206);
ili9325.c:145ili9325_Init()
ili9325_WriteReg(LCD_REG_54, 0x0808);
ili9325.c:146ili9325_Init()
ili9325_WriteReg(LCD_REG_55, 0x0206);
ili9325.c:147ili9325_Init()
ili9325_WriteReg(LCD_REG_56, 0x0504);
ili9325.c:148ili9325_Init()
ili9325_WriteReg(LCD_REG_57, 0x0007);
ili9325.c:149ili9325_Init()
ili9325_WriteReg(LCD_REG_60, 0x0105);
ili9325.c:150ili9325_Init()
ili9325_WriteReg(LCD_REG_61, 0x0808);
ili9325.c:153ili9325_Init()
ili9325_WriteReg(LCD_REG_80, 0x0000); /* Horizontal GRAM Start Address */
ili9325.c:154ili9325_Init()
ili9325_WriteReg(LCD_REG_81, 0x00EF); /* Horizontal GRAM End Address */
ili9325.c:155ili9325_Init()
ili9325_WriteReg(LCD_REG_82, 0x0000); /* Vertical GRAM Start Address */
ili9325.c:156ili9325_Init()
ili9325_WriteReg(LCD_REG_83, 0x013F); /* Vertical GRAM End Address */
ili9325.c:158ili9325_Init()
ili9325_WriteReg(LCD_REG_96, 0xA700); /* Gate Scan Line(GS=1, scan direction is G320~G1) */
ili9325.c:159ili9325_Init()
ili9325_WriteReg(LCD_REG_97, 0x0001); /* NDL,VLE, REV */
ili9325.c:160ili9325_Init()
ili9325_WriteReg(LCD_REG_106, 0x0000); /* set scrolling line */
ili9325.c:163ili9325_Init()
ili9325_WriteReg(LCD_REG_128, 0x0000);
ili9325.c:164ili9325_Init()
ili9325_WriteReg(LCD_REG_129, 0x0000);
ili9325.c:165ili9325_Init()
ili9325_WriteReg(LCD_REG_130, 0x0000);
ili9325.c:166ili9325_Init()
ili9325_WriteReg(LCD_REG_131, 0x0000);
ili9325.c:167ili9325_Init()
ili9325_WriteReg(LCD_REG_132, 0x0000);
ili9325.c:168ili9325_Init()
ili9325_WriteReg(LCD_REG_133, 0x0000);
ili9325.c:171ili9325_Init()
ili9325_WriteReg(LCD_REG_144, 0x0010);
ili9325.c:172ili9325_Init()
ili9325_WriteReg(LCD_REG_146, 0x0000);
ili9325.c:173ili9325_Init()
ili9325_WriteReg(LCD_REG_147, 0x0003);
ili9325.c:174ili9325_Init()
ili9325_WriteReg(LCD_REG_149, 0x0110);
ili9325.c:175ili9325_Init()
ili9325_WriteReg(LCD_REG_151, 0x0000);
ili9325.c:176ili9325_Init()
ili9325_WriteReg(LCD_REG_152, 0x0000);
ili9325.c:181ili9325_Init()
ili9325_WriteReg(LCD_REG_3, 0x1018);
ili9325.c:184ili9325_Init()
ili9325_WriteReg(LCD_REG_7, 0x0173);
ili9325.c:201ili9325_DisplayOn()
ili9325_WriteReg(LCD_REG_16, 0x0000); /* SAP, BT[3:0], AP, DSTB, SLP, STB */
ili9325.c:202ili9325_DisplayOn()
ili9325_WriteReg(LCD_REG_17, 0x0000); /* DC1[2:0], DC0[2:0], VC[2:0] */
ili9325.c:203ili9325_DisplayOn()
ili9325_WriteReg(LCD_REG_18, 0x0000); /* VREG1OUT voltage */
ili9325.c:204ili9325_DisplayOn()
ili9325_WriteReg(LCD_REG_19, 0x0000); /* VDV[4:0] for VCOM amplitude*/
ili9325.c:206ili9325_DisplayOn()
ili9325_WriteReg(LCD_REG_16, 0x17B0); /* SAP, BT[3:0], AP, DSTB, SLP, STB */
ili9325.c:207ili9325_DisplayOn()
ili9325_WriteReg(LCD_REG_17, 0x0137); /* DC1[2:0], DC0[2:0], VC[2:0] */
ili9325.c:209ili9325_DisplayOn()
ili9325_WriteReg(LCD_REG_18, 0x0139); /* VREG1OUT voltage */
ili9325.c:211ili9325_DisplayOn()
ili9325_WriteReg(LCD_REG_19, 0x1d00); /* VDV[4:0] for VCOM amplitude */
ili9325.c:212ili9325_DisplayOn()
ili9325_WriteReg(LCD_REG_41, 0x0013); /* VCM[4:0] for VCOMH */
ili9325.c:215ili9325_DisplayOn()
ili9325_WriteReg(LCD_REG_7, 0x0173); /* 262K color and display ON */
ili9325.c:226ili9325_DisplayOff()
ili9325_WriteReg(LCD_REG_16, 0x0000); /* SAP, BT[3:0], AP, DSTB, SLP, STB */
ili9325.c:227ili9325_DisplayOff()
ili9325_WriteReg(LCD_REG_17, 0x0000); /* DC1[2:0], DC0[2:0], VC[2:0] */
ili9325.c:228ili9325_DisplayOff()
ili9325_WriteReg(LCD_REG_18, 0x0000); /* VREG1OUT voltage */
ili9325.c:229ili9325_DisplayOff()
ili9325_WriteReg(LCD_REG_19, 0x0000); /* VDV[4:0] for VCOM amplitude*/
ili9325.c:231ili9325_DisplayOff()
ili9325_WriteReg(LCD_REG_41, 0x0000); /* VCM[4:0] for VCOMH */
ili9325.c:234ili9325_DisplayOff()
ili9325_WriteReg(LCD_REG_7, 0x0);
ili9325.c:276ili9325_SetCursor()
ili9325_WriteReg(LCD_REG_32, Ypos);
ili9325.c:277ili9325_SetCursor()
ili9325_WriteReg(LCD_REG_33, (ILI9325_LCD_PIXEL_WIDTH - 1 - Xpos));
ili9325.c:349ili9325_SetDisplayWindow()
ili9325_WriteReg(LCD_REG_80, (Ypos));
ili9325.c:351ili9325_SetDisplayWindow()
ili9325_WriteReg(LCD_REG_81, (Ypos + Height - 1));
ili9325.c:354ili9325_SetDisplayWindow()
ili9325.c:356ili9325_SetDisplayWindow()
ili9325_WriteReg(LCD_REG_83, ILI9325_LCD_PIXEL_WIDTH - Xpos - 1);
ili9325.c:401ili9325_DrawVLine()
ili9325_WriteReg(LCD_REG_3, 0x1010);
ili9325.c:421ili9325_DrawVLine()
ili9325_WriteReg(LCD_REG_3, 0x1018);
ili9325.c:445ili9325_DrawBitmap()
ili9325_WriteReg(LCD_REG_3, 0x1008);
ili9325.c:458ili9325_DrawBitmap()
ili9325_WriteReg(LCD_REG_3, 0x1018);

Call Tree

Functions calling ili9325_WriteReg()
Functions called by ili9325_WriteReg()
ili9325_WriteReg()
Data read by ili9325_WriteReg()
all items filtered out
ili9325_WriteReg()