Differences

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

Link to this comparison view

Next revision
Previous revision
ctboard:peripherals:lcd_bin [2016/02/25 13:32] – created feurctboard:peripherals:lcd_bin [2022/12/23 12:22] (current) ruan
Line 4: Line 4:
 A maximum of 128 bits can be displayed. \\ \\ A maximum of 128 bits can be displayed. \\ \\
  
-> {{ctboard:ctboard_mode_1.svg?48px }} {{ctboard:ctboard_mode_2.svg?48px }} {{ctboard:ctboard_mode_3.svg?48px }} Please make sure the CT Board is in the correct mode. +> {{ctboard:ctboard_mode_1.svg?48px }} {{ctboard:ctboard_mode_2.svg?48px }} {{ctboard:ctboard_mode_3.svg?48px }} {{ctboard:ctboard_mode_4.svg?48px }} Please make sure the CT Board is in the correct mode. 
-> Supported [[ctboard:mode_switch|modes]]: **1**, **2**, **3** +> 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>
 \\ \\
  
 <code asm> <code asm>
-ADDR_LCD_BIN    EQU      0x60000320+ADDR_LCD_BIN    EQU      0x60000330
                                  
                 LDR      r0, =ADDR_LCD_BIN                 LDR      r0, =ADDR_LCD_BIN
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.svg}} \\ \\ 
- 
-===== Display Positions ===== 
- 
-\\ {{ctboard_lcd_bin.svg?700em}} \\ \\ 
  • ctboard/peripherals/lcd_bin.1456407154.txt.gz
  • Last modified: 2016/02/25 13:32
  • by feur