Header file containing functions prototypes of Graphics library. More...
Go to the source code of this file.
Macros | |
| #define | HAL_GDC_MAGIC (0x87452365) |
| DC ID. More... | |
| #define | HAL_GDC_DBIB_STALL (1U << 31) |
| Specify MIPI DBI. More... | |
| #define | SPI_WRITE (2U) |
| Set to SPI Write CMD. More... | |
| #define | SPI_READ (3U) |
| Set to SPI Read CMD. More... | |
| #define | SPICMD (1U<<5U) |
| Special as SPI CMD. More... | |
| #define | QSPICMD (0U<<5U) |
| Special as QSPI CMD. More... | |
| #define | QSPIDATA (1U<<4U) |
| Special as QSPI DATA. More... | |
| #define | CMD_OFFSET (8U) |
| offset for command More... | |
| #define | CMD1_DATA1 (SPI_WRITE) |
| Send cmd in 1-wire and data in 1-wire. More... | |
| #define | CMD1_DATA4 (SPICMD|QSPIDATA|SPI_WRITE) |
| Send cmd in 1-wire and data in 4-wire. More... | |
| #define | CMD4_DATA4 (QSPICMD|QSPIDATA|SPI_WRITE) |
| Send cmd in 4-wire and data in 4-wire. More... | |
| #define | CMD1_RDAT1 (SPI_READ) |
| Read cmd in 1-wire and data in 1-wire. More... | |
Header file containing functions prototypes of Graphics library.
All rights reserved.
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 hal_gdc_intern.h.