/* Set the callback for the LCDCA 'beginning of frame' interrupt.  */
void lcdca_set_callback(lcdca_callback_t callback, uint8_t irq_line, uint8_t irq_level)
/* Set the callback for the LCDCA 'beginning of frame' interrupt.  */
void lcdca_set_callback(lcdca_callback_t callback, uint8_t irq_line, uint8_t irq_level)
{
	lcdca_callback_pointer = callback;
	NVIC_ClearPendingIRQ((IRQn_Type)irq_line);
	NVIC_SetPriority((IRQn_Type)irq_line, irq_level);
	NVIC_EnableIRQ((IRQn_Type)irq_line);
	lcdca_enable_interrupt();
}