/* Helper function for easier register access. 
Use this function to clear specific bits in the controller registers. */
void hx8347a_clear_register(uint8_t address, uint8_t bitmask)
/* Helper function for easier register access. 
Use this function to clear specific bits in the controller registers. */
void hx8347a_clear_register(uint8_t address, uint8_t bitmask)
{
	uint8_t value;
	value = hx8347a_read_register(address);
	value &= ~bitmask;
	hx8347a_write_register(address, value);
}