- Disable SLCD and disable all the
previous running modes as given in
xpro_lcd_clear_all()
- Configure the NSEG and DEC values in
the Character Mapping Configuration register (CMCFG) as shown in Figure 2 as given in
slcd_character_map_set()
- Write the coordinate of a character
defined by the Character Mapping Index (CMINDEX) register
- Write the mask value in the Character
Mapping Data Mask register (CMDMASK)
- Write the CMDATA register with the
user character data
- Wait for character mapping write to
complete. Then the user can check the status by the Character Mapping Write Busy bit
in the Status register (STATUS.CMWRBUSY).
Note:
Any write access to the display memory through CMDATA/SDATA/ISDATA will
be ignored when STATUS.CMWRBUSY is high. Therefore, the user must not write to
CMDATA while STATUS.CMWRBUSY is asserted.