Header file containing functions prototypes of GPU app library. More...
#include "gr55xx.h"
#include "app_io.h"
#include "hal_gfx_regs.h"
#include "hal_gfx_core.h"
#include "app_rtos_cfg.h"
#include "graphics_sys_defs.h"
Go to the source code of this file.
Macros | |
#define | GRAPHICS_GPU_BASEADDR 0xA3FF0000 |
#define | GGPU_IRQ_EVT_CMD_LIST_END 0x01 |
#define | GGPU_IRQ_EVT_DRAW_CMD_END 0x02 |
#define | GGPU_IRQ_EVT_IRQ_ID_CLEAR 0x03 |
#define | GGPU_IRQ_EVT_OTHER 0x04 |
Typedefs | |
typedef void(* | graphics_gpu_irq_event_notify) (uint32_t evt) |
Enumerations | |
enum | graphics_gpu_power_state_e { GPU_POWER_STATE_SLEEP = 0, GPU_POWER_STATE_ACTIVE = 1 } |
GPU Power Mode Enumerations definition. More... | |
Functions | |
uint16_t | graphics_gpu_init (graphics_gpu_irq_event_notify evt_cb) |
GPU initialize. More... | |
void | graphics_gpu_deinit (void) |
GPU de-initialize. just called when needed to reboot/reset. More... | |
void | app_graphics_gpu_set_power_state (graphics_gpu_power_state_e state) |
Switch power state for GPU module. More... | |
Header file containing functions prototypes of GPU app library.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of GOODIX nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file app_graphics_gpu.h.