/* Read the value of a specific register in the controller. 
Use this function to get the value of a specific register in the display controller. */
uint8_t hx8347a_read_register(uint8_t address)
/* Read the value of a specific register in the controller. 
Use this function to get the value of a specific register in the display controller. */
uint8_t hx8347a_read_register(uint8_t address)
{
	uint8_t value;
	hx8347a_select_register(address);
	hx8347a_select_chip();
	hx8347a_send_byte(HX8347A_START_READREG);
	value = hx8347a_read_byte();
	hx8347a_deselect_chip();
	return value;
}