in the MSP430FR6989 what bits are set to “turn on” LCD_B1?  

Free

80.2K

Verified Solution

Question

Electrical Engineering

in the MSP430FR6989 what bits are set to “turn on”LCD_B1?  

Answer & Explanation Solved by verified expert
3.9 Ratings (635 Votes)

void init_LCD(void)

{

    LCDCCTL0 &= ~LCDON;                                 // LCD OFF condition

    LCDCCTL0 = LCDDIV_2 + LCDPRE__4 + LCD4MUX + LCDLP; // Freq_lcd = 512 Hz; Freq_frame = 64 Hz

    LCDCMEMCTL = LCDCLRM;                               // clr memory

    //LCDCVCTL = LCD2B;                                 // 1/3 bias

    LCDCPCTL0 = 0xFFFF;                                 // enable Segments

    LCDCPCTL1 = 0xFFFF;                                 // enable segments

    LCDCPCTL2 = 0x7FFF;                                 // enable segments

    LCDCCTL0 |= LCDON;                                  // Turn of LCD

}


Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students