Using a pin in a 4-pin LCD group for non-LCD functionality

by <a href="http://community.silabs.com/t5/Welcome-and-Announcements/Community-Ranking-System-and-Recognition-Program/m-p/140490#U140490"><font color="#000000"><font size="2">Hero Employee</font></font> </a> Stephen on ‎12-12-2016 03:03 PM - edited on ‎07-10-2017 08:33 PM by <a href="http://community.silabs.com/t5/Welcome-and-Announcements/Community-Ranking-System-and-Recognition-Program/m-p/140490#U140490"><font color="#000000"><font size="2">Master Employee</font></font> </a> delu

Question

Can I use a pin in a 4-pin LCD group for non-LCD functionality, such as a general purpose input? 

Answer

Yes, it is possible to use a pin in a 4-pin LCD group for non-LCD functionality. 

See the LCD_SEGEN register definition in the reference manual:

"Determines which segment lines are enabled. Each bit represents a group of 4 segment lines. To enable segment lines X to X+3 [...]

Each LCD segment pin can also be individually disabled by setting the pin to any other state than DISABLED in the GPIO pin configuration."