SUNGTAE KIM
/
WIZwiki-W7500_LoRa_Dust_Roadsign
Dust Display Road Sign using Lora Connectivity
Diff: JUTF43/kor_char_code.h
- Revision:
- 0:ee87c3246381
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/JUTF43/kor_char_code.h Tue Oct 30 06:26:12 2018 +0000 @@ -0,0 +1,33 @@ +/* + * ---------------------------------------------------------------------------- + * Header file for Korean character code conversion functions + * written by Jungho Moon + * ---------------------------------------------------------------------------- + */ + #include <stdint.h> + +#ifndef KOR_CHAR_CODE_H +#define KOR_CHAR_CODE_H + +#define KOR_CHAR_CODE + +#ifdef KOR_CODE_GLOBALS +#define KOR_CODE_EXT +#else +#define KOR_CODE extern +#endif + +// global variables +extern unsigned char table_initial[21]; +extern unsigned char table_vowel[30]; +extern unsigned char table_final[30]; +extern unsigned char bul_initial[2][22]; +extern unsigned char bul_final[22]; + +// function prototypes +uint16_t korean_ks2kssm_converter(uint16_t); +uint16_t korean_kssm2ks_converter(uint16_t); +uint16_t korean_unicode2kssm_converter(uint16_t); +uint16_t korean_unicode2ks_converter(uint16_t); +#endif +