LibDriver GT30L32S4W
Loading...
Searching...
No Matches
driver_gt30l32s4w_basic.h File Reference

driver gt30l32s4w basic header file More...

Include dependency graph for driver_gt30l32s4w_basic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GT30L32S4W_BASIC_DEFAULT_MODE   GT30L32S4W_MODE_READ
 gt30l32s4w basic example default definition

Enumerations

enum  gt30l32s4w_basic_type_t { GT30L32S4W_BASIC_TYPE_ARIAL = 0x00 , GT30L32S4W_BASIC_TYPE_TIMES = 0x01 }
 gt30l32s4w basic type enumeration definition More...

Functions

uint8_t gt30l32s4w_basic_init (void)
 basic example init
uint8_t gt30l32s4w_basic_deinit (void)
 basic example deinit
uint8_t gt30l32s4w_basic_print_pattern (gt30l32s4w_type_t type, uint8_t *buf, uint8_t len)
 basic example print pattern
uint8_t gt30l32s4w_basic_read_12 (uint16_t ch, uint8_t buf[24], uint8_t *len)
 basic example read 12
uint8_t gt30l32s4w_basic_read_16 (uint16_t ch, uint8_t buf[32], uint8_t *len)
 basic example read 16
uint8_t gt30l32s4w_basic_read_24 (uint16_t ch, uint8_t buf[72], uint8_t *len)
 basic example read 24
uint8_t gt30l32s4w_basic_read_32 (uint16_t ch, uint8_t buf[128], uint8_t *len)
 basic example read 32
uint8_t gt30l32s4w_basic_read_ascii_7 (uint16_t ch, uint8_t buf[8])
 read ascii 7
uint8_t gt30l32s4w_basic_read_ascii_8 (uint16_t ch, uint8_t buf[8])
 read ascii 8
uint8_t gt30l32s4w_basic_read_ascii_12_with_length (gt30l32s4w_basic_type_t type, uint16_t ch, uint8_t buf[26])
 read ascii 12 with length
uint8_t gt30l32s4w_basic_read_ascii_16_with_length (gt30l32s4w_basic_type_t type, uint16_t ch, uint8_t buf[34])
 read ascii 16 with length
uint8_t gt30l32s4w_basic_read_ascii_24_with_length (gt30l32s4w_basic_type_t type, uint16_t ch, uint8_t buf[74])
 read ascii 24 with length
uint8_t gt30l32s4w_basic_read_ascii_32_with_length (gt30l32s4w_basic_type_t type, uint16_t ch, uint8_t buf[130])
 read ascii 32 with length

Detailed Description

driver gt30l32s4w basic 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.

Version
1.0.0
Author
Shifeng Li
Date
2023-09-15

history

Date Version Author Description
2023/09/15 1.0 Shifeng Li first upload

Definition in file driver_gt30l32s4w_basic.h.