Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
ctboard:peripherals:lcd_bin [2016/06/08 11:01] – [Binary Interface] feurctboard:peripherals:lcd_bin [2022/12/23 12:22] (current) ruan
Line 7: Line 7:
 > Supported [[ctboard:mode_switch|modes]]: **1**, **2**, **3**, **4**  > Supported [[ctboard:mode_switch|modes]]: **1**, **2**, **3**, **4** 
 \\ \\
 +
 +===== Registers =====
 +
 +The Registers are read / write.
 +
 +\\ {{ctboard_lcd_bin_reg_new.svg}} \\ \\
 +
 +===== Display Positions =====
 +
 +\\ {{ctboard_lcd_bin_new.svg?700em}} \\ \\
 +
 +Base address: 0x6000'0330
  
 ===== Programming Example ===== ===== Programming Example =====
Line 18: Line 30:
 CT_LCD->BIN.HWORD.B31_16 = (uint16_t) data_halfword;   /* Write halfword of data to LCD. */ CT_LCD->BIN.HWORD.B31_16 = (uint16_t) data_halfword;   /* Write halfword of data to LCD. */
 CT_LCD->BIN.WORD.B63_32 = (uint32_t) data_word;        /* Write word of data to LCD. */ CT_LCD->BIN.WORD.B63_32 = (uint32_t) data_word;        /* Write word of data to LCD. */
-CT_LCD->BIN.DWORD = (uint64_t) data_doubleword;        /* Write doubleword of data to LCD. */ 
 </code> </code>
 \\ \\
Line 29: Line 40:
                 STRH     r1, [r0, #2]                  ; Write halfword of data to LCD.                 STRH     r1, [r0, #2]                  ; Write halfword of data to LCD.
                 STR      r1, [r0, #4]                  ; Write word of data to LCD.                 STR      r1, [r0, #4]                  ; Write word of data to LCD.
-                STRD     r1, [r0, #0]                  ; Write doubleword of data to LCD. 
 </code> </code>
 \\ \\
- 
-===== Registers ===== 
- 
-The Registers are read / write. 
- 
-\\ {{ctboard_lcd_bin_reg_new.svg}} \\ \\ 
- 
-===== Display Positions ===== 
- 
-\\ {{ctboard_lcd_bin_new.svg?700em}} \\ \\ 
- 
-Base address: 0x6000'0330 
  • ctboard/peripherals/lcd_bin.1465383677.txt.gz
  • Last modified: 2016/06/08 11:01
  • by feur