![]() |
LibDriver GT30L32S4W
|
driver gt30l32s4w header file More...
#include <stdio.h>#include <stdint.h>#include <string.h>Go to the source code of this file.
Data Structures | |
| struct | gt30l32s4w_handle_s |
| gt30l32s4w handle structure definition More... | |
| struct | gt30l32s4w_info_s |
| gt30l32s4w information structure definition More... | |
Macros | |
| #define | DRIVER_GT30L32S4W_LINK_INIT(HANDLE, STRUCTURE) |
| initialize gt30l32s4w_handle_t structure | |
| #define | DRIVER_GT30L32S4W_LINK_SPI_INIT(HANDLE, FUC) |
| link spi_init function | |
| #define | DRIVER_GT30L32S4W_LINK_SPI_DEINIT(HANDLE, FUC) |
| link spi_deinit function | |
| #define | DRIVER_GT30L32S4W_LINK_SPI_WRITE_READ(HANDLE, FUC) |
| link spi_write_read function | |
| #define | DRIVER_GT30L32S4W_LINK_DELAY_MS(HANDLE, FUC) |
| link delay_ms function | |
| #define | DRIVER_GT30L32S4W_LINK_DEBUG_PRINT(HANDLE, FUC) |
| link debug_print function | |
Typedefs | |
| typedef struct gt30l32s4w_handle_s | gt30l32s4w_handle_t |
| gt30l32s4w handle structure definition | |
| typedef struct gt30l32s4w_info_s | gt30l32s4w_info_t |
| gt30l32s4w information structure definition | |
Functions | |
| uint8_t | gt30l32s4w_info (gt30l32s4w_info_t *info) |
| get chip's information | |
| uint8_t | gt30l32s4w_set_mode (gt30l32s4w_handle_t *handle, gt30l32s4w_mode_t mode) |
| set mode | |
| uint8_t | gt30l32s4w_get_mode (gt30l32s4w_handle_t *handle, gt30l32s4w_mode_t *mode) |
| get mode | |
| uint8_t | gt30l32s4w_init (gt30l32s4w_handle_t *handle) |
| initialize the chip | |
| uint8_t | gt30l32s4w_deinit (gt30l32s4w_handle_t *handle) |
| close the chip | |
| uint8_t | gt30l32s4w_print_pattern (gt30l32s4w_handle_t *handle, gt30l32s4w_type_t type, uint8_t *buf, uint8_t len) |
| print pattern | |
| uint8_t | gt30l32s4w_read_char_12x12 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[24]) |
| read char 12x12 | |
| uint8_t | gt30l32s4w_read_char_15x16 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[32]) |
| read char 15x16 | |
| uint8_t | gt30l32s4w_read_char_24x24 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[72]) |
| read char 24x24 | |
| uint8_t | gt30l32s4w_read_char_32x32 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[128]) |
| read char 32x32 | |
| uint8_t | gt30l32s4w_read_char_extend_6x12 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[12]) |
| read char extend 6x12 | |
| uint8_t | gt30l32s4w_read_char_extend_8x16 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[16]) |
| read char extend 8x16 | |
| uint8_t | gt30l32s4w_read_char_special_8x16 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[16]) |
| read char special 8x16 | |
| uint8_t | gt30l32s4w_read_char_extend_12x24 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[48]) |
| read char extend 12x24 | |
| uint8_t | gt30l32s4w_read_char_extend_16x32 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[64]) |
| read char extend 16x32 | |
| uint8_t | gt30l32s4w_read_ascii_5x7 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[8]) |
| read ascii 5x7 | |
| uint8_t | gt30l32s4w_read_ascii_7x8 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[8]) |
| read ascii 7x8 | |
| uint8_t | gt30l32s4w_read_ascii_6x12 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[12]) |
| read ascii 6x12 | |
| uint8_t | gt30l32s4w_read_ascii_8x16 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[16]) |
| read ascii 8x16 | |
| uint8_t | gt30l32s4w_read_ascii_12x24 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[48]) |
| read ascii 12x24 | |
| uint8_t | gt30l32s4w_read_ascii_16x32 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[64]) |
| read ascii 16x32 | |
| uint8_t | gt30l32s4w_read_ascii_arial_12 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[26]) |
| read ascii arial 12 | |
| uint8_t | gt30l32s4w_read_ascii_times_12 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[26]) |
| read ascii times 12 | |
| uint8_t | gt30l32s4w_read_ascii_arial_16 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[34]) |
| read ascii arial 16 | |
| uint8_t | gt30l32s4w_read_ascii_times_16 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[34]) |
| read ascii times 16 | |
| uint8_t | gt30l32s4w_read_ascii_arial_24 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[74]) |
| read ascii arial 24 | |
| uint8_t | gt30l32s4w_read_ascii_times_24 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[74]) |
| read ascii times 24 | |
| uint8_t | gt30l32s4w_read_ascii_arial_32 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[130]) |
| read ascii arial 32 | |
| uint8_t | gt30l32s4w_read_ascii_times_32 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[130]) |
| read ascii times 32 | |
| uint8_t | gt30l32s4w_get_reg (gt30l32s4w_handle_t *handle, uint8_t *in_buf, uint32_t in_len, uint8_t *out_buf, uint32_t out_len) |
| get the chip register | |
driver gt30l32s4w header file
Copyright (c) 2015 - present LibDriver All rights reserved
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| Date | Version | Author | Description |
|---|---|---|---|
| 2023/09/15 | 1.0 | Shifeng Li | first upload |
Definition in file driver_gt30l32s4w.h.