| LibDriver GT30L32S4W 1.0.0 GT30L32S4W full function driver

Macros | Functions
driver_gt30l32s4w.c File Reference

driver gt30l32s4w source file More...

`#include "driver_gt30l32s4w.h"`

Go to the source code of this file.

## Macros
#define | CHIP_NAME "Genitop GT30L32S4W"
| chip information definition More...
#define | MANUFACTURER_NAME "Genitop"
#define | SUPPLY_VOLTAGE_MIN 2.7f
#define | SUPPLY_VOLTAGE_MAX 3.3f
#define | MAX_CURRENT 20.0f
#define | TEMPERATURE_MIN -40.0f
#define | TEMPERATURE_MAX 85.0f
#define | DRIVER_VERSION 1000
#define | GT30L32S4W_ADDRESS_12X12_GB2312 0x00000
| chip address definition More...
#define | GT30L32S4W_ADDRESS_15X16_GB2312 0x2C9D0
#define | GT30L32S4W_ADDRESS_24X24_GB2312 0x68190
#define | GT30L32S4W_ADDRESS_32X32_GB2312 0xEDF00
#define | GT30L32S4W_ADDRESS_6X12_GB2312 0x1DBE0C
#define | GT30L32S4W_ADDRESS_6X12_ASCII 0x1DBE00
#define | GT30L32S4W_ADDRESS_12_ARIAL_ASCII 0x1DC400
#define | GT30L32S4W_ADDRESS_12_TIMES_ASCII 0x1DCDC0
#define | GT30L32S4W_ADDRESS_8X16_GB2312 0x1DD790
#define | GT30L32S4W_ADDRESS_8X16_ASCII 0x1DD780
#define | GT30L32S4W_ADDRESS_5X7_ASCII 0x1DDF80
#define | GT30L32S4W_ADDRESS_7X8_ASCII 0x1DE280
#define | GT30L32S4W_ADDRESS_16_ARIAL_ASCII 0x1DE580
#define | GT30L32S4W_ADDRESS_16_TIMES_ASCII 0x1DF240
#define | GT30L32S4W_ADDRESS_12X24_GB2312 0x1DFF30
#define | GT30L32S4W_ADDRESS_12X24_ASCII 0x1DFF00
#define | GT30L32S4W_ADDRESS_24_ARIAL_ASCII 0x1E22D0
#define | GT30L32S4W_ADDRESS_24_TIMES_ASCII 0x1E3E90
#define | GT30L32S4W_ADDRESS_16X32_GB2312 0x1E5A90
#define | GT30L32S4W_ADDRESS_16X32_ASCII 0x1E5A50
#define | GT30L32S4W_ADDRESS_32_ARIAL_ASCII 0x1E99D0
#define | GT30L32S4W_ADDRESS_32_TIMES_ASCII 0x1ECA90
#define | GT30L32S4W_ADDRESS_8X16_GB2312_SP 0x1F2880

## Functions
uint8_t | gt30l32s4w_init (gt30l32s4w_handle_t *handle)
| initialize the chip More...
uint8_t | gt30l32s4w_deinit (gt30l32s4w_handle_t *handle)
| close the chip More...
uint8_t | gt30l32s4w_set_mode (gt30l32s4w_handle_t *handle, gt30l32s4w_mode_t mode)
| set mode More...
uint8_t | gt30l32s4w_get_mode (gt30l32s4w_handle_t *handle, gt30l32s4w_mode_t *mode)
| get mode More...
uint8_t | gt30l32s4w_read_char_12x12 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[24])
| read char 12x12 More...
uint8_t | gt30l32s4w_read_char_15x16 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[32])
| read char 15x16 More...
uint8_t | gt30l32s4w_read_char_24x24 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[72])
| read char 24x24 More...
uint8_t | gt30l32s4w_read_char_32x32 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[128])
| read char 32x32 More...
uint8_t | gt30l32s4w_read_char_extend_6x12 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[12])
| read char extend 6x12 More...
uint8_t | gt30l32s4w_read_char_extend_8x16 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[16])
| read char extend 8x16 More...
uint8_t | gt30l32s4w_read_char_special_8x16 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[16])
| read char special 8x16 More...
uint8_t | gt30l32s4w_read_char_extend_12x24 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[48])
| read char extend 12x24 More...
uint8_t | gt30l32s4w_read_char_extend_16x32 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[64])
| read char extend 16x32 More...
uint8_t | gt30l32s4w_read_ascii_5x7 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[8])
| read ascii 5x7 More...
uint8_t | gt30l32s4w_read_ascii_7x8 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[8])
| read ascii 7x8 More...
uint8_t | gt30l32s4w_read_ascii_6x12 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[12])
| read ascii 6x12 More...
uint8_t | gt30l32s4w_read_ascii_8x16 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[16])
| read ascii 8x16 More...
uint8_t | gt30l32s4w_read_ascii_12x24 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[48])
| read ascii 12x24 More...
uint8_t | gt30l32s4w_read_ascii_16x32 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[64])
| read ascii 16x32 More...
uint8_t | gt30l32s4w_read_ascii_arial_12 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[26])
| read ascii arial 12 More...
uint8_t | gt30l32s4w_read_ascii_times_12 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[26])
| read ascii times 12 More...
uint8_t | gt30l32s4w_read_ascii_arial_16 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[34])
| read ascii arial 16 More...
uint8_t | gt30l32s4w_read_ascii_times_16 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[34])
| read ascii times 16 More...
uint8_t | gt30l32s4w_read_ascii_arial_24 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[74])
| read ascii arial 24 More...
uint8_t | gt30l32s4w_read_ascii_times_24 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[74])
| read ascii times 24 More...
uint8_t | gt30l32s4w_read_ascii_arial_32 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[130])
| read ascii arial 32 More...
uint8_t | gt30l32s4w_read_ascii_times_32 (gt30l32s4w_handle_t *handle, uint16_t ch, uint8_t buf[130])
| read ascii times 32 More...
uint8_t | gt30l32s4w_print_pattern (gt30l32s4w_handle_t *handle, gt30l32s4w_type_t type, uint8_t *buf, uint8_t len)
| print pattern More...
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 More...
uint8_t | gt30l32s4w_info (gt30l32s4w_info_t *info)
| get chip's information More...

## Detailed Description

driver gt30l32s4w source 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.c.

## Macro Definition Documentation

## ◆ CHIP_NAME

#define CHIP_NAME "Genitop GT30L32S4W"

chip information definition

chip name

Definition at line 42 of file driver_gt30l32s4w.c.

## ◆ DRIVER_VERSION

#define DRIVER_VERSION 1000

driver version

Definition at line 49 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_12_ARIAL_ASCII

#define GT30L32S4W_ADDRESS_12_ARIAL_ASCII 0x1DC400

12 arial ascii

Definition at line 60 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_12_TIMES_ASCII

#define GT30L32S4W_ADDRESS_12_TIMES_ASCII 0x1DCDC0

12 times ascii

Definition at line 61 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_12X12_GB2312

#define GT30L32S4W_ADDRESS_12X12_GB2312 0x00000

chip address definition

12x12 gb2312

Definition at line 54 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_12X24_ASCII

#define GT30L32S4W_ADDRESS_12X24_ASCII 0x1DFF00

12x24 ascii

Definition at line 69 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_12X24_GB2312

#define GT30L32S4W_ADDRESS_12X24_GB2312 0x1DFF30

12x24 gb2312

Definition at line 68 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_15X16_GB2312

#define GT30L32S4W_ADDRESS_15X16_GB2312 0x2C9D0

15x16 gb2312

Definition at line 55 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_16_ARIAL_ASCII

#define GT30L32S4W_ADDRESS_16_ARIAL_ASCII 0x1DE580

16 arial ascii

Definition at line 66 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_16_TIMES_ASCII

#define GT30L32S4W_ADDRESS_16_TIMES_ASCII 0x1DF240

16 times ascii

Definition at line 67 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_16X32_ASCII

#define GT30L32S4W_ADDRESS_16X32_ASCII 0x1E5A50

16x32 ascii

Definition at line 73 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_16X32_GB2312

#define GT30L32S4W_ADDRESS_16X32_GB2312 0x1E5A90

16x32 gb2312

Definition at line 72 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_24_ARIAL_ASCII

#define GT30L32S4W_ADDRESS_24_ARIAL_ASCII 0x1E22D0

24 arial ascii

Definition at line 70 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_24_TIMES_ASCII

#define GT30L32S4W_ADDRESS_24_TIMES_ASCII 0x1E3E90

24 times ascii

Definition at line 71 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_24X24_GB2312

#define GT30L32S4W_ADDRESS_24X24_GB2312 0x68190

24x24 gb2312

Definition at line 56 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_32_ARIAL_ASCII

#define GT30L32S4W_ADDRESS_32_ARIAL_ASCII 0x1E99D0

32 arial ascii

Definition at line 74 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_32_TIMES_ASCII

#define GT30L32S4W_ADDRESS_32_TIMES_ASCII 0x1ECA90

32 times ascii

Definition at line 75 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_32X32_GB2312

#define GT30L32S4W_ADDRESS_32X32_GB2312 0xEDF00

32x32 gb2312

Definition at line 57 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_5X7_ASCII

#define GT30L32S4W_ADDRESS_5X7_ASCII 0x1DDF80

5x7 ascii

Definition at line 64 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_6X12_ASCII

#define GT30L32S4W_ADDRESS_6X12_ASCII 0x1DBE00

6x12 ascii

Definition at line 59 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_6X12_GB2312

#define GT30L32S4W_ADDRESS_6X12_GB2312 0x1DBE0C

6x12 gb2312

Definition at line 58 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_7X8_ASCII

#define GT30L32S4W_ADDRESS_7X8_ASCII 0x1DE280

7x8 ascii

Definition at line 65 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_8X16_ASCII

#define GT30L32S4W_ADDRESS_8X16_ASCII 0x1DD780

8x16 ascii

Definition at line 63 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_8X16_GB2312

#define GT30L32S4W_ADDRESS_8X16_GB2312 0x1DD790

8x16 gb2312

Definition at line 62 of file driver_gt30l32s4w.c.

## ◆ GT30L32S4W_ADDRESS_8X16_GB2312_SP

#define GT30L32S4W_ADDRESS_8X16_GB2312_SP 0x1F2880

8x16 gb2312 special

Definition at line 76 of file driver_gt30l32s4w.c.

## ◆ MANUFACTURER_NAME

#define MANUFACTURER_NAME "Genitop"

manufacturer name

Definition at line 43 of file driver_gt30l32s4w.c.

## ◆ MAX_CURRENT

#define MAX_CURRENT 20.0f

chip max current

Definition at line 46 of file driver_gt30l32s4w.c.

## ◆ SUPPLY_VOLTAGE_MAX

#define SUPPLY_VOLTAGE_MAX 3.3f

chip max supply voltage

Definition at line 45 of file driver_gt30l32s4w.c.

## ◆ SUPPLY_VOLTAGE_MIN

#define SUPPLY_VOLTAGE_MIN 2.7f

chip min supply voltage

Definition at line 44 of file driver_gt30l32s4w.c.

## ◆ TEMPERATURE_MAX

#define TEMPERATURE_MAX 85.0f

chip max operating temperature

Definition at line 48 of file driver_gt30l32s4w.c.

## ◆ TEMPERATURE_MIN

#define TEMPERATURE_MIN -40.0f

chip min operating temperature

Definition at line 47 of file driver_gt30l32s4w.c.