9.1.3.3 Basic Setup Workflow

  1. Initialize the LCDCA clock:
    lcdca_clk_init();
    
  2. Configure the LCDCA module:
    lcdca_set_config(&lcdca_cfg);
    
  3. Enable the LCDCA module:
    lcdca_enable();
    
  4. Enable the frame counter timers:
    lcdca_enable_timer(LCDCA_TIMER_FC0);
    lcdca_enable_timer(LCDCA_TIMER_FC1);
    lcdca_enable_timer(LCDCA_TIMER_FC2);
    
  5. Turn on the LCD backlight:
    ioport_set_pin_level(LCD_BL_GPIO, IOPORT_PIN_LEVEL_HIGH);