SUNGTAE KIM
/
WIZwiki-W7500_LoRa_Dust_Roadsign
Dust Display Road Sign using Lora Connectivity
JUTF43/kor_char_code.h@0:ee87c3246381, 2018-10-30 (annotated)
- Committer:
- stkim92
- Date:
- Tue Oct 30 06:26:12 2018 +0000
- Revision:
- 0:ee87c3246381
Dust Display Road Sign using LoRa Connectivity
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
stkim92 | 0:ee87c3246381 | 1 | /* |
stkim92 | 0:ee87c3246381 | 2 | * ---------------------------------------------------------------------------- |
stkim92 | 0:ee87c3246381 | 3 | * Header file for Korean character code conversion functions |
stkim92 | 0:ee87c3246381 | 4 | * written by Jungho Moon |
stkim92 | 0:ee87c3246381 | 5 | * ---------------------------------------------------------------------------- |
stkim92 | 0:ee87c3246381 | 6 | */ |
stkim92 | 0:ee87c3246381 | 7 | #include <stdint.h> |
stkim92 | 0:ee87c3246381 | 8 | |
stkim92 | 0:ee87c3246381 | 9 | #ifndef KOR_CHAR_CODE_H |
stkim92 | 0:ee87c3246381 | 10 | #define KOR_CHAR_CODE_H |
stkim92 | 0:ee87c3246381 | 11 | |
stkim92 | 0:ee87c3246381 | 12 | #define KOR_CHAR_CODE |
stkim92 | 0:ee87c3246381 | 13 | |
stkim92 | 0:ee87c3246381 | 14 | #ifdef KOR_CODE_GLOBALS |
stkim92 | 0:ee87c3246381 | 15 | #define KOR_CODE_EXT |
stkim92 | 0:ee87c3246381 | 16 | #else |
stkim92 | 0:ee87c3246381 | 17 | #define KOR_CODE extern |
stkim92 | 0:ee87c3246381 | 18 | #endif |
stkim92 | 0:ee87c3246381 | 19 | |
stkim92 | 0:ee87c3246381 | 20 | // global variables |
stkim92 | 0:ee87c3246381 | 21 | extern unsigned char table_initial[21]; |
stkim92 | 0:ee87c3246381 | 22 | extern unsigned char table_vowel[30]; |
stkim92 | 0:ee87c3246381 | 23 | extern unsigned char table_final[30]; |
stkim92 | 0:ee87c3246381 | 24 | extern unsigned char bul_initial[2][22]; |
stkim92 | 0:ee87c3246381 | 25 | extern unsigned char bul_final[22]; |
stkim92 | 0:ee87c3246381 | 26 | |
stkim92 | 0:ee87c3246381 | 27 | // function prototypes |
stkim92 | 0:ee87c3246381 | 28 | uint16_t korean_ks2kssm_converter(uint16_t); |
stkim92 | 0:ee87c3246381 | 29 | uint16_t korean_kssm2ks_converter(uint16_t); |
stkim92 | 0:ee87c3246381 | 30 | uint16_t korean_unicode2kssm_converter(uint16_t); |
stkim92 | 0:ee87c3246381 | 31 | uint16_t korean_unicode2ks_converter(uint16_t); |
stkim92 | 0:ee87c3246381 | 32 | #endif |
stkim92 | 0:ee87c3246381 | 33 |