22.2.6 lcd_set_alpha
Set the required layer alpha value.
static int32_t lcd_set_alpha(
uint8_t layer,
uint8_t val
)
This function set the required layer alpha value.
Parameters
- layer
-
Type: uint8_t
Index of layer, 0 for base layer.
- val
-
Type: uint8_t
Alpha value to be used. 255 for transparent and 0 for opaque.
Returns
Type: int32_t
Set status.