/* This function gets the transparency status from DE_CONTROL register. It returns a double word with the transparent fields properly set, while other fields are 0.  */
unsigned long deGetTransparency(void)
/* This function gets the transparency status from DE_CONTROL register. It returns a double word with the transparent fields properly set, while other fields are 0.  */
unsigned long deGetTransparency(void)
{
	unsigned long de_ctrl;
	de_ctrl = SMTC_read2Dreg(DE_CONTROL);
	de_ctrl &=
	    FIELD_MASK(DE_CONTROL_TRANSPARENCY_MATCH) |
	    FIELD_MASK(DE_CONTROL_TRANSPARENCY_SELECT) |
	    FIELD_MASK(DE_CONTROL_TRANSPARENCY);
	return de_ctrl;
}