This is an old revision of the document!


LCD ASCII Interface

Every position on the LCD corresponds to an address. See below for the realation.

Please make sure the CT Board is in the correct mode.
Supported modes: 1, 2, 3


The code snippet bellow shows how to use the ASCII interface of the LCD.

#include "reg_ctboard.h"
 
CT_LCD->ASCII[13u] = (uint16_t) ascii_char;    /* Write ascii_char at position 13 on the LCD. */


ADDR_LCD_ASCII  EQU      0x60000300
 
                LDR      r0, =ADDR_LCD_ASCII
                LDR      r1, "E"                          ; Load value of ASCII char 'E' into r2.                
                STRH     r1, [r0, #13]                    ; Write 'E' at position 13 on the LCD.


The Registers are write only.







Base address: 0x6000'0300

  • ctboard/peripherals/lcd_ascii.1465383140.txt.gz
  • Last modified: 2016/06/08 10:52
  • by feur