![]() |
LibDriver GT30L32S4W
|
gt30l32s4w example driver modules More...
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 | |
gt30l32s4w example driver modules
| #define GT30L32S4W_BASIC_DEFAULT_MODE GT30L32S4W_MODE_READ |
gt30l32s4w basic example default definition
normal mode
Definition at line 56 of file driver_gt30l32s4w_basic.h.
gt30l32s4w basic type enumeration definition
| Enumerator | |
|---|---|
| GT30L32S4W_BASIC_TYPE_ARIAL | arial type |
| GT30L32S4W_BASIC_TYPE_TIMES | times type |
Definition at line 61 of file driver_gt30l32s4w_basic.h.
| uint8_t gt30l32s4w_basic_deinit | ( | void | ) |
basic example deinit
Definition at line 89 of file driver_gt30l32s4w_basic.c.
| uint8_t gt30l32s4w_basic_init | ( | void | ) |
basic example init
Definition at line 48 of file driver_gt30l32s4w_basic.c.
| uint8_t gt30l32s4w_basic_print_pattern | ( | gt30l32s4w_type_t | type, |
| uint8_t * | buf, | ||
| uint8_t | len ) |
basic example print pattern
| [in] | type | pattern type |
| [in] | *buf | pointer to an input buffer |
| [in] | len | buffer length |
Definition at line 110 of file driver_gt30l32s4w_basic.c.
| uint8_t gt30l32s4w_basic_read_12 | ( | uint16_t | ch, |
| uint8_t | buf[24], | ||
| uint8_t * | len ) |
basic example read 12
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
| [out] | *len | pointer to a length buffer |
Definition at line 131 of file driver_gt30l32s4w_basic.c.
| uint8_t gt30l32s4w_basic_read_16 | ( | uint16_t | ch, |
| uint8_t | buf[32], | ||
| uint8_t * | len ) |
basic example read 16
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
| [out] | *len | pointer to a length buffer |
Definition at line 191 of file driver_gt30l32s4w_basic.c.
| uint8_t gt30l32s4w_basic_read_24 | ( | uint16_t | ch, |
| uint8_t | buf[72], | ||
| uint8_t * | len ) |
basic example read 24
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
| [out] | *len | pointer to a length buffer |
Definition at line 262 of file driver_gt30l32s4w_basic.c.
| uint8_t gt30l32s4w_basic_read_32 | ( | uint16_t | ch, |
| uint8_t | buf[128], | ||
| uint8_t * | len ) |
basic example read 32
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
| [out] | *len | pointer to a length buffer |
Definition at line 322 of file driver_gt30l32s4w_basic.c.
| 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
| [in] | type | output type |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 422 of file driver_gt30l32s4w_basic.c.
| 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
| [in] | type | output type |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 456 of file driver_gt30l32s4w_basic.c.
| 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
| [in] | type | output type |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 490 of file driver_gt30l32s4w_basic.c.
| 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
| [in] | type | output type |
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 524 of file driver_gt30l32s4w_basic.c.
| uint8_t gt30l32s4w_basic_read_ascii_7 | ( | uint16_t | ch, |
| uint8_t | buf[8] ) |
read ascii 7
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 381 of file driver_gt30l32s4w_basic.c.
| uint8_t gt30l32s4w_basic_read_ascii_8 | ( | uint16_t | ch, |
| uint8_t | buf[8] ) |
read ascii 8
| [in] | ch | read char |
| [out] | *buf | pointer to an output buffer |
Definition at line 401 of file driver_gt30l32s4w_basic.c.