/* Enable the specified LCDCA timer, and wait until it is running.  */
void lcdca_enable_timer(uint8_t lcd_timer)
/* Enable the specified LCDCA timer, and wait until it is running.  */
void lcdca_enable_timer(uint8_t lcd_timer)
{
	if (lcd_timer == LCDCA_TIMER_FC0) {
		LCDCA->LCDCA_CR = LCDCA_CR_FC0EN;
		while (!(LCDCA->LCDCA_SR & LCDCA_SR_FC0S)) {
		}
	} else if (lcd_timer == LCDCA_TIMER_FC1) {
		LCDCA->LCDCA_CR = LCDCA_CR_FC1EN;
		while (!(LCDCA->LCDCA_SR & LCDCA_SR_FC1S)) {
		}
	} else if (lcd_timer == LCDCA_TIMER_FC2) {
		LCDCA->LCDCA_CR = LCDCA_CR_FC2EN;
		while (!(LCDCA->LCDCA_SR & LCDCA_SR_FC2S)) {
		}
	}
}