接口函数
| API | 芯片 | |
|---|---|---|
| GR551x | GR5526 | |
|
graphics_gpu_init |
N |
Y |
|
app_graphics_gpu_set_power_state |
N |
Y |
graphics_gpu_init
| 函数原型 |
uint16_t graphics_gpu_init(graphics_gpu_irq_event_notify evt_cb) |
|---|---|
| 功能说明 |
初始化GPU |
| 输入参数 |
evt_cb:用户自己实现的中断回调函数(若没有中断回调函数,此参数可以为NULL) |
| 返回值 |
APP_DRV_xxx:详见SDK_Folder\drivers\inc\app_drv_error.h宏定义 |
| 备注 |
app_graphics_gpu_set_power_state
| 函数原型 |
void app_graphics_gpu_set_power_state(graphics_gpu_power_state_e state) |
|---|---|
| 功能说明 |
配置GPU的电源模式 |
| 输入参数 |
state:GPU的电源模式,详见graphics_gpu_power_state_e |
| 返回值 | |
| 备注 |