![]() |
LibDriver GT30L32S4W
|
gt30l32s4w base driver modules More...
Data Structures | |
| struct | gt30l32s4w_handle_s |
| gt30l32s4w handle structure definition More... | |
| struct | gt30l32s4w_info_s |
| gt30l32s4w information structure definition More... | |
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 | |
gt30l32s4w base driver modules
| typedef struct gt30l32s4w_handle_s gt30l32s4w_handle_t |
gt30l32s4w handle structure definition
| typedef struct gt30l32s4w_info_s gt30l32s4w_info_t |
gt30l32s4w information structure definition
| enum gt30l32s4w_mode_t |
gt30l32s4w mode enumeration definition
| Enumerator | |
|---|---|
| GT30L32S4W_MODE_READ | read data bytes |
| GT30L32S4W_MODE_FAST_MODE | read data bytes at higher speed |
Definition at line 62 of file driver_gt30l32s4w.h.
| enum gt30l32s4w_type_t |
gt30l32s4w type enumeration definition
Definition at line 71 of file driver_gt30l32s4w.h.
| uint8_t gt30l32s4w_deinit | ( | gt30l32s4w_handle_t * | handle | ) |
close the chip
| [in] | *handle | pointer to a gt30l32s4w handle structure |
Definition at line 219 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_get_mode | ( | gt30l32s4w_handle_t * | handle, |
| gt30l32s4w_mode_t * | mode ) |
get mode
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [out] | *mode | pointer to a mode buffer |
Definition at line 277 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_info | ( | gt30l32s4w_info_t * | info | ) |
get chip's information
| [out] | *info | pointer to a gt30l32s4w info structure |
Definition at line 2290 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_init | ( | gt30l32s4w_handle_t * | handle | ) |
initialize the chip
| [in] | *handle | pointer to a gt30l32s4w handle structure |
Definition at line 141 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_print_pattern | ( | gt30l32s4w_handle_t * | handle, |
| gt30l32s4w_type_t | type, | ||
| uint8_t * | buf, | ||
| uint8_t | len ) |
print pattern
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | type | pattern type |
| [in] | *buf | pointer to an input buffer |
| [in] | len | buffer length |
Definition at line 1459 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_ascii_12x24 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[48] ) |
read ascii 12x24
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 978 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_ascii_16x32 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[64] ) |
read ascii 16x32
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 1026 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_ascii_5x7 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[8] ) |
read ascii 5x7
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 786 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_ascii_6x12 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[12] ) |
read ascii 6x12
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 882 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_ascii_7x8 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[8] ) |
read ascii 7x8
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 834 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_ascii_8x16 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[16] ) |
read ascii 8x16
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 930 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_ascii_arial_12 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[26] ) |
read ascii arial 12
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 1074 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_ascii_arial_16 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[34] ) |
read ascii arial 16
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 1170 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_ascii_arial_24 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[74] ) |
read ascii arial 24
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 1266 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_ascii_arial_32 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[130] ) |
read ascii arial 32
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 1362 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_ascii_times_12 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[26] ) |
read ascii times 12
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 1122 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_ascii_times_16 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[34] ) |
read ascii times 16
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 1218 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_ascii_times_24 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[74] ) |
read ascii times 24
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 1314 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_ascii_times_32 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[130] ) |
read ascii times 32
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 1410 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_char_12x12 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[24] ) |
read char 12x12
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 306 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_char_15x16 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[32] ) |
read char 15x16
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 362 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_char_24x24 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[72] ) |
read char 24x24
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 418 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_char_32x32 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[128] ) |
read char 32x32
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 474 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_char_extend_12x24 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[48] ) |
read char extend 12x24
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 682 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_char_extend_16x32 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[64] ) |
read char extend 16x32
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 734 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_char_extend_6x12 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[12] ) |
read char extend 6x12
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 530 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_char_extend_8x16 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[16] ) |
read char extend 8x16
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 582 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_read_char_special_8x16 | ( | gt30l32s4w_handle_t * | handle, |
| uint16_t | ch, | ||
| uint8_t | buf[16] ) |
read char special 8x16
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 634 of file driver_gt30l32s4w.c.
| uint8_t gt30l32s4w_set_mode | ( | gt30l32s4w_handle_t * | handle, |
| gt30l32s4w_mode_t | mode ) |
set mode
| [in] | *handle | pointer to a gt30l32s4w handle structure |
| [in] | mode | set mode |
Definition at line 251 of file driver_gt30l32s4w.c.